s3-passdb: Fix 'force user' with winbind default domain
commitfc4bdf5a6024eed64ea96aa974c8d253a9a35ebc
authorAndreas Schneider <asn@samba.org>
Tue, 31 Mar 2015 16:15:51 +0000 (31 18:15 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 8 Apr 2015 19:34:26 +0000 (8 21:34 +0200)
treec40347b47f401adac0a691922b09d530d203bd7c
parentc2ea20726f316b0c232ec26f46258a53628885a6
s3-passdb: Fix 'force user' with winbind default domain

If we set 'winbind use default domain' and specify 'force user = user'
without a domain name we fail to log in. In this case we need to try a
lookup with the domain name.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit cd4442c7ac93e165862c9195a7c345472646aa59)
source3/passdb/lookup_sid.c