svn commit: samba r12386 - in trunk/source/lib: .
jra at samba.org
jra at samba.org
Tue Dec 20 00:11:03 GMT 2005
Author: jra
Date: 2005-12-20 00:11:02 +0000 (Tue, 20 Dec 2005)
New Revision: 12386
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12386
Log:
Make string_to_sid a little more silent.
Jeremy.
Modified:
trunk/source/lib/util_sid.c
Changeset:
Modified: trunk/source/lib/util_sid.c
===================================================================
--- trunk/source/lib/util_sid.c 2005-12-20 00:06:31 UTC (rev 12385)
+++ trunk/source/lib/util_sid.c 2005-12-20 00:11:02 UTC (rev 12386)
@@ -213,7 +213,7 @@
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 @@
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;
More information about the samba-cvs
mailing list