Hi Guys
I've got a Centos 6 box running the Centos Samba server instance (3.5.4-68.el6).
It is on a close (isolated from the internet) Class B network. I'm running DHCP on the Centos 6 box as well as BIND. DHCP / BIND are running in DDNS configuration. The server is serving as
a PDC for the windows machines in the network.
Everything is working fine, the two test XP Pro machines I have on the network get their IP addresses allocated by DHCP, and BIND picks up on this in the relevant zone file.
The only problem I'm experiencing is a completely random occurrence where, SOMETIMES, if I browse on the XP machine to a samba share (or just double-click on the Microsoft Windows Network icon) it either takes about two minutes for me to see the available networks (or shares shared from samba) or I get an error box popping up in XP stating that "The semaphore has reached its timeout period."
Retrying SOMETIMES works - sometimes I get three or four "The semaphore has reached its timeout period" error boxes, before a flash of the hourglass icon and the particular part of the network opening in XP's network explorer.
The problem seems related to activity, e. g. if I constantly (every two or three seconds) keep clicking on network shares provided by the Centos box, I can 90% of the time get them to open consistently. If I leave the XP box alone for a minute or two, I'm once again into the two-minute-wait thing if I click on a Centos / Samba provided share, and then sometimes (about 25% of the time) I again get the "The semaphore has reached its timeout period" three or four times before a long wait and the Samba share coming up.
Any idea what could possibly be wrong? How can it work -sometimes-, but not always?
I've perused the Samba logs at log level 3 and no errors are apparent for the log.smbd, log.nmbd and log for the machine name...
Here's my smb.conf:
Code:
[global]
workgroup = SCRUB
server string = Samba Server Version %v
netbios name = VERIPDC
interfaces = lo eth0
hosts allow = 127. 192.168.1. 192.168.13. 172.
admin users = root
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
domain master = yes
domain logons = yes
encrypt passwords = yes
os level = 65
log level = 3
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=16384 SO_SNDBUF=16384
preferred master = auto
local master = yes
wins support = yes
name resolve order = bcast wins lmhosts hosts
dns proxy = yes
lm announce = yes
logon script = %U.bat
logon path =
logon drive = O:
load printers = no
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
valid users = VERIPDC\%S
#[printers]
# comment = All Printers
# path = /var/spool/samba
# browseable = no
# guest ok = no
# writable = no
# printable = yes
# Un-comment the following and create the netlogon directory for Domain Logons
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = yes
writable = no
share modes = no
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
[Profiles]
path = /var/lib/samba/profiles
browseable = no
guest ok = yes
Any ideas / suggestions appreciated!
Thank you