I've set up a Samba 2.2.5 server authenticating against an OpenLDAP server. Everything seems to be working, except that changing directories takes 15-30 seconds. I've set up nss_ldap, optimized the nscd cache and my LDAP server's cache and indexes, and both seem to respond instantly on the command line (for cache hits, anyway). If I connect with NET USE on a client machine, it works fine, no delays. Same with smbclient. The problem only seems to rear its head when using Windows Explorer. Every time I open a new folder in Windows Explorer, at log level 2 I can see anywhere from ten to thirty entries like this:

[2002/11/12 12:17:15, 2] lib/access.c:check_access(327)
Allowed connection from (199.249.215.249)
[2002/11/12 12:17:16, 2] lib/access.c:check_access(327)
Allowed connection from (199.249.215.249)
[2002/11/12 12:17:16, 2] lib/access.c:check_access(327)
Allowed connection from (199.249.215.249)

Here's my smb.conf file. Any suggestions would be greatly appreciated.

# Global parameters
[global]
ldap server = localhost
ldap port = 389
ldap suffix = "o=internet"
ldap admin dn = "cn=Manager,o=internet"
ldap ssl = no
workgroup = IS
netbios name = THOR
server string = Thor File Server
max log size = 10000
hosts allow = 199.249.215.0/255.255.255.0 10.0.0.0/255.0.0.0
name resolve order = host bcast
encrypt passwords = Yes
group = default
create mask = 770
directory mask = 0770
log level = 2
log file = /var/log/samba/%m.log
delete veto files = yes
veto files = /.AppleDouble/.AppleDesktop/Network Trash Folder/TheVolumeSettingsFolder/Icon?/TheFindByContentFolder/

[private]
comment = Private File Storage/Backup
directory mask = 0700
path = /usr/local/fileshare/home
read only = No

[public]
comment = Public File Sharing
path = /usr/local/fileshare/public
create mask = 777
directory mask = 0777
read only = No
guest ok = Yes

[artdept-web]
comment = artdept Intranet
path = /usr/local/fileshare/artdept-web
create mask = 774
directory mask = 0775
read only = No
group = ArtDept
valid users = @ArtDept

[hr-web]
comment = humanresources Intranet
path = /usr/local/fileshare/hr-web
create mask = 774
directory mask = 0775
read only = No
group = HumanResources
valid users = @HumanResources

[IS]
comment = Information Systems
path = /usr/local/fileshare/IS
read only = No
group = IS
valid users = @IS,@SysAdmin,@ISAnalysts,@SupportAnalysts

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba

Reply via email to