auth4: use lpcfg_is_my_domain_or_realm() in authsam_want_check()
authorStefan Metzmacher <metze@samba.org>
Thu, 6 Apr 2017 13:34:01 +0000 (15:34 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 9 Apr 2017 23:11:19 +0000 (01:11 +0200)
commit5da664dbed4932ef21061ad6127b5c9047398321
treef69d363bf758fac688d4e71d7971d7281ba232a9
parent66ee788a5a7e882f84fe44e1c933b2df1033b1a9
auth4: use lpcfg_is_my_domain_or_realm() in authsam_want_check()

We also accept the domain to be the realm string.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/auth/ntlm/auth_sam.c