$VAR1 = bless( {
'raw' => undef,
'type' => '1.3.6.1.4.1.42.2.27.8.5.1',
'value' => '0♣�♥�☺ ',
'asn' => {
'warning' => {
'graceAuthNsRemaining' => 0
}
}
}, 'Net::LDAP::Control::PasswordPolicy' );
ads-pwdcheckquality: 2
ads-pwdexpirewarning: 1209600
ads-pwdfailurecountinterval: 900
ads-pwdgraceauthnlimit: 1
ads-pwdgraceexpire: 0
ads-pwdinhistory: 12
ads-pwdlockout: TRUE
ads-pwdlockoutduration: 900
ads-pwdmaxage: 15552000
ads-pwdmaxfailure: 8
ads-pwdminage: 86400
ads-pwdminlength: 8
ads-pwdmustchange: TRUE
I think I see where I can be interpreted differently. This is ApacheDS’s behavior:
Before the authentication request the users’s password is expired, but has 1 grace authentication remaining (say, for example, they hadn’t logged in for years). It allows the auth, but that auth consumes the 1 grace authentication, so the response notes that there are zero grace authentications remaining. The client then should force a password change flow. (This is apacheDS’s current behavior and what we see if we use apache’s ldap api). If another auth is attempted after this, only then 8.1.2.3.2 would apply (and it does) sending an invalidCredentials back.
I think what you’re suggesting is that the bind should respond with a 1 for graceAuthNsRemaining on that initial bind, but I don’t agree since the bind *was* the last grace authentication, so there are now none remaining and a zero seems like the proper value to respond with.
But either way you interpret, really, there’s still a problem that it’s not possible to see whether the server actually responded with a zero for graceAuthNsRemaining since the value in the api value defaults to zero and there’s no api method to determine whether that value is just the default or was actually supplied by the server.
-Marcus
--
You received this message because you are subscribed to a topic in the Google Groups "ldaptive" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/ldaptive/nzj62B_Z2js/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
ldaptive+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "ldaptive" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ldaptive+u...@googlegroups.com.