summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-11-29 06:26:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:12 -0500
commitdd813b6b29715742cca336421de40897425adeea (patch)
treed13633f6540769158cca2c01f1aa1ba13e3d598b /source3/utils
parent817151c87ff8d3a9c22f8aeccf70a37a9cd1a331 (diff)
downloadsamba-dd813b6b29715742cca336421de40897425adeea.tar.gz
samba-dd813b6b29715742cca336421de40897425adeea.tar.bz2
samba-dd813b6b29715742cca336421de40897425adeea.zip
r19944: Fix from Don Watson -- thanks
(This used to be commit c27e48594abecc4e67f3be457a4b942ae7ff4db5)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc_samsync.c9
1 files 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;