Re: R: Problem with modify/replace function

Chris Ridd <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.ldap
Message-ID <[email protected]>
On 22 Dec 2010, at 09:02, LIBRIZZI FRANCESCO <[email protected]> wrote:

> Hello Chris,
> thank you for your answer :)
> I replace  all 300 members at once because I'm importing data in my LDAP server from Active Directory Server.
> I'm using SSL/TLS for all operations.
> 
> I thought to use modify/add and modify/delete, but in this case I should implement a custom compare method to understand which values are to add and which are to delete. In this way maybe the computational time is higher than using the replace method.

I agree, using modify/replace does make more sense here.

> On my development machine I updated the perl-LDAP library to the 0.40-1 version. I downloaded it directly from Red Hat repository, and I built it for RHEL 5.4. After this upgrade I can replace all 300 members at once.

Ah, so it probably was the SSL problem. Glad you're fixed :-)

Cheers,

Chris
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.