mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +03:00
With assuptions about unixsam gone, we can forget about looking up
the user a second time now. Andrew Bartlett
This commit is contained in:
parent
6f32fa2349
commit
a1e27a02f5
@ -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…
x
Reference in New Issue
Block a user