Am 18.02.2016 um 12:26 Uhr schrieb Michael Ströder:
Marc Patermann wrote:
Am 17.02.2016 um 19:03 Uhr schrieb Quanah Gibson-Mount:
--On Wednesday, February 17, 2016 5:54 PM +0000 Howard Chu hyc@symas.com wrote:
Marc Patermann wrote:
should chain-uri work with an URI with a blank the DIT path? like in:
Spaces are never legal in URLs, LDAP or otherwise.
In other words, you need to properly encode spaces in URL's, regardless of the type of URL.
tested as well, does not change anything.
Feb 17 18:35:11 slapd[1847]: /etc/openldap/slapd.conf: line 156 (chain-uri "ldap://servername/ou=foo%20bar,c=de") Feb 17 18:35:11 slapd[1847]: /etc/openldap/slapd.conf: line 156: unable to parse uri "(null)" in "uri <uri>" line: URL doesn't begin with "[c]ldap[si]://".
I'd try to remove the double quotes.
from man slapo-chain:
chain-uri "ldap://ldap1.example.com"
but no:
Feb 18 13:41:25 slapd[27747]: /etc/openldap/slapd.conf: line 96 (chain-uri ldap://servername/ou=foo%20bar,c=de) Feb 18 13:41:25 slapd[27747]: /etc/openldap/slapd.conf: line 96: unable to parse uri "(null)" in "uri <uri>" line: URL doesn't begin with "[c]ldap[si]://".
Marc