diff options
author | Gabriel Buades <gbuades@soffid.com> | 2014-09-08 12:21:26 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-11-03 23:46:04 +0100 |
commit | 745a1c54b619caaaa80b4e8d4b4345f4d79a8c58 (patch) | |
tree | dc022ccb3b8590bbe9e3456d57fb60771c2bde3b | |
parent | a3b333a1a2ab23ba0c59be1fc65c730e2b53e8c5 (diff) | |
download | samba-745a1c54b619caaaa80b4e8d4b4345f4d79a8c58.tar.gz |
Change expired password flag indicator
Signed-off-by: Gabriel Buades <gbuades@soffid.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Jim McDonough <jmcd@samba.org>
-rw-r--r-- | source3/lib/netapi/user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c index 4a39f6976d0..63240844e87 100644 --- a/source3/lib/netapi/user.c +++ b/source3/lib/netapi/user.c @@ -68,7 +68,7 @@ static void convert_USER_INFO_X_to_samr_user_info21(struct USER_INFO_X *infoX, fields_present |= SAMR_FIELD_DESCRIPTION; } if (infoX->usriX_password_age) { - fields_present |= SAMR_FIELD_FORCE_PWD_CHANGE; + fields_present |= SAMR_FIELD_EXPIRED_FLAG; } if (infoX->usriX_full_name) { fields_present |= SAMR_FIELD_FULL_NAME; |