svn commit: samba r19944 - in branches: SAMBA_3_0/source/utils SAMBA_3_0_24/source/utils

vlendec at samba.org vlendec at samba.org
Wed Nov 29 06:26:13 GMT 2006


Author: vlendec
Date: 2006-11-29 06:26:12 +0000 (Wed, 29 Nov 2006)
New Revision: 19944

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

Log:
Fix from Don Watson -- thanks
Modified:
   branches/SAMBA_3_0/source/utils/net_rpc_samsync.c
   branches/SAMBA_3_0_24/source/utils/net_rpc_samsync.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/net_rpc_samsync.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_rpc_samsync.c	2006-11-29 06:15:28 UTC (rev 19943)
+++ branches/SAMBA_3_0/source/utils/net_rpc_samsync.c	2006-11-29 06:26:12 UTC (rev 19944)
@@ -1536,13 +1536,8 @@
 	}
 	unix_time = nt_time_to_unix(delta->account_info.pwd_last_set_time);
 
-	/* The nobody user is entered by populate_ldap_for_ldif */
-	if (strcmp(username, "nobody") == 0) {
-		return NT_STATUS_OK;
-	} else {
-		/* Increment the uid for the new user */
-		ldif_uid++;
-	}
+	/* Increment the uid for the new user */
+	ldif_uid++;
 
 	/* Set up group id and sambaSID for the user */
 	group_rid = delta->account_info.group_rid;

Modified: branches/SAMBA_3_0_24/source/utils/net_rpc_samsync.c
===================================================================
--- branches/SAMBA_3_0_24/source/utils/net_rpc_samsync.c	2006-11-29 06:15:28 UTC (rev 19943)
+++ branches/SAMBA_3_0_24/source/utils/net_rpc_samsync.c	2006-11-29 06:26:12 UTC (rev 19944)
@@ -1536,13 +1536,8 @@
 	}
 	unix_time = nt_time_to_unix(delta->account_info.pwd_last_set_time);
 
-	/* The nobody user is entered by populate_ldap_for_ldif */
-	if (strcmp(username, "nobody") == 0) {
-		return NT_STATUS_OK;
-	} else {
-		/* Increment the uid for the new user */
-		ldif_uid++;
-	}
+	/* Increment the uid for the new user */
+	ldif_uid++;
 
 	/* Set up group id and sambaSID for the user */
 	group_rid = delta->account_info.group_rid;



More information about the samba-cvs mailing list