summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_map/ldb_map.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-01-17 08:53:18 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-01-17 08:53:18 +1100
commitd5fd15005c0cad9e9018e81ab5c30b87cb2f605a (patch)
tree6446d594fee883570d9c53ce7ab8010562e3e4eb /source4/lib/ldb/ldb_map/ldb_map.h
parent5df2ac18e7b2e2ab81a6ab5903addaf71b70db4a (diff)
downloadsamba-d5fd15005c0cad9e9018e81ab5c30b87cb2f605a.tar.gz
samba-d5fd15005c0cad9e9018e81ab5c30b87cb2f605a.tar.bz2
samba-d5fd15005c0cad9e9018e81ab5c30b87cb2f605a.zip
ldb_map objectClass munging: Don't hard-code 'extensibleObject'.
This allows objectClass munging to be removed, or modified to not include adding an objectClass, or for that objectClass to be something different. Andrew Bartlett (This used to be commit ee93b4e2ee1dd1cd38bcf14b2bb62556a13cec4a)
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 */