summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_tdb.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-01-26 01:52:52 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-01-26 01:52:52 +0000
commit8a05b8c53f217b0536956687863c8afe5ff103b2 (patch)
tree852dc2d8156df884f58d8a7e4ba6fef68db39b74 /source3/passdb/pdb_tdb.c
parent5b0dca4998837231b931aa9a4a546079454d780e (diff)
downloadsamba-8a05b8c53f217b0536956687863c8afe5ff103b2.tar.gz
samba-8a05b8c53f217b0536956687863c8afe5ff103b2.tar.bz2
samba-8a05b8c53f217b0536956687863c8afe5ff103b2.zip
Add some information tidbits to an error DEBUG().
(This used to be commit 3db417c2ebfda0d5872dee39e36edc4fb6299b9a)
Diffstat (limited to 'source3/passdb/pdb_tdb.c')
-rw-r--r--source3/passdb/pdb_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c
index 5fdf348e15..1237408840 100644
--- a/source3/passdb/pdb_tdb.c
+++ b/source3/passdb/pdb_tdb.c
@@ -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;