2e494bc Ticket 49014 - ns-accountstatus.pl shows wrong status for accounts inactivated by Account policy plugin

Authored and Committed by mreynolds 7 years ago
    Ticket 49014 - ns-accountstatus.pl shows wrong status for accounts inactivated by Account policy plugin
    
    Bug Description:  ns-accountstatus.pl shows wrong status for accounts inactivated
                      by inactivity.  If there is no acct policy subentry the wrong
                      basedn was used to get the inactivity limit.  This prevented the
                      script from detecting if an account was inactivated due to inactivity.
    
    Fix Description:  If there is no subentry, then use the existing config entry
                      to get the inactivity limit.
    
    https://fedorahosted.org/389/ticket/49014
    
    Reviewed by: nhosoi(Thanks!)