summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-12-20 00:16:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:54 -0500
commit894979c69ba3d90b6361908cde4e29a68989419f (patch)
treecc94eab9adc59764310c242f7bb29218672a486d /source3/lib
parente53642a131d48bd8c092b7ea537744e59556be88 (diff)
downloadsamba-894979c69ba3d90b6361908cde4e29a68989419f.tar.gz
samba-894979c69ba3d90b6361908cde4e29a68989419f.tar.bz2
samba-894979c69ba3d90b6361908cde4e29a68989419f.zip
r12387: Make string_to_sid a little more silent.
Jeremy. (This used to be commit 7ccff8071abf2bd85f4022abace1f96c7f7f0d29)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_sid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c
index b94be474a9..f3fc5af9ea 100644
--- a/source3/lib/util_sid.c
+++ b/source3/lib/util_sid.c
@@ -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;