Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
0ee2411b
Commit
0ee2411b
authored
Jul 31, 2006
by
Quanah Gibson-Mount
Browse files
ITS#4596: control can be critical
parent
0152f28c
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/overlays/ppolicy.c
View file @
0ee2411b
...
...
@@ -1838,11 +1838,9 @@ ppolicy_parseCtrl(
rs
->
sr_text
=
"passwordPolicyRequest control value not empty"
;
return
LDAP_PROTOCOL_ERROR
;
}
if
(
ctrl
->
ldctl_iscritical
)
{
rs
->
sr_text
=
"passwordPolicyRequest control invalid criticality"
;
return
LDAP_PROTOCOL_ERROR
;
}
op
->
o_ctrlflag
[
ppolicy_cid
]
=
SLAP_CONTROL_NONCRITICAL
;
op
->
o_ctrlflag
[
ppolicy_cid
]
=
ctrl
->
ldctl_iscritical
?
SLAP_CONTROL_CRITICAL
:
SLAP_CONTROL_NONCRITICAL
;
return
LDAP_SUCCESS
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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