After a power shortage, nobody could connect to the Samba shares of a Debian Linux server, and a look at “top” on the Linux server showed that the winbindd process used 100% cpu.
The solution was easy:
a kill -9 <processnumber> to the running winbindd process.
Find and remove the gencache.tdb file (/var/lib/samba/gencache.tdb on my Debian server).
net rpc join -U administrator%<admin_password>
This fixed the problem.
Configuration: Domain master is a Windows SBS 2003, main file server a Debian Linux Lenny server using winbind as primary autentication mechanism.