Problem with winbind

Latest response

I have several linux servers integrated to an Active Directory using winbind. The problem is, sometimes when logrotate sends the sighup signal to smbd, nmbd and winbindd, winbind crashes. I've only found a bug report on this issue, closed because the error can't be reproduced.

 

This is what I get in the winbind.log . Somebody has got the same problem?

 

 

[2012/04/15 04:02:09, 3] nsswitch/winbindd.c:winbind_check_sighup(738)
  got SIGHUP
*** glibc detected *** winbindd: free(): invalid pointer: 0x00002b93caaad406 ***
======= Backtrace: =========
/lib64/libc.so.6[0x2b93b10c345f]
/lib64/libc.so.6(cfree+0x4b)[0x2b93b10c38bb]
winbindd[0x2b93af2bf657]
winbindd(lp_do_parameter+0x528)[0x2b93af2ab538]
winbindd[0x2b93af2adb1a]
winbindd(pm_process+0x179)[0x2b93af2adfd9]
winbindd(lp_load+0x13e)[0x2b93af2ab80e]
winbindd[0x2b93af241d6c]
winbindd(winbind_check_sighup+0x6f)[0x2b93af24290f]
winbindd(main+0x9e1)[0x2b93af243521]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x2b93b106e994]
winbindd[0x2b93af241839]
======= Memory map: ========
2b93af1eb000-2b93af468000 r-xp 00000000 fd:00 2623630                    /usr/sbin/winbindd
2b93af468000-2b93af469000 rw-s 00000000 fd:00 1634233                    /var/cache/samba/messages.tdb
2b93af469000-2b93af470000 rw-s 00000000 fd:00 1634255                    /var/cache/samba/netsamlogon_cache.tdb
2b93af668000-2b93af67a000 rw-p 0027d000 fd:00 2623630                    /usr/sbin/winbindd
2b93af67a000-2b93af68c000 rw-p 2b93af67a000 00:00 0
2b93af68c000-2b93af6a8000 r-xp 00000000 fd:00 4802786                    /lib64/ld-2.5.so
2b93af6a8000-2b93af6aa000 rw-p 2b93af6a8000 00:00 0
2b93af6aa000-2b93af6ca000 r--s 00000000 fd:00 2973431                    /usr/lib64/samba/upcase.dat
2b93af6ca000-2b93af6ea000 r--s 00000000 fd:00 2973428                    /usr/lib64/samba/lowcase.dat
2b93af8a8000-2b93af8a9000 r--p 0001c000 fd:00 4802786                    /lib64/ld-2.5.so
2b93af8a9000-2b93af8aa000 rw-p 0001d000 fd:00 4802786                    /lib64/ld-2.5.so
2b93af8aa000-2b93af8b3000 r-xp 00000000 fd:00 4803012                    /lib64/libcrypt-2.5.so
2b93af8b3000-2b93afab2000 ---p 00009000 fd:00 4803012                    /lib64/libcrypt-2.5.so
2b93afab2000-2b93afab3000 r--p 00008000 fd:00 4803012                    /lib64/libcrypt-2.5.so
2b93afab3000-2b93afab4000 rw-p 00009000 fd:00 4803012                    /lib64/libcrypt-2.5.so
2b93afab4000-2b93afae2000 rw-p 2b93afab4000 00:00 0
2b93afae2000-2b93afaf3000 r-xp 00000000 fd:00 4803099                    /lib64/libresolv-2.5.so
2b93afaf3000-2b93afcf3000 ---p 00011000 fd:00 4803099                    /lib64/libresolv-2.5.so
2b93afcf3000-2b93afcf4000 r--p 00011000 fd:00 4803099                    /lib64/libresolv-2.5.so
2b93afcf4000-2b93afcf5000 rw-p 00012000 fd:00 4803099                    /lib64/libresolv-2.5.so
2b93afcf5000-2b93afcf7000 rw-p 2b93afcf5000 00:00 0
2b93afcf7000-2b93afd0c000 r-xp 00000000 fd:00 4802966                    /lib64/libnsl-2.5.so
2b93afd0c000-2b93aff0b000 ---p 00015000 fd:00 4802966                    /lib64/libnsl-2.5.so
2b93aff0b000-2b93aff0c000 r--p 00014000 fd:00 4802966                    /lib64/libnsl-2.5.so
2b93aff0c000-2b93aff0d000 rw-p 00015000 fd:00 4802966                    /lib64/libnsl-2.5.so
2b93aff0d000-2b93aff10000 rw-p 2b93aff0d000 00:00 0
2b93aff10000-2b93aff12000 r-xp 00000000 fd:00 4802969                    /lib64/libdl-2.5.so
2b93aff12000-2b93b0112000 ---p 00002000 fd:00 4802969                    /lib64/libdl-2.5.so
2b93b0112000-2b93b0113000 r--p 00002000 fd:00 4802969                    /lib64/libdl-2.5.so
2b93b0113000-2b93b0114000 rw-p 00003000 fd:00 4802969                    /lib64/libdl-2.5.so
2b93b0114000-2b93b011b000 r-xp 00000000 fd:00 2618275                    /usr/lib64/libpopt.so.0.0.0
2b93b011b000-2b93b031b000 ---p 00007000 fd:00 2618275                    /usr/lib64/libpopt.so.0.0.

 

[2012/04/15 04:02:09, 3] nsswitch/winbindd.c:winbind_check_sighup(738)
  got SIGHUP
