mirror of
https://github.com/samba-team/samba.git
synced 2024-12-29 11:21:54 +03:00
With assuptions about unixsam gone, we can forget about looking up
the user a second time now.
Andrew Bartlett
(This used to be commit a1e27a02f5
)
This commit is contained in:
parent
3e19eda335
commit
e22a1915fe
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user