Ah, okay, you are still using the slapd.conf file, rather than the
slapd.d configuration directory, so your error and the one in #450645
are more like cousins than siblings :)
> # Backend specific directives apply to this backend until another
> # 'backend' directive occurs
> database hdb
> suffix "dc="domain"
> rootdn "cn=admin,dc=domain"
> rootpw "{SSHA}<some text for a password>"
> directory "/var/lib/ldap"
Does the "suffix' line in our slapd.conf file really have three double-
quote characters in it? If so, I suspect that's the trigger in your
case...
Specifically, when the postinst script builds the list of suffixes to process,
it looks for lines that start with "suffix" and then removes *all* the "
characters from the value string found -- so when it goes back to find the
directory whose permissions need to be updated, it is looking for a line that
says:
suffix "dc=domain"
This doesn't match the actual existing line,
suffix "dc="domain"
, and so the search fails. In this case, the get_directory() function call
would return an empty string, and when "chown" is called with that empty string
as the target path, it would return the
invalid argument: `'
error message.
--
slapd dist-upgrade chown: invalid argument: `'
https://bugs.launchpad.net/bugs/632051
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs