summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-11-27 04:43:20 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:20 +0100
commit470043bf7ae038e590a011e90bbf610c76d53767 (patch)
tree0635a646b4b06024124b52b83cf4ff203bbcad13 /source4/dsdb
parentc4d7646f294df54d6b5e7a3ac236dfa4e861c501 (diff)
downloadsamba-470043bf7ae038e590a011e90bbf610c76d53767.tar.gz
samba-470043bf7ae038e590a011e90bbf610c76d53767.tar.bz2
samba-470043bf7ae038e590a011e90bbf610c76d53767.zip
r26140: Add a new test for searches by distinguieshedName and dn, and
implement these in the simple ldap mapping module. We still don't pass this test, because we must get linked attributes into OpenLDAP. Andrew Bartlett (This used to be commit d41f34e979bb119f71ab3cc2fdb3c08e4b92849c)
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/simple_ldap_map.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c b/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c
index 2b8b07f0b4..7efcccc9ff 100644
--- a/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c
+++ b/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c
@@ -376,6 +376,15 @@ static const struct ldb_map_attribute entryuuid_attributes[] =
}
},
{
+ .local_name = "dn",
+ .type = MAP_RENAME,
+ .u = {
+ .rename = {
+ .remote_name = "entryDN"
+ }
+ }
+ },
+ {
.local_name = "groupType",
.type = MAP_CONVERT,
.u = {
@@ -525,6 +534,15 @@ static const struct ldb_map_attribute nsuniqueid_attributes[] =
}
},
{
+ .local_name = "dn",
+ .type = MAP_RENAME,
+ .u = {
+ .rename = {
+ .remote_name = "entryDN"
+ }
+ }
+ },
+ {
.local_name = "groupType",
.type = MAP_CONVERT,
.u = {