The problem is: Certain users will always get two errors while logging out. All users have roaming profiles, but the problem seems to only show up if users have files on their desktop. Not all users with files on their desktop get this and I think that there are a few other cases where it will happen, but that is how I've been able to reproduce the problem. The errors that pop up in Windows are:
Event ID: 1000 - Windows cannot copy file C:\Documents and Settings\username\Desktop\filename to location \\SERVER\username\profile\Desktop\filename. Contact your network administrator
DETAIL - The process cannot access the file because it is being used by another process
The second error is just:
Event ID: 1000 - Windows cannot update your roaming profile. Contact your network administrator
DETAIL - The process cannot access the file because it is being used by another process
The following is what appears to be the relevant section of the log file when loglevel is set to 9. In this case the file that showed up in the error dialog on the client was main.dsp:
[2003/07/30 12:23:47, 5] smbd/filename.c:unix_convert(314)
New file main.dsp
[2003/07/30 12:23:47, 8] lib/util.c:is_in_path(1145)
is_in_path: profile/Desktop/lab7/main.dsp
[2003/07/30 12:23:47, 8] lib/util.c:is_in_path(1150)
is_in_path: no name list.
[2003/07/30 12:23:47, 3] lib/util.c:unix_clean_name(387)
unix_clean_name [profile/Desktop/lab7/main.dsp]
[2003/07/30 12:23:47, 3] smbd/trans2.c:call_trans2qfilepathinfo(1721)
call_trans2qfilepathinfo: vfs_stat of profile/Desktop/lab7/main.dsp failed (No such file or directory)
[2003/07/30 12:23:47, 3] smbd/error.c:error_packet(94)
error string = No such file or directory
[2003/07/30 12:23:47, 3] smbd/error.c:error_packet(109)
error packet at smbd/trans2.c(1723) cmd=50 (SMBtrans2) NT_STATUS_SHARING_VIOLATION
[2003/07/30 12:23:47, 5] lib/util.c:show_msg(268)
size=35
smb_com=0x32
smb_rcls=67
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=16449
[2003/07/30 12:23:47, 5] lib/util.c:show_msg(276)
smb_tid=1
smb_pid=164
smb_uid=100
smb_mid=52292
smt_wct=0
[2003/07/30 12:23:47, 5] lib/util.c:show_msg(291)
smb_bcc=0
System Details: RedHat 7.3 with updates Samba 2.2.7-security-rollup-fix Relevant sections of smb.conf: logon path = \\%L\%U\profile logon drive = H: logon home = \\michigan\%u domain logons = Yes os level = 64 preferred master = Yes local master = Yes domain master = Yes
Any other required information will be provided upon request.
Thanks in advance, Michael Robbert
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
