Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
37df4378
Commit
37df4378
authored
Aug 29, 2018
by
Howard Chu
Committed by
Quanah Gibson-Mount
Sep 07, 2018
Browse files
ITS#8909 fix "authz-policy all" condition
Broken since original commit
113727ba
parent
c0ff1cfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/saslauthz.c
View file @
37df4378
...
...
@@ -2074,7 +2074,7 @@ int slap_sasl_authorized( Operation *op,
if
(
authz_policy
&
SASL_AUTHZ_TO
)
{
rc
=
slap_sasl_check_authz
(
op
,
authcDN
,
authzDN
,
slap_schema
.
si_ad_saslAuthzTo
,
authcDN
);
if
(
rc
==
LDAP_SUCCESS
&&
!
(
authz_policy
&
SASL_AUTHZ_AND
)
)
{
if
(
(
rc
==
LDAP_SUCCESS
)
^
((
authz_policy
&
SASL_AUTHZ_AND
)
!=
0
)
)
{
goto
DONE
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment