s4:auth/sam: use "msDS-UserPasswordExpiryTimeComputed" instead of samdb_result_force_...
authorStefan Metzmacher <metze@samba.org>
Fri, 3 Jun 2016 22:48:56 +0000 (00:48 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 30 Jun 2016 01:30:23 +0000 (03:30 +0200)
commit9be48605117e0d7807b07823b63a3e5b3dab2f90
treec07915ab85aca757118286ad6737abb6f6bce670
parentfdcdf349473430b590a7a2ea8d1ba663e46b9b98
s4:auth/sam: 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/auth/sam.c