Skip to content
Snippets Groups Projects
Commit 85950000 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#2615,ITS#4359

parent 91b8a444
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,7 @@ OpenLDAP 2.4.14 Engineering ...@@ -14,6 +14,7 @@ OpenLDAP 2.4.14 Engineering
Fixed slapd bconfig encoding incorrectly (ITS#5897) Fixed slapd bconfig encoding incorrectly (ITS#5897)
Fixed slapd connection assert (ITS#5835) Fixed slapd connection assert (ITS#5835)
Fixed slapd epoll handling (ITS#5886) 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 rename handling (ITS#5809)
Fixed slapd syncrepl MMR when adding new server (ITS#5850) Fixed slapd syncrepl MMR when adding new server (ITS#5850)
Fixed slapd syncrepl MMR with deleted entries (ITS#5843) Fixed slapd syncrepl MMR with deleted entries (ITS#5843)
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <ac/stdarg.h> #include <ac/stdarg.h>
#include <ac/ctype.h> #include <ac/ctype.h>
#include <ac/unistd.h> #include <ac/unistd.h>
#include <lutil.h>
#include <slap.h> #include <slap.h>
#include <slapi.h> #include <slapi.h>
...@@ -1820,9 +1821,16 @@ slapi_pw_find( ...@@ -1820,9 +1821,16 @@ slapi_pw_find(
struct berval **vals, struct berval **vals,
struct berval *v ) struct berval *v )
{ {
/* int i;
* FIXME: what's the point?
*/ 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; return 1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment