mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Add some information tidbits to an error DEBUG().
(This used to be commit 3db417c2eb
)
This commit is contained in:
parent
5b0dca4998
commit
8a05b8c53f
@ -625,7 +625,7 @@ static BOOL tdbsam_getsampwrid (struct pdb_context *context, SAM_ACCOUNT *user,
|
||||
/* get the record */
|
||||
data = tdb_fetch (pwd_tdb, key);
|
||||
if (!data.dptr) {
|
||||
DEBUG(5,("pdb_getsampwrid (TDB): error fetching database.\n"));
|
||||
DEBUG(5,("pdb_getsampwrid (TDB): error looking up RID %d by key %s.\n", rid, keystr));
|
||||
DEBUGADD(5, (" Error: %s\n", tdb_errorstr(pwd_tdb)));
|
||||
tdb_close (pwd_tdb);
|
||||
return False;
|
||||
|
Loading…
Reference in New Issue
Block a user