Well, after a bit more hunting on my part (armed with the errors I noted in my last email), I tripped over the following article:

http://www.faqchest.com/linux/samba-l/smb-01/smb-0109/smb01090215_24396.html

(For the lazy of heart, essentially it discusses the woes of plaintext passwords and Windows 9x, and urges the use of "encrypt passwords = yes")

So, I switched to encrypted passwords (using the process indicated in the article), stripped the registry entry on the windows client (and rebooted) and gave it a shot.

It worked... No more slowness... :-)

I suppose I could have changed my linux password to an all upper case password.....

Thanks anyways... Hopefully this benefits someone else!

FjK

Collins, Kevin wrote:

Fred:

I don't know if this is it, but do you have a DNS server or a HOSTS file
on the Windows machine(s) pointing to the IP of the Linux box? If not,
here is what (I think) is happening: Windows 98 will try to contact a
DNS server to locate the network machine and fail with a time out (which
takes several seconds). Then it will revert to the WINS service and
find the Linux box. Windows cache's WINS resolutions and that's why
subsequent connections are "peppy".

My forward look-up zone was "fubar"ed on my DNS server here at work and
my Windows machines exhibited the exact same symptoms as you describe.
I fixed the zone file and everything began to operate properly.

If this isn't it, I'm sorry for feeding you bad information. :-)

Kevin L. Collins


-----Original Message-----
From: Fred Kuipers [mailto:fred@;kuipers.dhs.org]
Sent: Friday, November 01, 2002 3:12 PM
To: [EMAIL PROTECTED]
Subject: [Samba] SLOW connections


Hi everyone,

I have a small home network with a Samba 2.2.3 server on Linux serving up my files and printers. However, from windows machines (win 98) connecting to a share takes an annoyingly long time (in the order of 10s of seconds) Connecting from a linux box is very quick. I have configured Windows 98 to fully reconnect the share on logon. If I don't, Windows Explorer hangs all over the place (even when simply loading it and it hits the network). After the initial connection, everything is pretty quick. I have run through all the diagnostics and I have no clue why Windows could be so slow connecting.

Note on hardware: 10 Mbit network, 1.2 GHz and 350 Mhz windows machines connecting to a 500 mhz linux machine (with 2 eth interfaces)... No CPU usage issues on linux server and full network availability during connections. I have no connectivity troubles with the network.

Any thots?? Is this a silly little configuration problem?

Thanks in advance.

FjK

Please Reply All - I'm not on the list.


> grep -v "^[;#]" /etc/samba/smb.conf | grep -v "^$"

[global]
workgroup = KUIPERS_HOME
server string = Samba Server %v
printcap name = lpstat
load printers = yes
printing = cups
log file = /var/log/samba/log.%m
max log size = 50
security = share
encrypt passwords = no
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
unix password sync = no
map to guest = never
password level = 0
null passwords = no
allow hosts = 192.168.0.
os level = 33
preferred master = yes
wins support = yes
interfaces = eth1 lo
dead time = 0
debug level = 0
status = yes
[homes]
comment = Home Directories
browseable = no
writable = yes
available = yes
public = no
user = fred val
only user = no
preexec close = no
root preexec close = no
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
public = yes
writable = no
printable = yes
create mode = 0700
print command = lpr-cups -P %p -o raw %s -r # using client side printer dr
ivers.
available = yes
[print$]
path = /var/lib/samba/printers
browseable = yes
read only = yes
write list = @adm root
[archive]
available = yes
browseable = yes
path = /home/archive
public = no
guest only = no
writable = yes
user = fred val
only user = no
preexec close = no
root preexec close = no
valid users = fred val
force group = users
create mask = 775
[MyDocuments]
available = yes
browseable = yes
path = /home/MyDocuments
public = no
guest only = no
writable = yes
user = fred val
only user = no
preexec close = no
root preexec close = no
valid users = fred val
force group = users
create mask = 775
[web]
available = yes
browseable = yes
path = /home/httpd
public = no
guest only = no
writable = no
allow hosts = 192.168.0.
user = fred val
only user = no
preexec close = no
root preexec close = no
force group = users


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


--
wily: something horrible happened:: Success
[1]+  Aborted                 wily


--
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