In the immortal words of Ed Miller: > The following code attempts to loop through the $ldif file, getting one > Entry at a time and performing the changes contained in that Entry > object on the $ldap server. Here was my first stab: > > while (my $entry = $ldif->read_entry()) > { > $mesg = $ldap->modify($entry); ## THE ACTION LINE > $mesg->code && die $mesg->error; > }
You're using the wrong method... try this instead: $mesg = $entry->update($ldap); %% Christopher A. Bongaarts %% [EMAIL PROTECTED] %% %% Internet Services %% http://umn.edu/~cab %% %% University of Minnesota %% +1 (612) 625-1809 %%