mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Move authzid_backend to after restrictions checks
This commit is contained in:
parent
8c2be74406
commit
3e91d48127
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user