Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Splitting an LDAP DN into its constiuent parts (groups)

by Anonymous Monk
on Jun 30, 2011 at 11:12 UTC ( #912154=note: print w/ replies, xml ) Need Help??


in reply to Splitting an LDAP DN into its constiuent parts (groups)

Checking http://search.cpan.org/dist/perl-ldap/MANIFEST for dn i find

http://cpansearch.perl.org/src/GBARR/perl-ldap-0.4001/t/01canon_dn.t and I see canonical_dn, which looks useful, so I grep for it,

http://search.cpan.org/grep?cpanid=GBARR&release=perl-ldap-0.4001&string=canonical_dn&i=1&n=1&C=0 and I see ldap_explode_dn, and that is what you want,

Net::LDAP::Util#ldap_explode_dn

  • Comment on Re: Splitting an LDAP DN into its constiuent parts (groups)

Replies are listed 'Best First'.
Re^2: Splitting an LDAP DN into its constiuent parts (groups)
by davis (Vicar) on Jun 30, 2011 at 11:15 UTC

    Ah, I knew that it would have been well solved already. That looks perfect for my needs; thank you.


    davis

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://912154]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2016-06-28 05:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (350 votes). Check out past polls.