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
7ea7f09e
Commit
7ea7f09e
authored
Nov 10, 2008
by
Quanah Gibson-Mount
Browse files
ITS#5794
parent
bb052a98
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
7ea7f09e
...
...
@@ -15,6 +15,7 @@ OpenLDAP 2.4.13 Engineering
Added slapd dn.this search limits (ITS#5734)
Fixed slapd error status on shutdown (ITS#5745)
Fixed slapd nameUIDPretty bitstring parsing (ITS#5750)
Fixed slapd null termination of password (ITS#5794)
Fixed slapd overlay/database open with real structure (ITS#5724)
Fixed slapd parsing of read entry control (ITS#5741)
Added slapd PMI schema (ITS#5695)
...
...
servers/slapd/passwd.c
View file @
7ea7f09e
...
...
@@ -503,6 +503,7 @@ slap_passwd_check(
int
result
=
1
;
struct
berval
*
bv
;
AccessControlState
acl_state
=
ACL_STATE_INIT
;
char
credNul
=
cred
->
bv_val
[
cred
->
bv_len
];
#ifdef SLAPD_SPASSWD
void
*
old_authctx
=
NULL
;
...
...
@@ -511,6 +512,8 @@ slap_passwd_check(
op
->
o_conn
->
c_sasl_authctx
,
0
,
&
old_authctx
,
NULL
);
#endif
if
(
credNul
)
cred
->
bv_val
[
cred
->
bv_len
]
=
0
;
for
(
bv
=
a
->
a_vals
;
bv
->
bv_val
!=
NULL
;
bv
++
)
{
/* if e is provided, check access */
if
(
e
&&
access_allowed
(
op
,
e
,
a
->
a_desc
,
bv
,
...
...
@@ -525,6 +528,8 @@ slap_passwd_check(
}
}
if
(
credNul
)
cred
->
bv_val
[
cred
->
bv_len
]
=
credNul
;
#ifdef SLAPD_SPASSWD
ldap_pvt_thread_pool_setkey
(
op
->
o_threadctx
,
(
void
*
)
slap_sasl_bind
,
old_authctx
,
0
,
NULL
,
NULL
);
...
...
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