[Samba] slow setup time
Chris Garrigues
cwg-dated-1086806749.b51da6 at deepeddy.com
Fri Jun 4 18:45:49 GMT 2004
I'm seeing some very slow setup times.
Here's what I did. I started ethereal while things were running fine and then
I waited until my windows box didn't show up in findsmb (I have keepalive
set to "yes", so I don't see why it times out at all). I then went
into "My computer" which was very slow. When I look in ethereal, I see some
interesting nubmers in the "SMB Service Resonse Time statistics":
43 Echo 1 1206.498 1206.498 1206.498
115 Session Setup AndX 10 0.00000 1265.183 127.83241
I'm running 3.0.5pre1 with LDAP. Any ideas what might be taking so long? Here's
the global section of my smb.conf:
[global]
workgroup = TRINSICS
encrypt passwords = Yes
smb passwd file = /etc/samba/smbpasswd
log file = /var/log/samba3/%m.log
log level = 1
max log size = 2500
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_LOWDELA
Y SO_KEEPALIVE
keepalive = yes
min protocol = NT1
interfaces = eth0 127.0.0.1
bind interfaces only = yes
domain logons = Yes
local master = Yes
security = user
encrypt passwords = Yes
logon script = login.bat
logon path = \\%L\profiles\%U
logon drive = U:
logon home = \\%L\%U
add user script = /usr/sbin/useradd -d /dev/null -g users -s /bin/false
-M %u
os level = 127
preferred master = Yes
domain master = Yes
wins support = Yes
printing = cups
printcap name = cups
kernel oplocks = Yes
oplocks = No
level2 oplocks = No
map to guest = Bad User
load printers = No
min print space = 32768
delete veto files = Yes
# define the DN to use when binding to the directory servers
# The password for this DN is not stored in smb.conf. Rather it
# must be set by using 'smbpasswd -w secretpw' to store the
# passphrase in the secrets.tdb file. If the "ldap admin dn" values
# change, this password will need to be reset.
ldap admin dn = "cn=wheel,o=trinsics,c=us"
# Define the SSL option when connecting to the directory
# ('off', 'start tls', or 'on' (default))
ldap ssl = on
# syntax: passdb backend = ldapsam:ldap://server-name[:port]
passdb backend = ldapsam:ldap://127.0.0.1
# smbpasswd -x delete the entire dn-entry
ldap delete dn = no
# Trust UNIX account information in LDAP
# (see the smb.conf manpage for details)
# specify the base DN to use when searching the directory
ldap suffix = dc=trinsics,dc=com
# the machine and user suffix added to the base suffix
# wrote WITHOUT quotes. NULL suffixes by default
ldap user suffix = ou=people
ldap group suffix = ou=group
ldap machine suffix = ou=people
# generally the default ldap search filter is ok
# ldap filter = (&(uid=%u)(objectclass=sambaSamAccount))
# When the user changes his password, update ntPassword,
# lmPassword and the password fields.
ldap passwd sync = Yes
--
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions http://www.trinsics.com
1611-B West 6th Street
Austin, TX 78703-5074 512-322-0180
If you don't apply what you've learned, you haven't
learned anything.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20040604/1fa0175d/attachment.bin
More information about the samba
mailing list