[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can't log in on workstation

[Petter Reinholdtsen]
> Perhaps we should try to fetch the certificate using a ifup/dhcp hook
> instead of a init.d script?

A simple way to do this is to put a script like this in

# Make sure LDAP certificate is downloaded when the network become
# available, if the init.d script failed to fetch it at boot.

if [ -r /etc/debian-edu/config ] ; then
    . /etc/debian-edu/config

if [ false = "$DHCP_FETCH_LDAP_CERT" ] ; then
    exit 0

case $reason in
    /etc/init.d/fetch-ldap-cert start

Nigel, please test and let us know if it solve your problem.

Btw, can you provide the content of /var/log/syslog on the failing
server?  It should show if there is a race condition.

Happy hacking
Petter Reinholdtsen

Reply to: