Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
d28a933b
Commit
d28a933b
authored
Mar 18, 2021
by
Quanah Gibson-Mount
Browse files
ITS#9471 - Fix typos in previous commit
parent
d594ffe9
Changes
2
Hide whitespace changes
Inline
Side-by-side
contrib/slapd-modules/rbac/rbacsess.c
View file @
d28a933b
...
...
@@ -710,7 +710,7 @@ rbac_session_byid_fake( Operation *op, rbac_req_t *reqp )
filter_free_x
(
&
op2
,
op2
.
ors_filter
,
1
);
done:
// TODO: find equiv
ila
nt way of check nentries (broke with fake connection fix)
// TODO: find equiv
ale
nt way of check nentries (broke with fake connection fix)
//if ( rc != LDAP_SUCCESS || rs2.sr_nentries <= 0 ) {
if
(
rc
!=
LDAP_SUCCESS
)
{
rbac_free_session
(
sessp
);
...
...
contrib/slapd-modules/rbac/util.c
View file @
d28a933b
...
...
@@ -472,7 +472,7 @@ rbac_check_time_constraint( rbac_constraint_t *cp )
int
timeofday
=
(
resultp
->
tm_hour
*
60
+
resultp
->
tm_min
)
*
60
+
resultp
->
tm_sec
;
if
(
timeofday
<
cp
->
begin_time
||
timeofday
>
cp
->
end_time
)
{
/* not within
g
allowed time period in a day */
/* not within allowed time period in a day */
goto
done
;
}
}
...
...
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