]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/init.c
ITS#3996 fix glue/syncprov interaction
[openldap] / servers / slapd / init.c
index edc1689311e648eae8e9ba2fa3ea7f0ce3418f67..ab5f17b7a72cdeca721a9ff64d37b98e92e571c4 100644 (file)
@@ -216,7 +216,15 @@ slap_init( int mode, const char *name )
                return 1;
        }
 
-#ifdef SLAP_DYNACL
+       if ( glue_sub_init() ) {
+               ldap_debug |= 1;
+               Debug( LDAP_DEBUG_ANY,
+                   "%s: glue/subordinate init failed\n",
+                   name, 0, 0 );
+
+               return 1;
+       }
+
        if ( acl_init() ) {
                ldap_debug |= 1;
                Debug( LDAP_DEBUG_ANY,
@@ -224,7 +232,7 @@ slap_init( int mode, const char *name )
                    name, 0, 0 );
                return 1;
        }
-#endif /* SLAP_DYNACL */
+
        return rc;
 }