]> 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)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 7 Oct 2016 10:09:09 +0000 (12:09 +0200)
commit619ca5f63c47ff8b021692aaa756dcb0d883b8dd
treef1bb48dec68f9e8656c85ad1527691b3a506dd0c
parentdd5c44b98d493ccc4406437247535f4b892f0b64
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>
source3/lib/substitute.c