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 ?
Thanks you
Gregory
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 ---------------------------------------
The configuration example come from the 2.3 man page, I hope it works with this version.
Could you mail me this part of documentation, I don't find it in the man page I have.
It is documented in HEAD/2.4
Thx you for your help
Selon Pierangelo Masarati ando@sys-net.it:
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
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
greg3d@free.fr wrote:
The configuration example come from the 2.3 man page, I hope it works with this version.
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 ---------------------------------------
Hello Pierangelo,
Thanks you for your answers, it works well.
Grégory
Selon Pierangelo Masarati ando@sys-net.it:
greg3d@free.fr wrote:
The configuration example come from the 2.3 man page, I hope it works with
this
version.
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-software@openldap.org