summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc_samsync.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c
index ac3b78fc7a..7d5c8681ad 100644
--- a/source3/utils/net_rpc_samsync.c
+++ b/source3/utils/net_rpc_samsync.c
@@ -317,10 +317,7 @@ fetch_account_info(uint32 rid, SAM_ACCOUNT_INFO *delta)
"gave %d\n", add_script, add_ret));
}
- if (!pdb_getsampwnam(sam_account, account)) {
- try_add = True;
- /* still not there, hope the backend likes NUAs */
- }
+ try_add = True;
}
sam_account_from_delta(sam_account, delta);