Re: ldap_explode_dn

2005-07-06 Thread Graham Barr
On Jul 6, 2005, at 4:52 PM, Young, Darren wrote: Anyone have an example of using Net::LDAP::Util->ldap_explode_dn() ? I'm lost on the part "Explodes the given DN into an array of hashes and returns a reference to this array"... If (should) I say: my $dn = "

ldap_explode_dn

2005-07-06 Thread Young, Darren
Anyone have an example of using Net::LDAP::Util->ldap_explode_dn() ? I'm lost on the part "Explodes the given DN into an array of hashes and returns a reference to this array"... If (should) I say: my $dn = "uid=dyoung2, ou=GSB, dc=uchicago, dc=edu"; my @

Re: converse of 'ldap_explode_dn'?

2004-06-16 Thread Graham Barr
> Perhaps I'm missing something obvious in the docs, but is there a > converse to ldap_explode_dn from Net::LDAP::Util? > > To wit, some method of taking a structure of RDNs, and constructing > a DN out of it, doing any case-smashing, RFC2253 string encoding, > etc. You

converse of 'ldap_explode_dn'?

2004-06-16 Thread Brian Reichert
Perhaps I'm missing something obvious in the docs, but is there a converse to ldap_explode_dn from Net::LDAP::Util? To wit, some method of taking a structure of RDNs, and constructing a DN out of it, doing any case-smashing, RFC2253 string encoding, etc. I'm prepared to roll my own sp