Hello,

I was running Samba 3.0.0 on my SuSE 9.0 server (took the RPM from
ftp://ftp.suse.com/pub/people/gd) and since the server will be integrated
in our productive environment shortly I wanted to update to 3.0.1 for
having the bugfixes integrated.

Since there are no RPMs for SuSE yet I compiled it by hand, installed,
started it. The server is integrated in a NT4 domain, wbinfo -u is giving
me domain users, so winbind seems to be working.

But when I try to connect to the Server via `smbclient //localhost/` the
server crashes. The output in the log is the following:

#v+
[.. a lot of startup messages without errors]
[2003/12/17 14:09:38, 2] smbd/server.cpen_sockets_smbd(318)
waiting for a connection
[2003/12/17 14:09:48, 5] lib/util_sock.crint_socket_options(105)
socket option SO_KEEPALIVE = 1
[..]
[2003/12/17 14:09:48, 5] lib/gencache.c:gencache_init(59)
Opening cache file at /usr/local/samba/var/locks/gencache.tdb
[2003/12/17 14:09:48, 5] tdb/tdbutil.c:tdb_log(724)
tdb(unnamed): tdb_brlock failed (fd=12) at offset 4 rw_type=1 lck_type=13: Resource temporarily unavailable
[2003/12/17 14:09:48, 5] libsmb/namecache.c:namecache_enable(58)
namecache_enable: enabling netbios namecache, timeout 660 seconds
[2003/12/17 14:09:48, 10] registry/reg_cachehook.c:reghook_cache_add(60)
reghook_cache_add: Adding key [/HKLM/SYSTEM/CurrentControlSet/Control/Print]
[2003/12/17 14:09:48, 8] lib/adt_tree.c:sorted_tree_add(247)
sorted_tree_add: Enter
[2003/12/17 14:09:48, 10] lib/adt_tree.c:sorted_tree_add(314)
sorted_tree_add: Successfully added node [HKLM/SYSTEM/CurrentControlSet/Control/Print] to tree
[2003/12/17 14:09:48, 8] lib/adt_tree.c:sorted_tree_add(316)
sorted_tree_add: Exit
[2003/12/17 14:09:48, 5] passdb/pdb_interface.c:make_pdb_context_list(535)
Trying to load: smbpasswd
[2003/12/17 14:09:48, 5] passdb/pdb_interface.c:smb_register_passdb(55)
Attempting to register passdb backend smbpasswd
[2003/12/17 14:09:48, 5] passdb/pdb_interface.c:smb_register_passdb(68)
Successfully added passdb backend 'smbpasswd'
[2003/12/17 14:09:48, 5] passdb/pdb_interface.c:smb_register_passdb(55)
Attempting to register passdb backend tdbsam
[2003/12/17 14:09:48, 5] passdb/pdb_interface.c:smb_register_passdb(68)
Successfully added passdb backend 'tdbsam'
[2003/12/17 14:09:48, 0] lib/fault.c:fault_report(36)
================================================== =============
[2003/12/17 14:09:48, 0] lib/fault.c:fault_report(37)
INTERNAL ERROR: Signal 11 in pid 11315 (3.0.1)
Please read the appendix Bugs of the Samba HOWTO collection
[2003/12/17 14:09:48, 0] lib/fault.c:fault_report(39)
================================================== =============
[2003/12/17 14:09:48, 0] lib/util.c:smb_panic(1400)
PANIC: internal error
[2003/12/17 14:09:48, 0] lib/util.c:smb_panic(1408)
BACKTRACE: 12 stack frames:
#0 /usr/local/samba/sbin/smbd(smb_panic+0x181) [0x81872cf]
#1 /usr/local/samba/sbin/smbd [0x817790e]
#2 /usr/local/samba/sbin/smbd [0x8177957]
#3 /lib/i686/libc.so.6 [0x400baaa8]
#4 /usr/local/samba/sbin/smbd [0x8168fdd]
#5 /usr/local/samba/sbin/smbd [0x8169c8a]
#6 /usr/local/samba/sbin/smbd(make_pdb_context_list+0x127) [0x816a24f]
#7 /usr/local/samba/sbin/smbd [0x816a4ef]
#8 /usr/local/samba/sbin/smbd(initialize_password_db+0xe) [0x816a897]
#9 /usr/local/samba/sbin/smbd(main+0x55d) [0x81d625f]
#10 /lib/i686/libc.so.6(__libc_start_main+0xc7) [0x400a6d17]
#11 /usr/local/samba/sbin/smbd(chroot+0x31) [0x80724f1]
#v-

My smb.conf global section is as follows:

#v+
#======================= Global Settings =====================================
[global]
workgroup = COL
server string = Datenserver, Samba %v
security = domain
password server = COL-SRV01
; guest account = noboy
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
; os level = 33
domain master = no
preferred master = no
encrypt passwords = yes
nt acl support = yes
log level = 10 tdb:10 smb:10
syslog = 1
syslog only = no
log file = /var/log/samba/log.%m
max log size = 5000
winbind separator = %
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind trusted domains only = no
winbind cache time = 300
winbind use default domain = no
template homedir = /home/winnt
template shell = /bin/bash
display charset = iso-8859-15
unix charset = iso-8859-15
dos charset = CP850
#v-

The configure options were the following:

../configure
--with-acl-support
--without-ldap
--with-configdir=/etc/samba
--mandir=/usr/share/man
--with-logfilebase=/var/log/samba
--without-ads
--with-automount
--with-smbmount
--with-pam
--with-pam_smbpass
--with-syslog
--with-profiling-data
--with-quotas
--with-winbind
--with-python=python2.3

Has anyone tried getting Samba 3.0.1 running. And has anyone gotten the
same error?

In hope for help...
Sebastian
--
Sebastian Damm ........................................ slim.post@gmx.de
http://www.hsg-basketball.de