[Samba] smbd panic on security = ADS

Brian Milco bcmilco at hotmail.com
Tue Jul 18 17:42:17 GMT 2006


I have a samba server that was updated to samba v3.0.22 and is not working.

It is a fileserver for the network, it's a member of the ADS and it was 
working perfectly up until saturday.

It doesn't panic when I change security = ADS to security = server, 
unfortunately I need ADS auth.

I've tried to down grade back to 3.0.14a with no luck, It looks like it 
might be samba's interaction with libldap and or libnss_mdns, both of which 
I've tried to downgrade as well.

Thanks for any help,

Brian

smbd.log:
[2006/07/18 09:22:53, 0] lib/fault.c:fault_report(36)
  ===============================================================
[2006/07/18 09:22:53, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 15071 (3.0.22)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2006/07/18 09:22:53, 0] lib/fault.c:fault_report(39)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2006/07/18 09:22:53, 0] lib/fault.c:fault_report(40)
  ===============================================================
[2006/07/18 09:22:53, 0] lib/util.c:smb_panic2(1554)
  PANIC: internal error
[2006/07/18 09:22:53, 0] lib/util.c:smb_panic2(1562)
  BACKTRACE: 25 stack frames:
   #0 /usr/sbin/smbd(smb_panic2+0x78) [0x81ffea8]
   #1 /usr/sbin/smbd(smb_panic+0x19) [0x82000a5]
   #2 /usr/sbin/smbd [0x81ee1b5]
   #3 [0xffffe420]
   #4 /lib/libnss_mdns.so.2 [0xb77826d3]
   #5 /lib/libnss_mdns.so.2 [0xb7782941]
   #6 /lib/libnss_mdns.so.2(mdns_query_ipv4+0xa7) [0xb7782a24]
   #7 /lib/libnss_mdns.so.2(_nss_mdns_gethostbyaddr_r+0x134) [0xb77840c0]
   #8 /lib/tls/i686/cmov/libc.so.6(gethostbyaddr_r+0x156) [0xb7cdb1f6]
   #9 /lib/tls/i686/cmov/libc.so.6(getnameinfo+0x41c) [0xb7ce328c]
   #10 /usr/lib/libldap_r.so.2(ldap_pvt_get_hname+0x5a) [0xb7f3af24]
   #11 /usr/lib/libldap_r.so.2(ldap_host_connected_to+0x132) [0xb7f36bc9]
   #12 /usr/lib/libldap_r.so.2(ldap_int_open_connection+0x1bb) [0xb7f232a5]
   #13 /usr/lib/libldap_r.so.2(ldap_new_connection+0x7d) [0xb7f34544]
   #14 /usr/lib/libldap_r.so.2(ldap_open_defconn+0x3d) [0xb7f22c71]
   #15 /usr/lib/libldap_r.so.2(ldap_open+0x43) [0xb7f22fa0]
   #16 /usr/sbin/smbd(ldap_open_with_timeout+0x42) [0x8267e51]
   #17 /usr/sbin/smbd(ads_try_connect+0x44) [0x8267f8a]
   #18 /usr/sbin/smbd(ads_connect+0x53d) [0x826dbdf]
   #19 /usr/sbin/smbd(check_published_printers+0xb2) [0x822918c]
   #20 /usr/sbin/smbd(nt_printing_init+0x2e0) [0x822960b]
   #21 /usr/sbin/smbd(print_backend_init+0x148) [0x8218821]
   #22 /usr/sbin/smbd(main+0x3b4) [0x828afc7]
   #23 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2) [0xb7c11ea2]
   #24 /usr/sbin/smbd [0x807ebb1]


(I've sanitized the smb.conf file but it worked perfectly for the last 6 
months to a year as-is.)

[global]
        workgroup = DOMAINGROUP
        realm = DOMAIN.LOCAL
        server string =
        security = ADS
        password server = 192.168.1.10
        log file = /var/log/samba/%m.log
        max log size = 50
        server signing = auto
        socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
        printcap name = /etc/printcap
        preferred master = No
        domain master = No
        dns proxy = No
        ldap ssl = no
        idmap uid = 16777216-33554431
        idmap gid = 16777216-33554431
        cups options = raw

[Documents]
        comment = Documents
        path = /home/Documents
        valid users = "@DOMAIN\domain users", "@DOMAIN\domain admins"
        admin users = "@DOMAIN\domain admins"
        write list = "@DOMAIN\domain users", "@DOMAIN\domain admins"
        read only = No
        create mask = 0770
        directory mask = 0770
        case sensitive = No
        msdfs proxy = no




More information about the samba mailing list