Ignore:
Timestamp:
05/28/09 22:24:31 (15 years ago)
Author:
nanardon
Message:
  • finish set_password in Ad
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LATMOS-Accounts/bin/la-passwd

    r189 r207  
    2222    die "Object $otype $ARGV[0] not found\n"; 
    2323}; 
    24 $obj->set_password($ARGV[1]); 
     24if ($obj->set_password($ARGV[1])) { 
     25    print "Password succefully changed\n"; 
     26    exit 0; 
     27} else { 
     28    warn "Error when trying to change password\n"; 
     29    exit 1; 
     30} 
Note: See TracChangeset for help on using the changeset viewer.