[Samba] winbind crashes after clean build of 3.0.22

Paul Hoehne phoehne at harttech.com
Tue May 16 22:34:53 GMT 2006

Using the latest source for samba (3.0.22) on RHEL4 (32-bit X86), the build
appears to run smoothly.  SMBD and NMBD start and seem to run without
problem.  However, the following happens when WINBIND is started the
following happens:


<From smbd.log>


[2006/05/16 18:22:23, 0] lib/util.c:smb_panic2(1554)

  PANIC: Could not fetch our SID - did we join?


[2006/05/16 18:22:23, 0] lib/util.c:smb_panic2(1562)

  BACKTRACE: 6 stack frames:

   #0 /opt/samba/sbin/winbindd(smb_panic2+0x1ce) [0xd6bfa3]

   #1 /opt/samba/sbin/winbindd(smb_panic+0x1d) [0xd6bdd0]

   #2 /opt/samba/sbin/winbindd(init_domain_list+0x7f) [0xd074d1]

   #3 /opt/samba/sbin/winbindd(main+0x53c) [0xd012b2]

   #4 /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x1a1e23]

   #5 /opt/samba/sbin/winbindd [0xcff3c9]


Winbind has died at this point.  Any thoughts on the configuration?  The
ldap libraries are openldap-2.2.13 and  MIT Kerberos 1.3.4.  The same also
happens when I upgrade to openldap 2.3.20 libs and hiemdal Kerberos 0.7.2.
Any thoughts?


Build options:

./configure --with-winbind --with-acl-support --with-libsmbclient
--with-smbmount --with-krb5=/usr --with-ldap=/usr --with-ads


I set the ld.so.config file to first include /opt/samba/lib


I replaced the /lib/libnss_winbind.so and /lib/libnss_wins.so libraries with
the new ones from $(SAMBA_SROUCE)/source/nsswitch.


Below is configuration information, this was a running system under 3.0.10
as shipped with RHEL4


Smb.conf (sanitized)


        interfaces = xxx.xxx.xxx.xxx/24 lo

        bind interfaces only = yes

        workgroup = MY-DOMAIN

        netbios name = MY-HOSTNAME

        server string = MY-HOSTNAME

        log file = /var/log/samba/smbd.log

        max log size = 50

        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

        security = ADS

        realm = MY-REALM

        password server = *

        domain master = no

        preferred master = no

        dns proxy = no

        encrypt passwords = yes


        #add user script = /usr/sbin/useradd -g users -s /bin/bash %u


        idmap uid = 15000-20000

        idmap gid = 15000-20000

        winbind use default domain = no

        winbind separator = +

        template shell = /bin/bash

        winbind enum groups = yes

        winbind enum users = yes

        template homedir = /home/%D/%U


        comment = Home Directories

        browseable = yes

        writeable = yes


krb5.conf (sanitized)


 default_realm = MY-REALM



  MY-REALM = {

    kdc = my-pdc.my-domain.com




  .harttech.com = HARTTECH.COM

  harttech.com = HARTTECH.COM



More information about the samba mailing list