Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

LDAP LDIF format to XML

by Binford (Sexton)
on Jul 02, 2007 at 17:14 UTC ( [id://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 yourname@perl.me.uk? Just ask!!!
Re: LDAP LDIF format to XML
by andreas1234567 (Vicar) on Aug 10, 2007 at 11:40 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found