d05a5c6 Return consistent expiration message for forms-based login

Authored and Committed by rcritten 12 years ago
    Return consistent expiration message for forms-based login
    
    We need to inform users when a forms-based login fails due to the
    password needing to be reset. Currently there is no way to distinguish
    a reset case vs an incorrect password.
    
    This will bind the user using a simple LDAP bind over ldapi (by default)
    and if that is successful, check the expiration date against the current
    time.
    
    The UI portion of this that uses this message will come later.
    
    https://fedorahosted.org/freeipa/ticket/2608
    
        
file modified
+39 -2