From 68639bfd64f063d1c6e373a2fc276b2bbb7073ca Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 12 Nov 2009 17:16:25 +1100 Subject: [PATCH] s4:libcli/ldap Add 'relax' OID to known network representations This patch, inspired by a patche by Endi S. Dewata , allows this control to be passed to the LDAP backend. Andrew Bartlett --- source4/libcli/ldap/ldap_controls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source4/libcli/ldap/ldap_controls.c b/source4/libcli/ldap/ldap_controls.c index 86493c81da6..1572f252d56 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 } }; -- 2.34.1