Move authzid_backend to after restrictions checks

This commit is contained in:
Kurt Zeilenga 2000-08-28 21:28:22 +00:00
parent 8c2be74406
commit 3e91d48127

View File

@ -338,8 +338,6 @@ do_bind(
goto cleanup;
}
conn->c_authz_backend = be;
/* check restrictions */
rc = backend_check_restrictions( be, conn, op, NULL, &text ) ;
if( rc != LDAP_SUCCESS ) {
@ -348,6 +346,8 @@ do_bind(
goto cleanup;
}
conn->c_authz_backend = be;
if ( be->be_bind ) {
int ret;
/* alias suffix */