summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/wscript_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-10-19 22:29:04 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-10-19 22:34:58 +1100
commit439a1fe2d0db8a784431a4dbc070faef6e4f788e (patch)
tree11f78b611df0f2e3c5881d1d3fa7df151b699e13 /source4/dsdb/samdb/ldb_modules/wscript_build
parent5650e8558eb703a5660cb3cef79bec89dc6ac5fc (diff)
downloadsamba-439a1fe2d0db8a784431a4dbc070faef6e4f788e.tar.gz
samba-439a1fe2d0db8a784431a4dbc070faef6e4f788e.tar.bz2
samba-439a1fe2d0db8a784431a4dbc070faef6e4f788e.zip
s4-dsdb Add module to send only 'simple' DNs to OpenLDAP backends
If we send the full extended DN, then we risk standards-complient LDAP servers rejecting it as invalid. Only the DN portion is needed to resolve the record in any case, and any SID or GUID componenets have already been evaluated into the DN. Andrew Bartlett
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/wscript_build')
-rw-r--r--source4/dsdb/samdb/ldb_modules/wscript_build8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/wscript_build b/source4/dsdb/samdb/ldb_modules/wscript_build
index f6b1e9cdc5..e6f6956163 100644
--- a/source4/dsdb/samdb/ldb_modules/wscript_build
+++ b/source4/dsdb/samdb/ldb_modules/wscript_build
@@ -350,3 +350,11 @@ bld.SAMBA_MODULE('ldb_aclread',
internal_module=False,
deps='talloc LIBEVENTS LIBSECURITY SAMDB',
)
+
+bld.SAMBA_MODULE('ldb_simple_dn',
+ source='simple_dn.c',
+ subsystem='ldb',
+ init_function='LDB_MODULE(simple_dn)',
+ internal_module=False,
+ deps='talloc DSDB_MODULE_HELPERS'
+ )