Hi there,
I would like to know if in a database backend it's possible to know the request binded DN at on the search call?
What I want is to build a wrapper database backend and integrate LDAP protocol with the private protocol used on the backend authentication/authorization system at my work. Our backend system deals with authentication/authorization and search in one request, usually our request is composed of: user + pass + input parameters + atributes (to be returned).
I appreaciate any help!
Regards,
Ricardo Moreira wrote:
I would like to know if in a database backend it's possible to know the request binded DN at on the search call?
Yes. Look at the o_dn/o_ndn (which is a macro pointing to a member of a structure containing fine grained info about the identity operations are being performed as; see slap.h for details).
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it --------------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Email: pierangelo.masarati@sys-net.it ---------------------------------------
openldap-technical@openldap.org