s3:auth_sam: map an empty domain or '.' to the local SAM name
authorStefan Metzmacher <metze@samba.org>
Thu, 23 Jan 2020 15:21:43 +0000 (16:21 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 5 Feb 2020 16:30:42 +0000 (16:30 +0000)
commit590df382bea44eec2dbfd2a28c659b0a29188bca
treee49d732d83f0db51013daae96ac3aef16c9145ff
parenta9eeea6ef78cc44c8423c7125fa1376921060018
s3:auth_sam: map an empty domain or '.' to the local SAM name

When a domain member gets an empty domain name or '.', it should
not forward the authentication to domain controllers of
the primary domain.

But we need to keep passing UPN account names with
an empty domain to the DCs as a domain member.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
python/samba/tests/auth_log_winbind.py
selftest/knownfail.d/empty-domain-name
source3/auth/auth_sam.c