From 3e91d481274ce1252196a4bcd8a41f7f3f687839 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 28 Aug 2000 21:28:22 +0000 Subject: [PATCH] Move authzid_backend to after restrictions checks --- servers/slapd/bind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.39.5