*** glibc detected *** winbindd: free(): invalid pointer: 0x00002b93caaad406 ***
======= Backtrace: =========
/lib64/libc.so.6[0x2b93b10c345f]
/lib64/libc.so.6(cfree+0x4b)[0x2b93b10c38bb]
winbindd[0x2b93af2bf657]
winbindd(lp_do_parameter+0x528)[0x2b93af2ab538]
winbindd[0x2b93af2adb1a]
winbindd(pm_process+0x179)[0x2b93af2adfd9]
winbindd(lp_load+0x13e)[0x2b93af2ab80e]
winbindd[0x2b93af241d6c]
winbindd(winbind_check_sighup+0x6f)[0x2b93af24290f]
winbindd(main+0x9e1)[0x2b93af243521]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x2b93b106e994]
winbindd[0x2b93af241839]
======= Memory map: ========
2b93af1eb000-2b93af468000 r-xp 00000000 fd:00 2623630                    /usr/sbin/winbindd
2b93af468000-2b93af469000 rw-s 00000000 fd:00 1634233                    /var/cache/samba/messages.tdb
2b93af469000-2b93af470000 rw-s 00000000 fd:00 1634255                    /var/cache/samba/netsamlogon_cache.tdb
2b93af668000-2b93af67a000 rw-p 0027d000 fd:00 2623630                    /usr/sbin/winbindd
2b93af67a000-2b93af68c000 rw-p 2b93af67a000 00:00 0
2b93af68c000-2b93af6a8000 r-xp 00000000 fd:00 4802786                    /lib64/ld-2.5.so
2b93af6a8000-2b93af6aa000 rw-p 2b93af6a8000 00:00 0
2b93af6aa000-2b93af6ca000 r--s 00000000 fd:00 2973431                    /usr/lib64/samba/upcase.dat
2b93af6ca000-2b93af6ea000 r--s 00000000 fd:00 2973428                    /usr/lib64/samba/lowcase.dat
2b93af8a8000-2b93af8a9000 r--p 0001c000 fd:00 4802786                    /lib64/ld-2.5.so
2b93af8a9000-2b93af8aa000 rw-p 0001d000 fd:00 4802786                    /lib64/ld-2.5.so
2b93af8aa000-2b93af8b3000 r-xp 00000000 fd:00 4803012                    /lib64/libcrypt-2.5.so
2b93af8b3000-2b93afab2000 ---p 00009000 fd:00 4803012                    /lib64/libcrypt-2.5.so
2b93afab2000-2b93afab3000 r--p 00008000 fd:00 4803012                    /lib64/libcrypt-2.5.so
2b93afab3000-2b93afab4000 rw-p 00009000 fd:00 4803012                    /lib64/libcrypt-2.5.so
2b93afab4000-2b93afae2000 rw-p 2b93afab4000 00:00 0
2b93afae2000-2b93afaf3000 r-xp 00000000 fd:00 4803099                    /lib64/libresolv-2.5.so
2b93afaf3000-2b93afcf3000 ---p 00011000 fd:00 4803099                    /lib64/libresolv-2.5.so
2b93afcf3000-2b93afcf4000 r--p 00011000 fd:00 4803099                    /lib64/libresolv-2.5.so
2b93afcf4000-2b93afcf5000 rw-p 00012000 fd:00 4803099                    /lib64/libresolv-2.5.so
2b93afcf5000-2b93afcf7000 rw-p 2b93afcf5000 00:00 0
2b93afcf7000-2b93afd0c000 r-xp 00000000 fd:00 4802966                    /lib64/libnsl-2.5.so
2b93afd0c000-2b93aff0b000 ---p 00015000 fd:00 4802966                    /lib64/libnsl-2.5.so
2b93aff0b000-2b93aff0c000 r--p 00014000 fd:00 4802966                    /lib64/libnsl-2.5.so
2b93aff0c000-2b93aff0d000 rw-p 00015000 fd:00 4802966                    /lib64/libnsl-2.5.so
2b93aff0d000-2b93aff10000 rw-p 2b93aff0d000 00:00 0
2b93aff10000-2b93aff12000 r-xp 00000000 fd:00 4802969                    /lib64/libdl-2.5.so
2b93aff12000-2b93b0112000 ---p 00002000 fd:00 4802969                    /lib64/libdl-2.5.so
2b93b0112000-2b93b0113000 r--p 00002000 fd:00 4802969                    /lib64/libdl-2.5.so
2b93b0113000-2b93b0114000 rw-p 00003000 fd:00 4802969                    /lib64/libdl-2.5.so
2b93b0114000-2b93b011b000 r-xp 00000000 fd:00 2618275                    /usr/lib64/libpopt.so.0.0.0
2b93b011b000-2b93b031b000 ---p 00007000 fd:00 2618275                    /usr/lib64/libpopt.so.0.0.

Responses

Hi Enrique.  My name is Chris Robinson, and I'm a Technical Account Manager here at Red Hat.  You have an interesting/frustrating problem here with winbind I see.  What version of RHEL are you on?  If you're on RHEL5, you might want to look into updating samba to samba3x (there appears to be a problem on older versions where the file descriptors are exhausted by the too many socket connections of winbind.  If you're still experiencing this issue, I'd suggest opening up a case with support ( http://access.redhat.com/support/cases/new )  so we can get some more data and logs to dig deeper into your problem.  If you have any other data you can share here I'd be glad to take a look at it with you.

 

Regards,

Chris