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

ITS#4634

parent 03d640de
OpenLDAP 2.3 Change Log
OpenLDAP 2.3.26 Engineering
Fixed libldap dnssrv bug with "not present" positive statement (ITS#4610)
Fixed slapd incorrect rebuilding of replica URI (ITS#4633)
Fixed slapo-ppolicy handling of default policy (ITS#4610)
Fixed back-monitor operations order via callbacks (ITS#4631)
Fixed libldap dnssrv bug with "not present" positive statement (ITS#4610)
OpenLDAP 2.3.25 Release
Fixed liblber ber_bvreplace_x argument checks
......
......@@ -326,6 +326,8 @@ ppolicy_get( Operation *op, Entry *e, PassPolicy *pp )
memset( pp, 0, sizeof(PassPolicy) );
pp->ad = slap_schema.si_ad_userPassword;
/* Users can change their own password by default */
pp->pwdAllowUserChange = 1;
......@@ -354,8 +356,6 @@ ppolicy_get( Operation *op, Entry *e, PassPolicy *pp )
#if 0 /* Only worry about userPassword for now */
if ((a = attr_find( pe->e_attrs, ad_pwdAttribute )))
slap_bv2ad( &a->a_vals[0], &pp->ad, &text );
#else
pp->ad = slap_schema.si_ad_userPassword;
#endif
if ( ( a = attr_find( pe->e_attrs, ad_pwdMinAge ) )
......@@ -411,7 +411,7 @@ ppolicy_get( Operation *op, Entry *e, PassPolicy *pp )
return;
defaultpol:
Debug( LDAP_DEBUG_ANY,
Debug( LDAP_DEBUG_TRACE,
"ppolicy_get: using default policy\n", 0, 0, 0 );
return;
}
......
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