s4:kdc: use "msDS-UserPasswordExpiryTimeComputed" instead of samdb_result_force_passw...
commita5efb21a53b8c890490c98229842a333a1158d2e
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)
tree1f4751a312be59678fcef52bdbf4cf155e858273
parent86b9bf95916b307bd081af4c61ef00d461e60bdc
s4:kdc: 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/kdc/db-glue.c