summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-11-12 17:16:25 +1100
committerAndrew Bartlett <abartlet@samba.org>2009-11-12 22:23:22 +1100
commit68639bfd64f063d1c6e373a2fc276b2bbb7073ca (patch)
tree5f531e19c4d30df51add9ad464ed225e5b9f81d6 /source4
parentf3bc54a8f1a405bfd8886bd46a1c2ca1b47acae7 (diff)
downloadsamba-68639bfd64f063d1c6e373a2fc276b2bbb7073ca.tar.gz
samba-68639bfd64f063d1c6e373a2fc276b2bbb7073ca.tar.bz2
samba-68639bfd64f063d1c6e373a2fc276b2bbb7073ca.zip
s4:libcli/ldap Add 'relax' OID to known network representations
This patch, inspired by a patche by Endi S. Dewata <edewata@redhat.com>, allows this control to be passed to the LDAP backend. Andrew Bartlett
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/ldap/ldap_controls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/ldap/ldap_controls.c b/source4/libcli/ldap/ldap_controls.c
index 86493c81da..1572f252d5 100644
--- a/source4/libcli/ldap/ldap_controls.c
+++ b/source4/libcli/ldap/ldap_controls.c
@@ -1274,6 +1274,8 @@ static const struct ldap_control_handler ldap_known_controls[] = {
/* DSDB_EXTENDED_REPLICATED_OBJECTS_OID is internal only, and has no network representation */
{ "1.3.6.1.4.1.7165.4.4.1", NULL, NULL },
{ DSDB_OPENLDAP_DEREFERENCE_CONTROL, decode_openldap_dereference, encode_openldap_dereference},
+/* LDB_CONTROL_RELAX_OID has no data (so no need for pull/push functions) */
+ { LDB_CONTROL_RELAX_OID, NULL, NULL },
{ NULL, NULL, NULL }
};