Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 pondering the Monastery: (5)
As of 2016-08-25 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (359 votes). Check out past polls.