}
}
- *text = ch_strdup("not supported within naming context");
+ *text = "not supported within naming context";
return LDAP_OPERATIONS_ERROR;
}
if(be != NULL) {
/* startup a specific backend database */
Debug( LDAP_DEBUG_TRACE,
- "backend_startup: starting database\n",
- 0, 0, 0 );
+ "backend_startup: starting \"%s\"\n",
+ be->be_suffix[0], 0, 0 );
if ( be->bd_info->bi_open ) {
rc = be->bd_info->bi_open( be->bd_info );
}
if( *dn == '\0' ) {
- return( NULL );
+ return NULL;
}
if ( be != NULL && be_issuffix( be, dn ) ) {
- return( NULL );
+ return NULL;
}
/*
if ( *s == '"' ) {
inquote = 1;
} else if ( DN_SEPARATOR( *s ) ) {
- return( ch_strdup( &s[1] ) );
+ return ch_strdup( &s[1] );
}
}
}
- return( ch_strdup( "" ) );
+ return ch_strdup( "" );
}
char * dn_rdn(
struct slap_op;
typedef int (*SLAP_EXTENDED_FN) LDAP_P((
- Backend *be,
+ BackendDB *be,
struct slap_conn *conn,
struct slap_op *op,
const char *reqoid,