summaryrefslogtreecommitdiff
path: root/source3/passdb/passdb.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-07-11 19:15:53 +0000
committerLuke Leighton <lkcl@samba.org>1999-07-11 19:15:53 +0000
commit4820c47801e381e23807f5cb117912c1de0b7aa9 (patch)
treeba754190cc7bc297a0e642cf3edeceb8ea1398c3 /source3/passdb/passdb.c
parentd244f2d1c8b50b231abe490ebbad054bc5789407 (diff)
downloadsamba-4820c47801e381e23807f5cb117912c1de0b7aa9.tar.gz
samba-4820c47801e381e23807f5cb117912c1de0b7aa9.tar.bz2
samba-4820c47801e381e23807f5cb117912c1de0b7aa9.zip
NULL pwdb_xxx_map_names() parameter can be passed here (which is a bug
anyway!) (This used to be commit 91d5bda9ad22c922a918f0942dcbff04202b9991)
Diffstat (limited to 'source3/passdb/passdb.c')
-rw-r--r--source3/passdb/passdb.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 3cb083bb76..6579d14351 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -276,16 +276,17 @@ struct smb_passwd *pwdb_smb_map_names(struct smb_passwd *smb)
static fstring unix_name;
static fstring nt_name;
- DEBUG(10,("pwdb_smb_map_names: unix %s nt %s unix %d nt%d\n",
- smb->unix_name != NULL ? smb->unix_name : "NULL",
- smb->nt_name != NULL ? smb->nt_name : "NULL",
- smb->unix_uid, smb->user_rid));
-
if (smb == NULL)
{
+ DEBUG(10,("pwdb_smb_map_names: NULL\n"));
return NULL;
}
+ DEBUG(10,("pwdb_smb_map_names: unix %s nt %s unix %d nt%d\n",
+ smb->unix_name != NULL ? smb->unix_name : "NULL",
+ smb->nt_name != NULL ? smb->nt_name : "NULL",
+ smb->unix_uid, smb->user_rid));
+
if (smb->unix_name == NULL && smb->nt_name == NULL &&
smb->unix_uid == (uid_t)-1 && smb->user_rid == 0xffffffff)
{