We're using Debian Samba/2.2.3a-12.3. Sometimes, some users on the network
are unable to access their roaming profiles; windows says 'Cannot copy file
\\home\profiles\courtney\Desktop', and then goes on to say that it can't
load the profile and it'll be using a temporary profile.

The samba log says:

------------------------------
[2004/04/27 15:58:36, 1] smbd/service.c:make_connection(615)
mario (172.16.24.188) connect to service profiles as user courtney
(uid=1033,
gid=1033) (pid 5105)
[2004/04/27 16:03:38, 0] lib/util_sock.c:read_data(436)
read_data: read failure for 4. Error = Connection reset by peer
[2004/04/27 16:03:38, 1] smbd/service.c:close_cnum(655)
mario (172.16.24.188) closed connection to service profiles
------------------------------

If I move the offending profile out of the way, the user can sign on, and a
new, empty profile directory gets created for her. However, when she signs
off, windows says that it was unable to save the profile.

The samba log shows:

--------------------------
[2004/04/27 16:12:07, 1] smbd/service.c:make_connection(615)
mario (172.16.24.188) connect to service profiles as user courtney
(uid=1033, gid=1033) (pid 5757)
[2004/04/27 16:12:20, 0] smbd/open.cpen_directory(1125)
open_directory: unable to stat name
= ??/UNC/HOME/PROFILES/COURTNEY/TEMPLATES. Error was No such file or
directory
[2004/04/27 16:12:20, 0] smbd/open.cpen_directory(1125)
open_directory: unable to stat name = ??/UNC/HOME/PROFILES/COURTNEY. Error
was No such file or directory
...
[2004/04/27 16:13:02, 1] smbd/service.c:close_cnum(655)
mario (172.16.24.188) closed connection to service profiles
---------------------------

The open_directory errors go on for many lines, although strangely, the
files are created on the server. Finally, when she goes to log in again,
she gets the same error as before, and she can't load her profile.

Roaming profiles have been working fine for months, and is working fine for
other workstations connected to the server. It just seems to be this system
that's having the problem.

Any suggestions on what to look at to troubleshoot this issue?

--
Dave Carrigan
Seattle, WA, USA
dave@rudedog.org | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL

Dave is currently listening to U2 - Twilight (Live, 1983-05-06)