[Bug 364531] Re: Unable to migrate Intrepid slapd.conf configuration to Jaunty
Greek Ordoño
greek.ordono at gmail.com
Sat May 30 07:06:05 BST 2009
This also happens when using ldap backend. I'm suspecting that the
slapd.preinst is the culprit to this bug:
dump_databases() { # {{{
# If the user wants us to dump the databases they are dumped to the
# configured directory.
local db suffix file dir failed slapcat_opts
database_dumping_enabled || return 0
dir=`database_dumping_destdir`
echo >&2 " Dumping to $dir: "
for suffix in `get_suffix`; do
file="$dir/$suffix.ldif"
echo -n " - directory $suffix... " >&2
# Need to support slapd.d migration from preinst
if [ -f "${SLAPD_CONF}" ]; then
slapcat_opts="-f ${SLAPD_CONF}"
else
slapcat_opts="-F ${SLAPD_CONF}"
fi
slapcat ${slapcat_opts} -b "$suffix" > "$file" || failed=1
if [ "$failed" ]; then
rm -f "$file"
echo failed. >&2
exit 1
fi
echo "done." >&2
done
}
--
Unable to migrate Intrepid slapd.conf configuration to Jaunty
https://bugs.launchpad.net/bugs/364531
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.
More information about the Ubuntu-server-bugs
mailing list