fbd32c4 Ticket 49327 - password expired control not sent during grace logins

Authored and Committed by mreynolds 6 years ago
    Ticket 49327 - password expired control not sent during grace logins
    
    Bug Description:  When a password is expired, but within the grace login limit,
                      we should still send the expired control even though we allowed
                      the bind.
    
    Fix Description:  new_new_passwd() returned a variety of result codes that required
                      the caller to set the response controls.  This was hard to read and
                      process.  Instead I added all the controls inside the function, and
                      return success or failure to the caller.
    
    https://pagure.io/389-ds-base/issue/49327
    
    Reviewed by: gparente & tbordaz (Thanks!!)
    
        
file modified
+2 -14
file modified
+17 -12
file modified
+2 -18