search for: tdb_fetch_bystring

Displaying 2 results from an estimated 2 matches for "tdb_fetch_bystring".

Did you mean: tdb_fetch_by_string
2007 May 15
1
Samba 3.0.25 plugin changes
.../util_tdb.h:53: error: syntax error before '*' token ../../source/include/util_tdb.h:58: error: syntax error before "TDB_DATA" ../../source/include/util_tdb.h:60: error: syntax error before "TDB_DATA" ../../source/include/util_tdb.h:61: error: syntax error before "tdb_fetch_bystring" ../../source/include/util_tdb.h:61: warning: type defaults to `int' in declaration of `tdb_fetch_bystring' ../../source/include/util_tdb.h:61: warning: data definition has no type or storage class ../../source/include/util_tdb.h:67: error: syntax error before "make_tdb_data...
2003 Sep 27
0
Samba 3(PDC) + winbind, anyone has it working ?
...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 ); SAFE_FREE( data.dptr ); } DEBUG(5,("wb_getpwnam: %s user (%s)\n", (pw ? "Found" : "Did not find"), name )); return pw; } ========================================== I...