From e22a1915fee466c2266361a7b956d1225ad86f56 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 22 Feb 2003 12:14:08 +0000 Subject: With assuptions about unixsam gone, we can forget about looking up the user a second time now. Andrew Bartlett (This used to be commit a1e27a02f52315df0dd05ab8a94ae5a2bf398655) --- source3/utils/net_rpc_samsync.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3/utils/net_rpc_samsync.c') 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); -- cgit