]> git.sur5r.net Git - openldap/commitdiff
ITS#4634
authorQuanah Gibson-Mount <quanah@openldap.org>
Wed, 9 Aug 2006 03:53:48 +0000 (03:53 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 9 Aug 2006 03:53:48 +0000 (03:53 +0000)
CHANGES
servers/slapd/overlays/ppolicy.c

diff --git a/CHANGES b/CHANGES
index 2374cd4c690a3172fca9c0934c5d9aa247af7290..a1b8b8d5e5dfa50ed0a3afeee97be78c1536dfab 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,9 +1,10 @@
 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
index e8dcb151c3f20b9b8f7d3cd358ceabc22fa8201a..b6a833c02bbca690ab0de9bc922cdc0daf37ac56 100644 (file)
@@ -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;
 }