summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-22 12:14:08 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-22 12:14:08 +0000
commite22a1915fee466c2266361a7b956d1225ad86f56 (patch)
tree867ab88668a95ec12565ccb4e33f145cc554e730 /source3/utils
parent3e19eda335057ec47483c8567395b43d316485db (diff)
downloadsamba-e22a1915fee466c2266361a7b956d1225ad86f56.tar.gz
samba-e22a1915fee466c2266361a7b956d1225ad86f56.tar.bz2
samba-e22a1915fee466c2266361a7b956d1225ad86f56.zip
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)
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);