For Programmers: Free Programming Magazines  


Home > Archive > LDAP > December 2005 > HowTo retrieve a userCertificate;binary from ldif file using Net::LDAP::LDIF









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author HowTo retrieve a userCertificate;binary from ldif file using Net::LDAP::LDIF
Bob Rion

2005-12-02, 9:46 pm

Hello





I am trying to extract a userCertificate;binary object from an ldif file
using Net::LDAP::LDIF and even in this trivial example the @entries is
not populated, the other objects and attributes are?



use Net::LDAP::LDIF;

$ldif = Net::LDAP::LDIF->new( "test.ldif", "r", onerror => 'undef' );

@entries = $ldif->read( );



The goal is to read the ldif file, extract the certificate information
from the ldif file and store back into a DER format file.





Thanks

Bob Rion




Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com