From: Kurt Zeilenga Date: Mon, 28 Aug 2000 21:28:22 +0000 (+0000) Subject: Move authzid_backend to after restrictions checks X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2156 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3e91d481274ce1252196a4bcd8a41f7f3f687839;p=openldap Move authzid_backend to after restrictions checks --- diff --git a/servers/slapd/bind.c b/servers/slapd/bind.c index 1e2fdbc36b..e825eeb850 100644 --- a/servers/slapd/bind.c +++ b/servers/slapd/bind.c @@ -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 */