Ignore:
Timestamp:
01/17/17 17:38:36 (7 years ago)
Author:
nanardon
Message:

Add a way to inject UNIX password into base supporting it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Objects.pm

    r1865 r1935  
    551551 
    552552    return fascist_check($password, $dictionary); 
     553} 
     554 
     555=head2 InjectCryptPasswd($cryptpasswd) 
     556 
     557Inject a password encrypted using standard UNIX method. 
     558 
     559=cut 
     560 
     561sub InjectCryptPasswd { 
     562    my ($self, $cryptpasswd) = @_; 
     563 
     564    if ($self->can('_InjectCryptPasswd')) { 
     565        return $self->_InjectCryptPasswd($cryptpasswd); 
     566    } else { 
     567        $self->base->log('Injecting unix crypt password is not supported'); 
     568        return; 
     569    } 
    553570} 
    554571 
Note: See TracChangeset for help on using the changeset viewer.