OpenLDAP 2.0 Change Log
OpenLDAP 2.0.19 Engineering
- Fixed -lldap cacertfile bug (ITS#1406)
Fixed back-ldbm not filter indexing (ITS#1405)
Fixed back-passwd e_ndn bug (ITS#1467)
Fixed back-ldap undef ad bug (ITS#1367)
Fixed slapd suffix "" bugs (ITS#1430)
Fixed slapd zero length replace bug (ITS#1364)
Fixed slapd teletex string printables bug (ITS#1419)
+ Fixed slapd unallocated sockets bug (ITS#1415)
Fixed slapd undefined present filter bug (ITS#1439)
- Fixed lber realloc bug (ITS#1410)
+ Fixed -lldap cacertfile bug (ITS#1406)
+ Fixed -lldap ldap_url_seach_s bug (ITS#1429)
+ Fixed -lldap unbind free bug (ITS#1442)
+ Fixed -llber realloc bug (ITS#1410)
+ Fixed ldappasswd/slappasswd strncmp bug (ITS#1497)
Fixed various memory leaks
Updated slapd emfile/enfile handling
Build environment
ckoldpw = getpassphrase("Re-enter old password: ");
if( oldpw== NULL || ckoldpw == NULL ||
- strncmp( oldpw, ckoldpw, strlen(oldpw) ))
+ strcmp( oldpw, ckoldpw ))
{
fprintf( stderr, "passwords do not match\n" );
return EXIT_FAILURE;
cknewpw = getpassphrase("Re-enter new password: ");
if( newpw== NULL || cknewpw == NULL ||
- strncmp( newpw, cknewpw, strlen(newpw) ))
+ strcmp( newpw, cknewpw ))
{
fprintf( stderr, "passwords do not match\n" );
return EXIT_FAILURE;
# Experimental ( subject to change )
# this really shouldn't be published!
-#attributetype ( 1.3.6.1.4.1.4203.666.1.5
-# NAME 'OpenLDAPaci'
-# DESC 'OpenLDAP access control information'
-# EQUALITY OpenLDAPaciMatch
-# SYNTAX 1.3.6.1.4.1.4203.666.2.1
-# USAGE directoryOperation )
+attributetype ( 1.3.6.1.4.1.4203.666.1.5
+ NAME 'OpenLDAPaci'
+ DESC 'OpenLDAP access control information'
+ EQUALITY OpenLDAPaciMatch
+ SYNTAX 1.3.6.1.4.1.4203.666.2.1
+ USAGE directoryOperation )
int
main( int argc, char *argv[] )
{
- int rc;
char *scheme = "{SSHA}";
char *newpw = NULL;
int i;
- int version = -1;
struct berval passwd;
struct berval *hash = NULL;
newpw = strdup(getpassphrase("New password: "));
cknewpw = getpassphrase("Re-enter new password: ");
- if( strncmp( newpw, cknewpw, strlen(newpw) )) {
+ if( strcmp( newpw, cknewpw )) {
fprintf( stderr, "Password values do not match\n" );
return EXIT_FAILURE;
}