r12387: Make string_to_sid a little more silent.
authorJeremy Allison <jra@samba.org>
Tue, 20 Dec 2005 00:16:18 +0000 (00:16 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:05:54 +0000 (11:05 -0500)
Jeremy.

source/lib/util_sid.c

index b94be474a9ee9902dcc25d6440c39c3046b316af..f3fc5af9eaa3ece2fe9a57c8f81277230a58377a 100644 (file)
@@ -213,7 +213,7 @@ BOOL string_to_sid(DOM_SID *sidout, const char *sidstr)
        uint32 conv;
   
        if ((sidstr[0] != 'S' && sidstr[0] != 's') || sidstr[1] != '-') {
-               DEBUG(0,("string_to_sid: Sid %s does not start with 'S-'.\n", sidstr));
+               DEBUG(3,("string_to_sid: Sid %s does not start with 'S-'.\n", sidstr));
                return False;
        }
 
@@ -223,7 +223,7 @@ BOOL string_to_sid(DOM_SID *sidout, const char *sidstr)
        p = sidstr + 2;
        conv = (uint32) strtoul(p, &q, 10);
        if (!q || (*q != '-')) {
-               DEBUG(0,("string_to_sid: Sid %s is not in a valid format.\n", sidstr));
+               DEBUG(3,("string_to_sid: Sid %s is not in a valid format.\n", sidstr));
                return False;
        }
        sidout->sid_rev_num = (uint8) conv;