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

Re: ldap rwm-rewriteMap binddn



greg3d@free.fr wrote:
Hi,


I am in the configuration described in the slapo-rwm man pages :

# Bind with email instead of full DN: we first need
# an ldap map that turns attributes into a DN (the
# argument used when invoking the map is appended to
# the URI and acts as the filter portion)
rwm-rewriteMap ldap attr2dn "ldap://host/dc=my,dc=org?dn?sub";

My problem is for doing this query ( obtains the dn of the personn from his mail
attribut ), I need to be "bindded". I have the binddn and the password but I
don't know how to specify it the ldap:// URI

Could you indicate me, how to specify the binddn and the password in the URI ?

It is documented in HEAD/2.4 man page for slapo-rwm(5); I'm not sure whether 2.3 supports it, though.


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
---------------------------------------