[Samba] Samba will not start
Ivan Ordonez
iordonez at nature.berkeley.edu
Wed May 24 16:08:42 GMT 2006
Hi,
Right after I run "vampire" (net rpc vampire -S gia42c-1 -U Administrator)
command, samba would no longer start.
The samba server was installed on Gentoo linux and running behind a
firewall. The PDC which is Windows NT 4 server is on different subnet with
no firewall. Please check the log and smb.conf below and see if there's
anything I can do to make "samba" start again.
Thanks in advance for all the help.
-Ivan
Below is my smb.conf file
[global]
netbios name = sambaservername
server string = Samba Server %v
log file = /var/log/samba/log.%m
max log size = 50
log level = 5
hosts allow = 22.32.115. 22.32.116.
map to guest = bad user
security = user
password server = gia42c-1
encrypt passwords = yes
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = eth0 lo 22.32.115.15
local master = no
os level = 65
domain master = no
preferred master = no
domain logons = yes
# Scripts for file (passwd, smbpasswd) backend:
add user script = /usr/sbin/useradd -s /bin/false '%u'
delete user script = /usr/sbin/userdel '%s'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g '%g' '%u'
add group script = /usr/sbin/groupadd %g && getent group '%g'|awk -F:
'{print $3}'
delete group script = /usr/sbin/groupdel '%g'
passdb backend = tdbsam smbpasswd
passdb expand explicit = no
name resolve order = host wins lmhosts bcast
wins server = 22.32.116.25
dns proxy = no
Logs from log.smbd
Attempting to register passdb backend ldapsam
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:smb_register_passdb(107)
Successfully added passdb backend 'ldapsam'
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:smb_register_passdb(94)
Attempting to register passdb backend ldapsam_compat
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:smb_register_passdb(107)
Successfully added passdb backend 'ldapsam_compat'
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:smb_register_passdb(94)
Attempting to register passdb backend NDS_ldapsam
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:smb_register_passdb(107)
Successfully added passdb backend 'NDS_ldapsam'
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:smb_register_passdb(94)
Attempting to register passdb backend NDS_ldapsam_compat
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:smb_register_passdb(107)
Successfully added passdb backend 'NDS_ldapsam_compat'
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:smb_register_passdb(94)
Attempting to register passdb backend smbpasswd
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:smb_register_passdb(107)
Successfully added passdb backend 'smbpasswd'
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:smb_register_passdb(94)
Attempting to register passdb backend tdbsam
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:smb_register_passdb(107)
Successfully added passdb backend 'tdbsam'
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:smb_register_passdb(94)
Attempting to register passdb backend guest
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:smb_register_passdb(107)
Successfully added passdb backend 'guest'
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:make_pdb_methods_name(822)
Attempting to find an passdb backend to match tdbsam (tdbsam)
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:make_pdb_methods_name(843)
Found pdb backend tdbsam
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:make_pdb_methods_name(846)
pdb backend tdbsam has a valid init
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:make_pdb_context_list(950)
Trying to load: smbpasswd
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:make_pdb_methods_name(822)
Attempting to find an passdb backend to match smbpasswd (smbpasswd)
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:make_pdb_methods_name(843)
Found pdb backend smbpasswd
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:make_pdb_methods_name(846)
pdb backend smbpasswd has a valid init
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:make_pdb_methods_name(822)
Attempting to find an passdb backend to match guest (guest)
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:make_pdb_methods_name(843)
Found pdb backend guest
[2006/05/23 15:16:12, 5] passdb/pdb_interface.c:make_pdb_methods_name(846)
pdb backend guest has a valid init
[2006/05/23 15:16:12, 4] lib/substitute.c:automount_server(359)
Home server: sambaservername
[2006/05/23 15:16:12, 4] lib/substitute.c:automount_server(359)
Home server: sambaservername
[2006/05/23 15:16:12, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/05/23 15:16:12, 1] auth/auth_util.c:make_server_info_sam(876)
User Guest in passdb, but getpwnam() fails!
[2006/05/23 15:16:12, 5] auth/auth_util.c:free_server_info(1511)
attempting to free (and zero) a server_info structure
[2006/05/23 15:16:12, 0] smbd/server.c:main(829)
ERROR: failed to setup guest info.
More information about the samba
mailing list