s4-auth: Allow simple bind login of a user with an @ in the samAccountName
authorAndrew Bartlett <abartlet@samba.org>
Sun, 9 Feb 2020 22:52:33 +0000 (11:52 +1300)
committerIsaac Boukris <iboukris@sn-devel-184>
Fri, 14 Feb 2020 17:13:33 +0000 (17:13 +0000)
commitf231a072d5c09a61e75091c294f722622dcd45da
tree15353c2be93db830f9c4084b999c968eafcf087b
parent8fbdff5c3d7bc68b4c89ac460914a5d18775244e
s4-auth: Allow simple bind login of a user with an @ in the samAccountName

LDAP Simple BIND authentications have already been mapped to a
DOMAIN\username pair and should not be mapped twice.

This appears to be a regression in 09e24ce40f89ac2f03d0c5fefa8b59f0d113fa6b
included in Samba 4.7.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Autobuild-User(master): Isaac Boukris <iboukris@samba.org>
Autobuild-Date(master): Fri Feb 14 17:13:33 UTC 2020 on sn-devel-184
selftest/knownfail.d/ldap-virtual-users [deleted file]
source4/auth/ntlm/auth_sam.c