[Samba] Samba -> XP. Slow log in/out

Robert S robert_s at emailme.net.au
Sun Dec 28 00:21:38 GMT 2003


I have a server running slackware 9.1 and samba samba-2.2.8a and have WinXP
Home (SP1) on a client machine.  I have all of my users "My documents"
pointing at a subdirectory of their home directories (ie.
/home/USER/.documents).  All of the users are able to use this with no
problems EXCEPT me.  When I log in to my user profile in Windows, the system
tray takes about 5 minutes to load up.  If I try to log out it hangs for
about 5 minutes during this time.  I am able to prevent this behaviour by
pointing "My Documents" to a folder on the local (C:) hard drive and not
using my samba share.  Also - when I right-click on "My Documents" (in XP),
go to "Properties" and change "Target" to \\SERVER\robert, it hangs for ages
when I press Apply or OK.  I recently reinstalled my entire XP hard drive
and this problem still ocurs.  Presumably its not an XP setup problem.
Upgrading samba to 3.0.0 makes no difference.

My user name is robert, the client computer is called CLIENT and the server
is called SERVER (the names are fictitious).

Sorry about putting a Windows question on a Unix newsgroup, but the aim of
samba is to allow these systems to speak to each other!

My /var/log/samba/CLIENT.log looks like this (as you can see there are some
strange entries that are specific to my user name (they don't apply to other
users):

[2003/12/28 11:03:31, 0] smbd/service.c:make_connection(252)
  CLIENT (192.168.2.20) couldn't find service robert.dll
[2003/12/28 11:10:57, 0] printing/print_cups.c:cups_printername_ok(388)
  Unable to get printer status for rober - client-error-not-found
[2003/12/28 11:10:57, 0] smbd/service.c:make_connection(252)
  CLIENT (192.168.2.20) couldn't find service rober
[2003/12/28 11:10:57, 0] printing/print_cups.c:cups_printername_ok(388)
  Unable to get printer status for robert.dll - client-error-not-found
[2003/12/28 11:10:57, 0] smbd/service.c:make_connection(252)
  CLIENT (192.168.2.20) couldn't find service robert.dll

Here are the relevant parts of my smb.conf:

[global]
        workgroup = HOME
        netbios name = SERVER
        server string = Samba Server
        encrypt passwords = Yes
        log file = /var/log/samba/%m.log
        log level = 0
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        lock dir = /var/lock/samba
        printing = cups
        printcap name = cups
        invalid users = root
        browseable = No
[homes]
        comment = Home Directories
        path = /home/%S/.documents
        read only = No
        create mask = 0700
        directory mask = 0700






More information about the samba mailing list