Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Applying a LDIF which is as string and not as file

0 views
Skip to first unread message

Cyril Cheneson

unread,
Apr 28, 2009, 4:46:55 AM4/28/09
to perl...@perl.org
HI all,

I have a LDAP structure (ldif format) as perl string.

my $ldap_struct =<<"END";

HERE MY LDIF

END

And I would like to apply the structure to my LDAP server.

Net::LDAP::Ldif accepts file name or file handle only.

Anyone has an idea how I can apply the LDIF string to LDAP?

I m using OpenLDAP

Thanks a lot

Cyril

--
----------------------------------
Cyril Cheneson

I have to do some "real work" now, so don't write anything interesting. :-)
--Larry Wall

0 new messages