s4:ldap_server: match windows in the error messages of failing LDAP Bind requests
commit53b73f18a125fdffb8232c2a7650f3e3cceb6026
authorStefan Metzmacher <metze@samba.org>
Fri, 24 Feb 2017 17:30:56 +0000 (24 18:30 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 6 Mar 2017 18:40:23 +0000 (6 19:40 +0100)
treea5cdf3a876b94289fb761ff5e95a943d4f99b43f
parent00e45e92d7c0510c5409f43012cf6a1d9ef02718
s4:ldap_server: match windows in the error messages of failing LDAP Bind requests

This is important for some applications to detect the
NT_STATUS_PASSWORD_MUST_CHANGE condition correctly.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 81ccdad9d045a7a6d6a569d1685bb0bf4e64d12a)
source4/ldap_server/ldap_bind.c