rpc/samr: Fix PSO support in SAMR password_change RPC
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 8 May 2018 04:07:54 +0000 (16:07 +1200)
committerGarming Sam <garming@samba.org>
Wed, 23 May 2018 04:55:30 +0000 (06:55 +0200)
commit05e25a728c9260fe1696500ed26a7c4f9ad85c57
tree625c42506b7bee412a04423fd7f4b089eaf542ba
parent706070274da9054bd0fbd7732b8304dee1d30f20
rpc/samr: Fix PSO support in SAMR password_change RPC

To get the SAMR password_lockout test passing, we now just need to query
the msDS-ResultantPSO attribute for the user in the SAMR code. The
common code will then determine that a PSO applies to the user, and use
the PSO's lockout settings.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
selftest/knownfail.d/password_lockout
source4/rpc_server/samr/samr_password.c