Minor cleanup patch for vampire ldif
Don Watson
dwwatson at us.ibm.com
Tue Nov 28 16:04:05 GMT 2006
In source/utils/net_rpc_samsync.c, user "nobody" is no longer created by
populate_ldap_for_ldif, therefore the check for "nobody" is no longer needed
in fetch_account_info_to_ldif.
---------------------------Start of patch--------------------------
--- samba-3.0.23d/source/utils/net_rpc_samsync.c.orig 2006-11-28
07:49:01.000000000 -0800
+++ samba-3.0.23d/source/utils/net_rpc_samsync.c 2006-11-28 07:52:17.000000000
-0800
@@ -1492,13 +1492,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;
---------------------------End of patch---------------------------
More information about the samba-technical
mailing list