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

Re: Build a "fake" LDAP



Am Mon, 4 Jul 2011 19:15:33 -0300
schrieb Joao Robertson Kramer Santana <KramerS@TCU.gov.br>:

> Hi,
> 
> I have an Oracle database table with usernames and their encryted
> passwords.
> 
> I would like to build an LDAP Server only for authentication. It
> should communicate with the client, receive the username/password,
> and make the authentication using the Oracle database table.
> 
> I just want the clients to expect ('think') they are 'talking' with a
> true LDAP Server, but in fact it's just an application (Java Servlet)
> that uses the LDAP protocol between the client/server for
> authentication. In other words, the client does not know what happens
> inside the server, and the server does not use a true LDAP
> infrastructure.
> 
> Does anybody has an ideia of how can I implement it?
> 
> Is it possible to use OpenLDAP to simulate the conversation between
> the server and a client?
> 
> I would appreciate any help.

man slapd-sql(5), get the sources, there are examples in
servers/slapd/back-sql/rdbms_depend/oracle/


-Dieter

-- 
Dieter KlÃnter | Systemberatung
sip: 7770535@sipgate.de 
http://www.daasi.de/ldapcon2011/
GPG Key ID:8EF7B6C6