Hi Chrysa,
we had the same need for a transformation of the dn, so we implemeted a function in LDAP.pm that translates the dn to the appropriate form if a configuration parameter LDAP_TRANSLATE_DN (ldap.conf) is set to 1. The function extracts the uid from the cert, builds the new dn and can continue as usual with the ldap.
is it possible for you to send me the modifications, so we can put it into the official sources ?
Oliver -- Diese Nachricht wurde digital unterschrieben oliwel's public key: http://www.oliwel.de/oliwel.crt Basiszertifikat: http://www.ldv.ei.tum.de/page72
smime.p7s
Description: S/MIME Cryptographic Signature