From dd813b6b29715742cca336421de40897425adeea Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 29 Nov 2006 06:26:12 +0000 Subject: r19944: Fix from Don Watson -- thanks (This used to be commit c27e48594abecc4e67f3be457a4b942ae7ff4db5) --- source3/utils/net_rpc_samsync.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c index 10b9495332..904e49bbb3 100644 --- a/source3/utils/net_rpc_samsync.c +++ b/source3/utils/net_rpc_samsync.c @@ -1536,13 +1536,8 @@ static NTSTATUS fetch_account_info_to_ldif(SAM_DELTA_CTR *delta, } 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; -- cgit