4488604 Ticket #48001 - ns-activate.pl fails to activate account if it was disabled on AD

Authored and Committed by nhosoi 9 years ago
    Ticket #48001 - ns-activate.pl fails to activate account if it was disabled on AD
    
    Description: commit 345d2c0870d7e8b1005a13cc9cf93865ff0cb53d
    introduced a coverity defect - 12989 Dereference after null check.
    
    (cherry picked from commit 9300e96ae0409ea5b6d24b9af0a218ac00c03ecc)
    (cherry picked from commit 411a8e7a2a0c2317d20c32ccbf7b801d3a11b80c)