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)
#include <ac/stdarg.h>
#include <ac/ctype.h>
#include <ac/unistd.h>
+#include <lutil.h>
#include <slap.h>
#include <slapi.h>
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;
}