[Samba] Panic action ignored by winbind during crash

Paul Eggleton paule at cjntech.co.nz
Wed May 28 03:18:24 GMT 2003

Hi there,

I am trying to debug a problem with winbind crashing, but the "panic
action" I have set in smb.conf doesn't seem to be working. First, the
message I get in the log.winbindd file is as follows:

------ snip ------
[2003/05/27 17:05:01, 1] libads/ldap_utils.c:ads_do_search_retry(76)
  ads reopen failed after error Success
winbindd: ../../../libraries/libldap/getvalues.c:36: ldap_get_values:
`entry != ((void *)0)' failed.
------ snip ------

I have the panic action set as follows:

        panic action = /bin/sh /usr/local/bin/cjnwbcrash.sh

(I have tried with quotes, the result is the same - the script is not

The reason I am using a script is that I need it to do two things when a
crash occurs:
a) Email me and then sleep (so I can get in and run gdb)
b) Don't run sleep outside working hours as I won't be here to debug it

I also have a cron job which checks if winbind is running every 5
minutes and starts it if it isn't. 

Any hints?


Paul Eggleton                  Ph:    +64-9-4154790
Software Developer             Fax:   +64-9-4154791
CJN Technologies Ltd.          DDI:   +64-9-4154795
http://www.cjntech.co.nz       Email: paule at cjntech.co.nz

More information about the samba mailing list