[Samba] winbindd pid changes when launched - is this a bug?

Allan Peda pedaa at rockefeller.edu
Fri Jun 14 09:07:01 GMT 2002


I took a look at the pid file generated after starting winbindd in the 
background (redhat's "daemon" shell function in the startup script).

It looks like the pid reported in the file is wrong, unless I start 
winbindd in the foreground.

My klooge in the startup file follows:

WBPID=$(/sbin/pidof winbindd)
ps $WBPID && {
     if [ $(cat $RUNDIR/winbindd.pid) -ne $WBPID ]
     then
         echo $WBPID > $RUNDIR/winbindd.pid
     fi
}
unset WBPID

Just pointing this out:

/a







More information about the samba mailing list