s4-idmap: Add mapping using uidNumber and gidNumber like idmap_ad
authorAndrew Bartlett <abartlet@samba.org>
Sun, 10 Jun 2012 05:52:14 +0000 (15:52 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 16 Jun 2012 06:18:10 +0000 (08:18 +0200)
commit3c65bac0b6fc104f4bdf86beed775d13da00aaab
tree3aa7b3f4b06c3f542536782aa80a15a569717ccc
parentbbb7cbfb7cdf5cbd9700cdfaced9e7582de9eff5
s4-idmap: Add mapping using uidNumber and gidNumber like idmap_ad

This is a solution for users who are upgrading from Samba 3.x in
particuar, or have clients that will be using idmap_ad.  This avoids
needing to have duplicate values in idmap.ldb and in the directory.

No check for conflicts is made with the idmap.ldb - the AD store always wins.

Andrew Bartlett
source4/winbind/idmap.c
source4/winbind/idmap.h