+/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
/* backend.c - routines for dealing with back-end databases */
#include "slap.h"
#include "lutil.h"
+#include "ldap_defaults.h"
+
#ifdef SLAPD_LDAP
#include "back-ldap/external.h"
#endif
else
return(1);
}
+
+#ifdef SLAPD_SCHEMA_DN
+Attribute *backend_subschemasubentry( Backend *be )
+{
+ /* should be backend specific */
+ static struct berval ss_val = {
+ sizeof(SLAPD_SCHEMA_DN)-1,
+ SLAPD_SCHEMA_DN };
+ static struct berval *ss_vals[2] = { &ss_val, NULL };
+ static Attribute ss_attr = {
+ "subschemasubentry",
+ ss_vals,
+ SYNTAX_DN | SYNTAX_CIS,
+ NULL
+ };
+
+ return &ss_attr;
+}
+#endif