summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-11-14 00:34:14 +0100
committerMichael Adam <obnox@samba.org>2009-11-14 01:27:45 +0100
commit3b7448de1468dd86d101972bce40e4931fa2d1c3 (patch)
treef9e1133a1a932acb312919e690c864199afd6fe5 /source3
parentec49f28a52a67ba7afc3357d638a1d932cd2b474 (diff)
downloadsamba-3b7448de1468dd86d101972bce40e4931fa2d1c3.tar.gz
samba-3b7448de1468dd86d101972bce40e4931fa2d1c3.tar.bz2
samba-3b7448de1468dd86d101972bce40e4931fa2d1c3.zip
s3:pdb_default_uid_to_sid: fix some debug statements.
Michael
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index 5d0b625da5..b5d55bc3eb 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/passdb/pdb_interface.c
@@ -1200,13 +1200,13 @@ static bool pdb_default_uid_to_sid(struct pdb_methods *methods, uid_t uid,
unix_pw = sys_getpwuid( uid );
if ( !unix_pw ) {
- DEBUG(4,("pdb_default_uid_to_rid: host has no idea of uid "
+ DEBUG(4,("pdb_default_uid_to_sid: host has no idea of uid "
"%lu\n", (unsigned long)uid));
return False;
}
if ( !(sampw = samu_new( NULL )) ) {
- DEBUG(0,("pdb_default_uid_to_rid: samu_new() failed!\n"));
+ DEBUG(0,("pdb_default_uid_to_sid: samu_new() failed!\n"));
return False;
}
@@ -1216,7 +1216,7 @@ static bool pdb_default_uid_to_sid(struct pdb_methods *methods, uid_t uid,
unbecome_root();
if (!ret) {
- DEBUG(5, ("pdb_default_uid_to_rid: Did not find user "
+ DEBUG(5, ("pdb_default_uid_to_sid: Did not find user "
"%s (%u)\n", unix_pw->pw_name, (unsigned int)uid));
TALLOC_FREE(sampw);
return False;