I have two servers and here are the basic details:
Server#1:
opensuse 12.2 (I know it’s old - but lets skip that subject for now)
Samba version 3.6.7-48.28.1-3108-SUSE-SL12.2-x86_64
SMB.CONF
[global]
workgroup = <name>
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = No
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = No
domain master = No
security = domain
wins server =
wins support = No
[VOL1]
inherit acls = Yes
path = /home/VOL1
read only = No
force group = vol1
Server#2:
opensuse 13.1
Samba version 4.1.19-3.36.1-3442-SUSE-oS13.1-x86_64
SMB.CONF
[global]
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = No
domain master = No
# security = user
security = domain
usershare allow guests = No
#workgroup = <namexxx>
workgroup = <name>
passdb backend = smbpasswd
wins support = No
[DOCUMENTS]
comment = documents
inherit acls = Yes
path = /DOCUMENTS
read only = No
create mask = 0775
directory mask = 0775
guest ok = No
Now I have windows machines that can access the share on each of these servers. Server#1 access is very quickly, Server#2 access is pretty slow, this server has LOTS of small docs in different sub-directories. The top of the share only has two directories, then the others under each of those two and there are literally thousands of directories (Directory A = 123228/Directory B=30691). It basically takes the almost two minute timeout to get the directory to come up in Windows File explorer. I am writing things to these shares and file creation on Server#2 is slow for users, basically taking 30 seconds to almost a minute to create a simple HTML document. I am not searching for a place to create the file, my application knows and paths exactly where it should put it. The difference in the SMB.CONF files here is the workgroup, and the workgroup of the machines connecting to them is the same as Server#1. I tried changing the workgroup of a station to <namexxx> and it was no faster, then I ultimately tried changing the share to be for workgroup matching Server#1, as well as changing the security type to match Server#1 as well. Also the firewalls on both machines have samba-server and samba-client setup, If I completely drop the firewall on Server#2 the access is much more like that of Server#1 with the firewall up…
Can anyone help with this problem? I know it is something that I am missing…
Thank you in advance.