strat has asked for the wisdom of the Perl Monks concerning the following question:

Dear monks,

it sometimes is painful when you want to add or change Net::LDAP::Entry objects in an LDAP directory server, and something goes wrong and the only error message arises is something like Object Class Violation or Constraint Violation.

So I am developing an enhancement to Net::LDAP::Entry which offers to check an object against the LDAP schema, either after a failed add/update or even before an update and tell the developer what is wrong.

I'd like to split up the functionality into two part:

  1. A module containing the necessary regular expressions, with name: Regexp::Common::ldapEntry or the like.
  2. A module which checks a Net::LDAP::Entry object with the REs from 1, with name: Net::LDAP::Entry::SchemaCheck or Net::LDAP::Entry::CheckRFC2252 or the like.

Which namespaces would you use?

As soon as it is finished and tested, I'd like to publish it on CPAN.

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8."

  • Comment on Looking for names for Net::LDAP::Entry enhancement module

Replies are listed 'Best First'.
Re: Looking for names for Net::LDAP::Entry enhancement module
by g0n (Priest) on Apr 22, 2007 at 11:24 UTC
    I'd strongly recommend posting this to the perl-ldap mailing list. You'll likely get some prompt feedback on how the module could be used and an appropriate namespace consistent with the existing namespace structure.

    My suggestion would be something like Net::LDAP::Entry::Validate or Net::LDAP::Entry::Check


    "If there is such a phenomenon as absolute evil, it consists in treating another human being as a thing."
    John Brunner, "The Shockwave Rider".