[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Critical extension missing in shell backend (ITS#1400)



Only implemented controls should be added to the list of
supported controls.  back-shell currently does not implement
any controls.

Note that 2.0.16 or later slurpd uses a non-critical manageDsaIt
control.

Kurt

At 05:45 AM 2001-10-22, michael@freenet-ag.de wrote:
>Full_Name: Michael Haardt
>Version: OpenLDAP 2.0.18 Engineering
>OS: Linux
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (194.97.7.6)
>
>
>I need the appended patch in order to use a slapd with shell backend as replica
>server,
>otherwise slurpd reports: Critical extension unavailable (spelling it Criticial,
>btw).
>
>servers/slapd/back-shell/init.c:
>
>--- init.c.orig Mon Oct 22 12:29:38 2001
>+++ init.c      Mon Oct 22 12:30:16 2001
>@@ -34,6 +34,12 @@
>     BackendInfo        *bi
> )
> {
>+        static char *controls[] = {
>+                LDAP_CONTROL_MANAGEDSAIT,
>+                NULL
>+        };
>+
>+        bi->bi_controls = controls;
>        bi->bi_open = 0;
>        bi->bi_config = 0;
>        bi->bi_close = 0;