Commit 85950000 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#2615,ITS#4359

parent 91b8a444
......@@ -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)
......
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment