idmap_ad: Restore querying SFU nss info
authorVolker Lendecke <vl@samba.org>
Thu, 29 Dec 2016 10:27:58 +0000 (10:27 +0000)
committerVolker Lendecke <vl@samba.org>
Mon, 2 Jan 2017 17:04:14 +0000 (18:04 +0100)
commitcff192413031a8bafe0b2b27e1aecd162422f855
treea0d681f6f1c4e46224301d0365e30bbb352c24ae
parentbce19a6efe11980933531f0349c8f5212419366a
idmap_ad: Restore querying SFU nss info

With the last commit the getpwsid call did not look at the winbind
nss info parameter anymore. This restores it for the idmap ad backend
with slightly different semantics and configuration: We now have the
unix_primary_group and unix_nss_info domain-specific parameters for
idmap config. This enables overriding the Windows primary group with
the unix one.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
docs-xml/manpages/idmap_ad.8.xml
source3/winbindd/idmap_ad.c