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
4dafbe5c
Commit
4dafbe5c
authored
Jul 10, 2008
by
Quanah Gibson-Mount
Browse files
ITS#5575
parent
e06f2efd
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
4dafbe5c
...
...
@@ -10,6 +10,7 @@ OpenLDAP 2.4.11 Engineering
Fixed slapo-ppolicy DNs with whitespaces (ITS#5552)
Fixed slapo-syncprov ACL evaluation (ITS#5548)
Fixed slapo-syncprov full reload (ITS#5564)
Fixed contrib smbk5pwd terminator (ITS#5575)
Build Environment
Fixed test048 to skip if threads is not available (ITS#5529)
Documentation
...
...
contrib/slapd-modules/smbk5pwd/smbk5pwd.c
View file @
4dafbe5c
...
...
@@ -350,6 +350,7 @@ static int smbk5pwd_exop_passwd(
Modifications
*
ml
;
slap_overinst
*
on
=
(
slap_overinst
*
)
op
->
o_bd
->
bd_info
;
smbk5pwd_t
*
pi
=
on
->
on_bi
.
bi_private
;
char
term
;
/* Not the operation we expected, pass it on... */
if
(
ber_bvcmp
(
&
slap_EXOP_MODIFY_PASSWD
,
&
op
->
ore_reqoid
)
)
{
...
...
@@ -360,6 +361,9 @@ static int smbk5pwd_exop_passwd(
rc
=
be_entry_get_rw
(
op
,
&
op
->
o_req_ndn
,
NULL
,
NULL
,
0
,
&
e
);
if
(
rc
!=
LDAP_SUCCESS
)
return
rc
;
term
=
qpw
->
rs_new
.
bv_val
[
qpw
->
rs_new
.
bv_len
];
qpw
->
rs_new
.
bv_val
[
qpw
->
rs_new
.
bv_len
]
=
'\0'
;
#ifdef DO_KRB5
/* Kerberos stuff */
do
{
...
...
@@ -596,6 +600,7 @@ static int smbk5pwd_exop_passwd(
}
#endif
/* DO_SAMBA */
be_entry_release_r
(
op
,
e
);
qpw
->
rs_new
.
bv_val
[
qpw
->
rs_new
.
bv_len
]
=
term
;
return
SLAP_CB_CONTINUE
;
}
...
...
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