mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 14:42:10 -05:00
Move authzid_backend to after restrictions checks
This commit is contained in:
parent
8c2be74406
commit
3e91d48127
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue