mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
f26a2845bd
We keep the database startup value for search behaviour, as to re-check is too expensive. It caused every search to have an additional search to the database. We do not need to check as_system when setting ac->userPassword as this is checked when all password attributes are stripped As userPassword is not written to after fUserPwdSupport is set we do not expose any data that was not already visible. The database overhead was an oversight when this was originally added with 7f171a9e0f9b5945bd16a1330ba0908090659030 in 2010. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11853 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>