/* Record this load on the current path */
{
struct berval bv;
- ber_str2bv(c->line, 0, 1, &bv);
+ char *ptr = c->line + STRLENOF('moduleload');
+ while (!isspace(*ptr)) ptr++;
+ while (isspace(*ptr)) ptr++;
+ ber_str2bv(ptr, 0, 1, &bv);
ber_bvarray_add( &modcur->mp_loads, &bv );
}
break;
if ( config_setup_ldif( be, dir ))
return 1;
-#if 0 /* not yet */
+#ifdef SLAP_USE_CONFDIR
/* If we read the config from back-ldif, nothing to do here */
if ( cfb->cb_got_ldif )
return 0;
/* Create schema nodes... cn=schema will contain the hardcoded core
* schema, read-only. Child objects will contain runtime loaded schema
- * files. FIXME
+ * files.
*/
rdn = schema_rdn;
e = config_alloc_entry( ceparent, &rdn );
#ifdef SLAPD_MODULES
/* Create Module nodes... */
if ( modpaths.mp_loads ) {
- ceprev = config_build_includes( &c, ceparent, op, &rs );
+ ceprev = config_build_modules( &c, ceparent, op, &rs );
}
#endif
#define LDAP_COLLECTIVE_ATTRIBUTES
#define SLAP_CONTROL_X_TREE_DELETE LDAP_CONTROL_X_TREE_DELETE
+#define SLAP_USE_CONFDIR /* partially implemented */
+
#ifdef ENABLE_REWRITE
#define SLAP_AUTH_REWRITE 1 /* use librewrite for sasl-regexp */
#endif