FD can end up creating an invalid configuration file
While I went through the config wizard, I declared my LDAP server to be in 'ldap://localhost/', without a port (so it uses the default), and with a trailing slash, which is how URLs normally are terminated.
Later on, FD generated a referral config line basing on what I have provided earlier, but it assumed there was no trailing slash and added another one:
<referral URI="ldap://localhost//dc=foo,dc=cat"
With this configuration, logins fail and FD is unusable.
- The referral construction should avoid adding an extra slash if it's not needed.
- Fusiondirectory should probably be able to ignore this extra slash if it's present.
FWIW, GOsa 2.7.1's wizard, which had not that many questions and generated a smaller config file, had no problems when I configured it exactly the same.
(from redmine: issue id 368, created on 2011-07-26, closed on 2011-09-10)
- Relations:
- relates #399
- Changesets:
- Revision cec1ad69 by Benoit MORTIER on 2011-09-10T21:32:57.000Z:
Fixes: #368 FD can end up creating an invalid configuration file