Ignore:
Timestamp:
01/07/16 15:55:13 (9 years ago)
Author:
nanardon
Message:

Upgrade entry user to sambaAccount to store NT encrypted password

Having password stored in NT windows forms will allow to use them for mschap(v2)
authentication

File:
1 edited

Legend:

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

    r1493 r1603  
    225225} 
    226226 
     227sub _update_class { 
     228    my ($self, %attr) = @_; 
     229 
     230    $self->base->log( 
     231        LA_NOTICE, 
     232        "Updating ObjectClass for %s/%s: %s", 
     233        $self->type, $self->id, join(', ', $self->_my_ldap_classes) 
     234    ); 
     235    $self->{entry}->replace( 
     236        'objectClass' => [ $self->_my_ldap_classes ], 
     237        %attr, 
     238    ); 
     239} 
     240 
    2272411; 
    228242 
Note: See TracChangeset for help on using the changeset viewer.