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
85950000
Commit
85950000
authored
Jan 26, 2009
by
Quanah Gibson-Mount
Browse files
ITS
#2615
,ITS
#4359
parent
91b8a444
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
85950000
...
...
@@ -14,6 +14,7 @@ OpenLDAP 2.4.14 Engineering
Fixed slapd bconfig encoding incorrectly (ITS#5897)
Fixed slapd connection assert (ITS#5835)
Fixed slapd epoll handling (ITS#5886)
Added slapd slapi_pw_find (ITS#2615,ITS#4359)
Fixed slapd syncrepl rename handling (ITS#5809)
Fixed slapd syncrepl MMR when adding new server (ITS#5850)
Fixed slapd syncrepl MMR with deleted entries (ITS#5843)
...
...
servers/slapd/slapi/slapi_utils.c
View file @
85950000
...
...
@@ -26,6 +26,7 @@
#include
<ac/stdarg.h>
#include
<ac/ctype.h>
#include
<ac/unistd.h>
#include
<lutil.h>
#include
<slap.h>
#include
<slapi.h>
...
...
@@ -1820,9 +1821,16 @@ slapi_pw_find(
struct
berval
**
vals
,
struct
berval
*
v
)
{
/*
* FIXME: what's the point?
*/
int
i
;
if
(
(
vals
==
NULL
)
||
(
v
==
NULL
)
)
return
1
;
for
(
i
=
0
;
vals
[
i
]
!=
NULL
;
i
++
)
{
if
(
!
lutil_passwd
(
vals
[
i
],
v
,
NULL
,
NULL
)
)
return
0
;
}
return
1
;
}
...
...
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