]> git.sur5r.net Git - openldap/commitdiff
list permissive in supported controls (ITS#3453)
authorPierangelo Masarati <ando@openldap.org>
Tue, 28 Dec 2004 10:54:49 +0000 (10:54 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 28 Dec 2004 10:54:49 +0000 (10:54 +0000)
servers/slapd/back-bdb/init.c
servers/slapd/back-ldbm/init.c

index 6733592bf5d805e4eaf964b0f01493c13127821f..dc36130bc3bce5d2a156fdfd88424c1fbe9d8373 100644 (file)
@@ -582,6 +582,9 @@ bdb_back_initialize(
                LDAP_CONTROL_SUBENTRIES,
 #endif
                LDAP_CONTROL_VALUESRETURNFILTER,
+#ifdef LDAP_CONTROL_X_PERMISSIVE_MODIFY
+               LDAP_CONTROL_X_PERMISSIVE_MODIFY,
+#endif
                NULL
        };
 
index 466fc32e1118b22cbe857b14e761c5c29b5c2277..25a151574528d7f999bea5de524661b4a5486880 100644 (file)
@@ -32,6 +32,9 @@ ldbm_back_initialize(
        static char *controls[] = {
                LDAP_CONTROL_MANAGEDSAIT,
                LDAP_CONTROL_VALUESRETURNFILTER,
+#ifdef LDAP_CONTROL_X_PERMISSIVE_MODIFY
+               LDAP_CONTROL_X_PERMISSIVE_MODIFY,
+#endif
                NULL
        };