return 0;
}
+ if( be->be_root_pw.bv_len == 0 ) {
+ return 0;
+ }
+
#ifdef SLAPD_CRYPT
ldap_pvt_thread_mutex_lock( &crypt_mutex );
#endif
- result = lutil_passwd( be->be_root_pw, cred->bv_val, NULL );
+ result = lutil_passwd( &be->be_root_pw, cred, NULL );
#ifdef SLAPD_CRYPT
ldap_pvt_thread_mutex_unlock( &crypt_mutex );
#ifdef SLAPD_SCHEMA_DN
Attribute *backend_subschemasubentry( Backend *be )
{
+ /*
+ * This routine returns points to STATIC data!!!
+ */
/* should be backend specific */
+
static struct berval ss_val = {
sizeof(SLAPD_SCHEMA_DN)-1,
SLAPD_SCHEMA_DN };
static Attribute ss_attr = {
"subschemasubentry",
ss_vals,
+#ifdef SLAPD_SCHEMA_COMPAT
SYNTAX_DN | SYNTAX_CIS,
+#endif
NULL
};