1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

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
This commit is contained in:
Andrew Bartlett 2009-11-12 17:16:25 +11:00
parent f3bc54a8f1
commit 68639bfd64

View File

@ -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 }
};