Just a quick one, this…
If you install Likewise Open on Debian Squeeze, you may notice that it doesn’t start on boot-up. The reason is because the new dependency-based boot sequence doesn’t like the init scripts Likewise provides.
Luckily, it’s pretty easy to fix. First, make sure you have chkconfig installed (apt-get install chkconfig
if not), change into your /etc/init.d
directory and do this:-
for INIT in lsassd lwiod eventlogd dcerpcd netlogond lwregd srvsvcd; do \ echo "Fixing '${INIT}'..."; \ sed -i -e 's/^#LWI_STARTUP_TYPE_SUSE#/#/g' \ -e 's/Default-Start: 3 5/Default-Start: 2 3 4 5/g' \ -e 's/Default-Stop: 0 1 2 6/Default-Stop: 0 1 6/g' ${INIT}; \ donefor INIT in lsassd lwiod netlogond eventlogd dcerpcd; do \ echo "Disabling ${INIT}..."; \ chkconfig -d ${INIT}; \ donefor INIT in dcerpcd eventlogd netlogond lwiod lsassd; do \ echo "Re-enabling ${INIT}..."; \ chkconfig -a ${INIT}; \ done
This uncomments the SUSE parts of the init scripts, which chkconfig wants. It then calls chkconfig to first delete each entry, and then re-add it to make sure everything’s okay. Reboot, and you should have working domain authentication without having to manually start it up.