Displaying 1 result from an estimated 1 matches for "account_tdb".
Did you mean:
account_id
2003 Sep 27
0
Samba 3(PDC) + winbind, anyone has it working ?
...wb_getpwnam is called with the domain
stripped(again confirmed by the winbindd log). So it
would call wb_getpwnam("root"). Below is the
wb_getpwnam function in winbindd_acct.c
WINBINDD_PW* wb_getpwnam( const char * name )
{
char *keystr;
TDB_DATA data;
static WINBINDD_PW *pw;
if ( !account_tdb && !winbindd_accountdb_init() ) {
DEBUG(0,("wb_getpwnam: Failed to open winbindd
account db\n"));
return NULL;
}
keystr = acct_userkey_byname( name );
data = tdb_fetch_bystring( account_tdb, keystr );
pw = NULL;
if ( data.dptr ) {
pw = string2passwd( data.dptr );...