summaryrefslogtreecommitdiff
path: root/source4/winbind/idmap.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-10 15:52:14 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-06-16 08:18:10 +0200
commit3c65bac0b6fc104f4bdf86beed775d13da00aaab (patch)
tree3aa7b3f4b06c3f542536782aa80a15a569717ccc /source4/winbind/idmap.h
parentbbb7cbfb7cdf5cbd9700cdfaced9e7582de9eff5 (diff)
downloadsamba-3c65bac0b6fc104f4bdf86beed775d13da00aaab.tar.gz
samba-3c65bac0b6fc104f4bdf86beed775d13da00aaab.tar.bz2
samba-3c65bac0b6fc104f4bdf86beed775d13da00aaab.zip
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
Diffstat (limited to 'source4/winbind/idmap.h')
-rw-r--r--source4/winbind/idmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/winbind/idmap.h b/source4/winbind/idmap.h
index bf048e9758..676955c2b2 100644
--- a/source4/winbind/idmap.h
+++ b/source4/winbind/idmap.h
@@ -29,6 +29,7 @@ struct idmap_context {
struct ldb_context *ldb_ctx;
struct dom_sid *unix_groups_sid;
struct dom_sid *unix_users_sid;
+ struct ldb_context *samdb;
};
struct tevent_context;