Public bug reported:
If the FQDN of a server has trailing dot ( like foo.bar. ) , the postinst
script will try to create base dn with trailing empty "dc=" element (like
"dc=bar,dc=") and this fails the install.
Quick solution - change the script to remove any trailing dot before
replacing dots with "dc="
slapd.postinst
517c517
< local basedn="dc=`echo $RET|sed 's/\./,dc=/g'`"
---
> local basedn="dc=`echo $RET|sed "s/\.$//" | sed 's/\./,dc=/g'`"
** Affects: openldap2.2 (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
slapd.postinst has problem creating base dn
https://launchpad.net/bugs/69948
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs