[Samba] util_sock.c error connecting
Alexander Lazarevich
alazarev at itg.uiuc.edu
Mon Mar 20 19:35:00 GMT 2006
Samba 3.0.21c on RHEL4-AS x64.
Everything is working fine, but I'd like to find out what this error
message in the samba logs is, and why it keeps happening:
[2006/03/20 13:25:06, 2] lib/util_sock.c:open_socket_out(907)
error connecting to xxx.xxx.xxx.xxx:445 (Connection refused)
[2006/03/20 13:25:07, 2] lib/util_sock.c:open_socket_out(907)
error connecting to xxx.xxx.xxx.xxx:445 (Connection refused)
[2006/03/20 13:25:07, 2] lib/access.c:check_access(324)
Allowed connection from xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)
Our samba authenticates to a windows NT4 domain controller, here are the
lines in the smb.conf:
[global]
server string = Main File Server
wins server = xxx.xxx.xxx.xxx
domain master = no
preferred master = no
netbios name = xxx-xxx
load printers = no
password level = 8
security = server
password server = xxx.xxx.xxx.xxx
workgroup = xxxxxxxx
encrypt passwords = yes
large readwrite = no
log level = 2
max log size = 0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
The error happens 100% when anyone connects to a samba share for the first
time. It seems like the windows domain controller refuses the first 2 auth
request by samba, but then accepts the 3rd. Like I said, everything works,
and authing with samba takes a fraction of a second. But I'd like to get
rid of these errors if possible.
Any ideas?
Thanks,
Alex
More information about the samba
mailing list