Johannes.Reus at wirthwein.de
2013-Mar-18 10:31 UTC
[Samba] Slow navigation on samba share
hi all, I have a problem with some windows 7 pro (64) clients navigating on samba shares. The user wants to open a folder and then it takes a long time until it opens. Looking into the samba log of the PC it is filled with this entries (seems to check for every ldap user): [2013/03/18 10:10:54.224428, 2] passdb/pdb_ldap.c:572(init_sam_from_ldap) init_sam_from_ldap: Entry found for user: ftrapp [2013/03/18 10:10:54.687697, 2] passdb/pdb_ldap.c:572(init_sam_from_ldap) init_sam_from_ldap: Entry found for user: w2ksrv03 [2013/03/18 10:10:56.157767, 2] passdb/pdb_ldap.c:572(init_sam_from_ldap) init_sam_from_ldap: Entry found for user: tstaats [2013/03/18 10:10:56.957226, 2] passdb/pdb_ldap.c:572(init_sam_from_ldap) init_sam_from_ldap: Entry found for user: cadttf [2013/03/18 10:10:56.958225, 2] passdb/pdb_ldap.c:572(init_sam_from_ldap) init_sam_from_ldap: Entry found for user: MobilteilEinrichter [2013/03/18 10:10:56.959054, 2] passdb/pdb_ldap.c:572(init_sam_from_ldap) init_sam_from_ldap: Entry found for user: sguenther [2013/03/18 10:10:57.547141, 2] passdb/pdb_ldap.c:572(init_sam_from_ldap) init_sam_from_ldap: Entry found for user: ajaskulla [2013/03/18 10:10:57.548325, 2] passdb/pdb_ldap.c:572(init_sam_from_ldap) init_sam_from_ldap: Entry found for user: slotz [2013/03/18 10:10:57.760880, 2] passdb/pdb_ldap.c:572(init_sam_from_ldap) init_sam_from_ldap: Entry found for user: bschulz [2013/03/18 10:10:57.844526, 2] passdb/pdb_ldap.c:572(init_sam_from_ldap) init_sam_from_ldap: Entry found for user: mschrempf Configuration: samba 3.5.4 ldap 2_4-2 SUSE Linux Enterprise Server 11 (i586) VERSION = 11 PATCHLEVEL = 1 Kernel 2.6.32.12-0.7-pae smb.conf: [global] netbios name = sezfile01 netbios aliases = titan workgroup = TTB01 server string = PDC EZ #bind interfaces only = yes #interfaces = 192.168.1.123 #socket address = 192.168.1.255 security = user domain master = yes local master = yes prefered master = yes domain logons = yes encrypt passwords = yes time server = yes dns proxy = yes wins support = yes wins hook = /etc/samba/scripts/dns_update os level = 64 enable privileges = yes unix extensions = no wide links = yes logon script = ez.bat logon drive = R: logon path = \\%L\profiles\%U passdb backend = ldapsam:"ldap://127.0.0.1:389" ldap admin dn = uid=samba,ou=administration,o=ttb-ag,c=com ldap suffix = o=ttb-ag,c=com ldap user suffix = ou=users ldap group suffix = ou=groups ldap machine suffix = ou=computers ldap ssl = no ldap delete dn = no ldap passwd sync = yes syslog = 0 log level = 2 log file = /var/log/samba/log.%m max log size = 2048 admin users = @root #printer admin = @SambaAdmins guest account = nobody username map = /etc/samba/smbusers oplocks = yes wide links = yes host msdfs = yes hosts deny = 192.168.4. #printing = cups #printcap name = cups socket options = TCP_NODELAY IPTOS_LOWDELAY # Zum Testen reset on zero vc = yes #################################################################################### # Domaenen-Bereich # [netlogon] comment = Logon Scripts path = /samba/netlogon browseable = no writeable = no [profiles] comment = NT Roaming Profiles path = /samba/profiles root preexec = /etc/samba/scripts/write_connect_log %U %m %I %S postexec profile acls = yes browseable = no force user = %U writeable = yes create mask = 0600 directory mask = 0700 read only = no hosts allow = 192.168.1.0/255.255.255.0 #################################################################################### # User-Bereich # [home] comment = Home Directory root preexec = /etc/samba/scripts/write_connect_log %U %m %I %S %d preexec root postexec = /etc/samba/scripts/write_connect_log %U %m %I %S %d postexec path = /samba/home/%U browseable = yes writeable = yes force user = %U hide unreadable = yes veto files = /.recycle/ vfs objects = recycle audit recycle:repository=.recycle recycle:versions=True recycle:keeptree=True [%U] copy = home #################################################################################### # Freigaben-Bereich # [daten] comment = Daten path = /samba/daten root preexec = /etc/samba/scripts/write_connect_log %U %m %I %S %d preexec root postexec = /etc/samba/scripts/write_connect_log %U %m %I %S %d postexec inherit permissions = yes nt acl support = no writeable = yes hide unreadable = yes veto files = /.recycle/ msdfs root = yes vfs objects = recycle audit recycle:repository=.recycle/%U recycle:versions=True recycle:keeptree=True #CAD-Datenaustausch-Share U: [catdau] comment = CAD-Datenaustausch path = /samba/daten/DATEN/catdau inherit permissions = yes inherit ACLS = yes writeable = yes vfs objects = audit #CATIA V5 (Windows)-Share [catdat] comment = CAD-CATIA path = /samba/daten/DATEN/catdat inherit permissions = yes writeable = yes hide dot files = no force user = root force group = root create mask = 0777 directory mask = 0777 valid users = @ez-cad, @SambaAdmins vfs objects = audit #[ftp] # comment = FTP-Repository # path = /srv/ftp # browseable = no # writeable = yes # valid users = w2ksrv01 #################################################################################### # Management-Bereich # [management] comment = Management Share path = /samba/ root preexec = /etc/samba/scripts/write_connect_log %U %m %I %S %d preexec root postexec = /etc/samba/scripts/write_connect_log %U %m %I %S %d postexec inherit permissions = yes nt acl support = no browseable = yes writeable = yes hide dot files = no force user = root force group = root veto files = /aquota.user/acl.dmp.gz/acl.dmp/ valid users = @SambaAdmins vfs objects = audit [cdrom] comment = CDROM path = /media/cdrom browseable = yes writeable = no #################################################################################### # Opsi-Bereich # [opsicd] comment = opsi-Depot path = /samba/opsi browseable = no oplocks = no level2 oplocks = no writeable = no hosts allow = 192.168.1.0/255.255.255.0 [opsiconf] comment = opsi-Konfiguration path = /samba/opsi/pcpatch browseable = no oplocks = no level2 oplocks = no writeable = yes valid users = pcpatch @pcpatch @SambaAdmins #Opsi 4 [opsi_depot] available = yes comment = opsi depot share path = /samba/opsi4_depot browseable = no oplocks = no level2 oplocks = no writeable = no invalid users = root # hosts allow = 192.168.1.0/255.255.255.0 [logfiles] comment = Logfiles path = /samba/logfiles browseable = no oplocks = no level2 oplocks = no writeable = yes
On Mon, Mar 18, 2013 at 11:31:37AM +0100, Johannes.Reus at wirthwein.de wrote:> hi all, > > I have a problem with some windows 7 pro (64) clients navigating on samba > shares. The user wants to open a folder and then it takes a long time > until it opens."hide unreadable = yes" might be a problem. Try if it's faster without that. With best regards, Volker Lendecke -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de, mailto:kontakt at sernet.de