Jump to content

Retrieving binary attributes from LDAP with PHP


abbyalz

Recommended Posts

Hi,

 

I used PHP to create certificates for users and stored them in an LDAP server in the "userCertificate;binary" attribute. My question sis now I need to fetch the certificates from the LDAP server and compare them with the one sent from the users browser , if they match->authenticate the user, if not->give certificate not found msg.

My problem is I tried to get the certificate usign the ldap_get_entries function but that didnt work, had anyone tried to do this before?

How do I get the certificate from the LDAP database using PHP?

Please helppppppppppp.

 

Abby

Note: the certificates are in .der format

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.