Re: Bug#134774: slapd: fails to install
Turns out the reason for this failure to install is actually
on purpose, and I'm not quite sure how to fix it.
The problem is this: when creating a new directory slapd asks
for the admin password and creates a admin entry with that
password. However when running non-interactively we can not
ask for a password so the config script aborts.
I can think of a possible different approaches:
1. change nothing and abort like we do now
2. do not create the database and use a debconf note to inform the
administrator his slapd was installed but can't be used currently.
I really don't want to do that though, since this basically
means falsely telling the packaging system slapd was installed
properly
3. generate a random password ourselves and use a debconf note to
inform the administrator that that password was used
Does anyone have any opinions on what to do? I'm tempted to implement
the third option.
Wichert.
--
_________________________________________________________________
/wichert@wiggy.net This space intentionally left occupied \
| wichert@deephackmode.org http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
Reply to: