svn commit: samba r12387 - in branches/SAMBA_3_0/source/lib: .

jra at samba.org jra at samba.org
Tue Dec 20 00:16:19 GMT 2005


Author: jra
Date: 2005-12-20 00:16:18 +0000 (Tue, 20 Dec 2005)
New Revision: 12387

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12387

Log:
Make string_to_sid a little more silent.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/lib/util_sid.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/util_sid.c
===================================================================
--- branches/SAMBA_3_0/source/lib/util_sid.c	2005-12-20 00:11:02 UTC (rev 12386)
+++ branches/SAMBA_3_0/source/lib/util_sid.c	2005-12-20 00:16:18 UTC (rev 12387)
@@ -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