[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Fwd: getting bindDN in perl script
- To: openldap-technical@openldap.org
- Subject: Fwd: getting bindDN in perl script
- From: Benin Technologies <benintechnologies@yahoo.fr>
- Date: Wed, 15 May 2013 09:29:32 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1368606576; bh=PqCUb7peZ6mMfDLEIuOe+MpF1na66r1I6IWauTeLwtE=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Forwarded-Message-Id:Content-Type:Content-Transfer-Encoding; b=PHaerS595IZwP9oK/umVjsUmDRyTz7PwRtzOsmaqNYYt6CrrwfVtbh0hp4Kc+LP2f8oVnODqYZfw2F1/ybebuVi1q1hHsAO+RobCkiwzKS3IriyWfsN/8XympYvdzNLh3TsyXtymZD3qE02zdEGnmvZ+Ibk0Rdao+B8LJdgYmR0=
- In-reply-to: <51933CCD.40900@yahoo.fr>
- References: <51933CCD.40900@yahoo.fr>
- User-agent: Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
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