On 08/12/2008 03:53 PM, John Arends wrote:
> Now that I'm binding ok, I'm trying to create a user but running into
> additional problems.
> 
> I'm running into this error:
> 
> failed to add entry: 00000057: LdapErr: DSID-0C090B38, comment: Error in
> attribute conversion operation, data 0, vece at ./create.pl line 36.
> 

>                          'unicodePwd'    => $unipwd,

iirc, you cannot set unicodePwd in the same add() transaction as creating the 
user. At
least, that was my experience. Net::LDAP::Class does it in 2 steps internally.

 my $user = MyUser->new( username => $uid, ldap => $ldap, password => $secret );
 $user->create;


-- 
Peter Karman  .  [EMAIL PROTECTED]  .  http://peknet.com/

Reply via email to