cgrzemba / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

1c6b1c9 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!)
    
    (cherry picked from commit 2e494bc7e5e73f97e8a425b22706418ff8879336)