s3:pdb_default_uid_to_sid: fix some debug statements.
authorMichael Adam <obnox@samba.org>
Fri, 13 Nov 2009 23:34:14 +0000 (00:34 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Nov 2009 10:40:55 +0000 (11:40 +0100)
Michael
(cherry picked from commit b1c7882f83922bbf3e6afeb14cc76561568c3388)

source3/passdb/pdb_interface.c

index 5d0b625da59d761cb1c7affa8fde858c568c49a6..b5d55bc3eb87f7ad7c9384ba3f1178d2270e4323 100644 (file)
@@ -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;