s4:rpc_server/samr: use "msDS-UserPasswordExpiryTimeComputed" instead of samdb_result...
commit86b9bf95916b307bd081af4c61ef00d461e60bdc
authorStefan Metzmacher <metze@samba.org>
Fri, 3 Jun 2016 22:48:56 +0000 (4 00:48 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 30 Jun 2016 01:30:23 +0000 (30 03:30 +0200)
tree33e252dc69af1d1e4c7c714d754789cc0582657d
parent9be48605117e0d7807b07823b63a3e5b3dab2f90
s4:rpc_server/samr: use "msDS-UserPasswordExpiryTimeComputed" instead of samdb_result_force_password_change()

The logic in samdb_result_force_password_change() is incomplete
and the correct logic is already available via the constructed
"msDS-UserPasswordExpiryTimeComputed" attribute.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11441

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/rpc_server/samr/dcesrv_samr.c