Flaky Samba Shares
I'm running Samba 3.0.33-3.7.el5 on CentOS 5.3 as a PDC for WinXP clients. All of the clients connect with no problem but after one or two browses of any share the client freezes for either a short time or some times quite a long time. I can clear it by restarting Samba. WINS is enabled and set on the clients. I have also disabled web client. Testing has included using the server name as well as IP for the shares with no change.
[global]
workgroup = BATESINDUSTRIES
netbios name = batesdb1
disable netbios = no
# interfaces = 192.168.10.2
interfaces = 192.168.10.7
bind interfaces only = yes
# os level = 65
os level = 255
preferred master = yes
enable privileges = yes
domain master = yes
local master = yes
load printers = no
show add printer wizard = no
printing = bsd
printcap name = /dev/null
lm announce = yes
lm interval = 60
domain logons = yes
server string = %h server (Samba, CentOS)
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
time server = yes
hide dot files = yes
security = user
# passdb backend = tdbsam
passdb backend = smbpasswd
guest ok = no
invalid users = bin daemon sys man postfix mail ftp zimbra
admin users = @wheel
# domain admin group = @wheel
# domain admin users = root
encrypt passwords = true
wins support =yes
name resolve order = lmhosts host wins bcast
# name resolve order = lmhosts bcast host wins
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 1
panic action = /usr/share/samba/panic-action %d
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
logon path = \\%L\profiles\%u
logon home = \\%L\profdata\%u
hide files = /desktop.ini/ntuser.ini/NTUSER.*/
logon drive = H:
logon script = logon.cmd
add machine script = /usr/sbin/useradd -c Machine -d /dev/null -s /bin/false %u
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
#client schannel = no
##smb ports = 445
smb ports = 139
# use spnego=no
# client use spnego=no
[homes]
comment = Home Directories
browseable = no
read only = no
guest ok = no
map archive = yes
valid users = %S
[netlogon]
comment = Network Logon Service
path = /opt/samba/netlogon
guest ok = yes
locking = no
writable = no
browsable = no
[profiles]
comment = Users profiles
path = /opt/samba/profiles
read only = No
browseable = no
create mask = 0600
directory mask = 0700
[profdata]
comment = Profile Data Share
path = /opt/samba/profdata
read only = No
browseable = no
# profile acls = Yes
[software]
comment = Software
writeable = yes
invalid users = bin,daemon,sys,man,postfix,mail,ftp,zimbra
path = /opt/samba/Software
[document templates]
comment = Document Templates
writeable = yes
invalid users = bin,daemon,sys,man,postfix,mail,ftp,zimbra
path = /opt/samba/Document Templates
[business]
writeable = yes
create mode = 775
invalid users = bin,daemon,sys,man,postfix,mail,ftp,zimbra
path = /opt/samba/Business
directory mode = 775
[customers]
writeable = yes
invalid users = bin,daemon,sys,man,postfix,mail,ftp,zimbra
path = /opt/samba/Customers
|