s4-dsdb Add module to send only 'simple' DNs to OpenLDAP backends
authorAndrew Bartlett <abartlet@samba.org>
Tue, 19 Oct 2010 11:29:04 +0000 (22:29 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 19 Oct 2010 11:34:58 +0000 (22:34 +1100)
commit439a1fe2d0db8a784431a4dbc070faef6e4f788e
tree11f78b611df0f2e3c5881d1d3fa7df151b699e13
parent5650e8558eb703a5660cb3cef79bec89dc6ac5fc
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
source4/dsdb/samdb/ldb_modules/samba_dsdb.c
source4/dsdb/samdb/ldb_modules/simple_dn.c [new file with mode: 0644]
source4/dsdb/samdb/ldb_modules/wscript_build