Hi there,
I’m having a problem setting up roaming profiles for domain logons to my e-smith box running the new Samba 2.2.1a. I had a fresh install of e-smith 4.1.2 and upgraded to Samba 2.2.1a without trying to set up roaming profiles before the Samba upgrade.
When I log on to the domain with a Windows 2000 box, everything looks like it’s working okay – a new profile loads for the user, but when I log off (when Win2000 says it’s “saving your settings…”), I get an error message saying:
“Windows cannot update your roaming profile. Contact your network administrator.
DETAIL - The process cannot access the file because another process has locked a portion of the file.”
I confirmed that the roaming profile in the user’s home directory on the e-smith box is not updated. I did some looking in smb.conf and in the documentation at samba.org, and there is a FAQ there with the question:
“The roaming profiles do not seem to be updating on the server. Why?”
One of the fixes this document provides is:
“Make sure that the logon path is writeable by the user and make sure that the connection to the logon path location is by the current user. Sometimes Windows client do not drop the connection immediately upon logoff. Some people have reported that the logon path location should also be browseable. I (GC) have yet to emperically verify this, but you can try.”
I also came across the question:
"Why is it bad to set "logon path = \%N\%U\profile" in smb.conf?"
"Sometimes Windows clients will maintain a connection to the \homes\ ( or [%U] ) share even after the user has logged out. Consider the following scenario.
• user1 logs into the Windows NT machine. Therefore the [homes] share is set to \server\user1.
• user1 works for a while and then logs out.
• user2 logs into the same Windows NT machine.
However, since the NT box has maintained a connection to [homes] which was previously set to \server\user1, when the operating system attempts to get the profile and if it can read users1's profile, will get it otherwise it will return an error. You get the picture. A better solution is to use a separate [profiles] share and set the "logon path = \%N\profiles\%U" "
The default logon path in e-smith is \server_name\user_name\profile, is it not? Is the problem described above happening to me – or is this a problem I need to fix in Windows? I’m wondering if anyone else has any experience with this problem… I guess I’ll try setting up a separate profiles share like they recommend above and see if that works.
Thanks for any suggestions,
J. Handcock