]> git.ipfire.org Git - thirdparty/samba.git/commit
s3-lib: Fix %G substitution in AD member environment
authorAndreas Schneider <asn@samba.org>
Mon, 19 Sep 2016 11:59:54 +0000 (13:59 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 24 Oct 2016 08:56:12 +0000 (10:56 +0200)
commit6e12cac25a3c1db56633f4d4a22fdd85a892401b
tree7e39946d636bdff8c63d16bef669ae894decfed4
parentdba617aec0936f197b016818e9c7d83277d01768
s3-lib: Fix %G substitution in AD member environment

If we are a domain member we should look up the user with the domain
name specified else it will only work if we have
'winbind use default domain' set.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 619ca5f63c47ff8b021692aaa756dcb0d883b8dd)
source3/lib/substitute.c