summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_map/ldb_map.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-01-16 09:45:29 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-01-16 09:45:29 +1100
commit27b3c24040b1a7aa88413c477a3769bcd6847d72 (patch)
tree603b8e91c4028da14440fc4770f8b36d7acce999 /source4/lib/ldb/ldb_map/ldb_map.h
parente02e67ec36ecc5f5af2fcf3a7c6b0282173df8aa (diff)
downloadsamba-27b3c24040b1a7aa88413c477a3769bcd6847d72.tar.gz
samba-27b3c24040b1a7aa88413c477a3769bcd6847d72.tar.bz2
samba-27b3c24040b1a7aa88413c477a3769bcd6847d72.zip
Allow the 'extra' objectclass added to objectClass attributes by
ldb_map to be modified (or omitted). This should allow the current abuse of extensibleObject to be replaced by a normal objectClass, possibly samba4TOP Andrew Bartlett (This used to be commit 8831a5c7935f7e2181252b7b6561541b8c8db679)
Diffstat (limited to 'source4/lib/ldb/ldb_map/ldb_map.h')
-rw-r--r--source4/lib/ldb/ldb_map/ldb_map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_map/ldb_map.h b/source4/lib/ldb/ldb_map/ldb_map.h
index 7fe9c223b8..ef4da4e654 100644
--- a/source4/lib/ldb/ldb_map/ldb_map.h
+++ b/source4/lib/ldb/ldb_map/ldb_map.h
@@ -134,6 +134,9 @@ struct ldb_map_context {
* to any wildcard search */
const char * const *wildcard_attributes;
+ /* ObjectClass (if any) to be added to remote attributes on add */
+ const char *add_objectclass;
+
/* struct ldb_context *mapped_ldb; */
struct ldb_dn *local_base_dn;
struct ldb_dn *remote_base_dn;
@@ -149,6 +152,7 @@ struct map_private {
int ldb_map_init(struct ldb_module *module, const struct ldb_map_attribute *attrs,
const struct ldb_map_objectclass *ocls,
const char * const *wildcard_attributes,
+ const char *add_objectclass,
const char *name);
/* get copy of map_ops */