develooper Front page | perl.ldap | Postings from July 2018

Re: what is the best practice to modrdn for branch of objects?

Thread Previous
Peter Marschall
July 1, 2018 07:16
Re: what is the best practice to modrdn for branch of objects?
Message ID:

Am Dienstag, 19. Juni 2018, 08:45:08 CEST schrieb Chris Ridd:
> > On 19 Jun 2018, at 05:58, Zeus Panchenko <> wrote:
> > 
> > Chris Ridd <> wrote:
> >> Net::LDAP's moddn method does not take a „recursively“ option.
> > 
> > may it sound sane to add it to the method?
> > 
> >> The LDAP modifydn operation is already defined to move all the entry's
> >> children.
> > 
> > I believe, it'd be great to have something like that in Net::LDAP too …
> Well that’s up to Peter, but I would say that no it doesn’t make sense
> because the operations in only do what the RFCs describe.

perl-ldap's first objective is to make the LDAP operations specified in the 
LDAP specs available to Perl.
The operation defined in the specs provide a clear, well defined foundation.

I do not intend to modify the base operations from the specs.

> I think you should write your own wrapper/utility function that does what
> your use case needs.
This is definitely preferable.

perl ldap has the Net::LDAP::Extra module that allows for easy extension (see
Net::LDAP::Extra::AD, Net::LDAP::Extra::eDirectory

If you provide code that is reasonably generic (and does not only fulfill your 
specific use case), I may consider including it. (No guarantee)


Peter Marschall

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About