Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

LDAP LDIF format to XML

by Binford (Sexton)
on Jul 02, 2007 at 17:14 UTC ( #624513=perlquestion: print w/replies, xml ) Need Help??

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

So I have been tasked (or rather, I stupidly volunteered) to help with the conversion of our LDAP users and groups to XML format for a enterprise application that needs it. After a lot of research, I decided that using a combination of Net::LDAP::LDIF with XML::Writer seemed to be the most straightforward but I am hoping that is wrong and someone here knows A BETTER WAY? Mainly cause taking the values of the read_entry() object in LDIF, is still very awkward for each of the disparate elements to be broken up into the large # of XML tags? If these two modules is the best way, does anyone know where there might be some example code that uses them for best effect?

Replies are listed 'Best First'.
Re: LDAP LDIF format to XML
by ghenry (Vicar) on Aug 10, 2007 at 11:08 UTC

    What about DSML?

    They are plenty of tools for that.

    Walking the road to enlightenment... I found a penguin and a camel on the way.....
    Fancy a Just ask!!!
Re: LDAP LDIF format to XML
by andreas1234567 (Vicar) on Aug 10, 2007 at 11:40 UTC

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://624513]
Approved by pKai
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2022-06-30 14:10 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (98 votes). Check out past polls.