[Date Prev][Date Next] [Chronological] [Thread] [Top]

Fwd: getting bindDN in perl script



Hi,

I needed to access from an LDAP client (Outlook or Thunderbird) some data stored in several locations (an OpenLDAP server with back-hdb, and a PostgreSQL database).

I wrote a perl script used with back-perl, and everything works fine. The client queries that back-perl server, wich in turn retrieves data both from the back-hdb server and the PostgreSQL server, does some formatting on it, and returns it to the client

It works fine, except that I have to use a standard bindDN/password from the perl script to access the back-hdb server, because I don't know how to retrieve in that perl script the initial bindDN/password (the credentials provided initially by the client).

I guess there is a way to do it, because I found some links like http://osdir.com/ml/network.openldap.general/2002-09/msg00021.html where people seem to have been able to get the bindDN and password provided by the client, but they didn't say how and I couldn't figure it out.

Does anybody know if it's possible to get, within the perl script, the bindDN/password provided by the client ? Thanks Ben