Re: Creating an entry to add or modify values

2009-05-14 Thread Peter Marschall
Hi Dmitry, On Thursday, 14. May 2009, Dmitry Katsubo wrote: > So, if one want the entry to be OK both for adding and for replacing do > the following: What do you mean exactly by "one entry both for adding and replacing" ? Do you want to add/replace attributes in an existing entry ? Or do you wan

Re: Creating an entry to add or modify values

2009-05-14 Thread Dmitry Katsubo
Hi all! After some playing with the module I've found out, that the type of the entity should be defined _before_ you are going to add or replace something in it. That should be mentioned in Net::LDAP::Entry pod, I think. So, if you do: my $entry = Net::LDAP::Entry->new('DN'); $entry->add('givenN

Creating an entry to add or modify values

2009-05-11 Thread Dmitry Katsubo
Dear Perl LDAP users! I have some difficulties while trying to update the LDAP entry. I have looked through the mail archive and I see that this topic is raised quite often. Ideally I would like to create an entry, that I would like to use either for adding or for updating (the choice is not know