Koozali.org: home of the SME Server

Problem with Samba roaming profiles

Robert Field

Problem with Samba roaming profiles
« on: March 07, 2002, 12:19:41 PM »
I know this is a Samba issue, but can any body shine some light.

SME5.1.2 working as domain controller/roaming profiles with Win2k clients.  Every time I change something on the client machine, an app crashes or even adding a bookmark, the next time I login on that account I get a warning that the account can load, access denied on various file depending on what has changed.

I have to then edit the samba profile on the server to allow it to reload the profile.  As you can image this is becoming a pain, especially on the crashed apps.

Has any body had this problem and if so, is there a work around.


Rob

Michael Doerner

Re: Problem with Samba roaming profiles
« Reply #1 on: March 09, 2002, 11:01:42 AM »
Robert,

that sounds very similar to what I found here on 2 servers (production at the office + a test server at home). A typical eventlog entry looks as follows:
Windows cannot copy file \tux1\Profiles\michael\Application Data\Mozilla\Profiles\default\zknp3mkv.slt\Cache\_CACHE_001_ to location G:\Documents and Settings\michael\Application Data\Mozilla\Profiles\default\zknp3mkv.slt\Cache\_CACHE_001_. Contact your network administrator.

DETAIL - The network path was not found.  

This occurs intermittently and I have not found a pattern yet. I would  suspect a problem with long filenames or filenames with blanks in it  ("Application Data") but that can't be otherwise there would be more noise on the net about that problem.

Unfortunately I have not found an answer/solution for this yet :-(

regards,
Michael Doerner

David

Re: Problem with Samba roaming profiles
« Reply #2 on: March 10, 2002, 06:35:46 AM »
Michael,
 I had a similar problem with SME 5.1.2 .
I had Roaming Profiles setup and all seemed to work great untill I bought up a new machine. It joined the domain just fine. The issue was after I installed Office 2K as Administrator on the Local Machine. I logged on as a "User" and the Apps showed up but insisted that they be reinstalled totally. So I did of coarse as a Administrator then as Admin. Still Office refused to work. After a reinstall of Win2k I shutdown roaming profiles. Any Ideas?

David

Joshua

Re: Problem with Samba roaming profiles
« Reply #3 on: March 10, 2002, 08:21:44 AM »
Possibly Admin permissions on local machine??? Is it trying to write a file that the "user" doesn't have permissions to? What happens if you temporarily give the user admin rights, install office, and then set the permissions back to normal?

David wrote:
>
> Michael,
>  I had a similar problem with SME 5.1.2 .
> I had Roaming Profiles setup and all seemed to work great
> untill I bought up a new machine. It joined the domain just
> fine. The issue was after I installed Office 2K as
> Administrator on the Local Machine. I logged on as a "User"
> and the Apps showed up but insisted that they be reinstalled
> totally. So I did of coarse as a Administrator then as Admin.
> Still Office refused to work. After a reinstall of Win2k I
> shutdown roaming profiles. Any Ideas?
>
> David

Michael Doerner

Re: Problem with Samba roaming profiles
« Reply #4 on: March 11, 2002, 07:37:15 AM »
Robert,

coming back on your original problem with the roaming profiles, I believe that I have found a fix for it. It's working here on both servers for the last 2 days now and I hope it stays like that.

E-smith uses a parameter value "oplocks = false" in Samba's global section. From there, this parameter affects the file locking mechanism in each share.
I suspect that for the "Profiles" share, this parameter explicitely needs to be set/added to be "oplocks = yes". With that value, Win2k seems to be able to rewrite the user profile properly back onto the server's share when a user logs off and then there is no later problem to log in (and download) the user profile.
I hope it will fix your problem also. Please let me know the results, Mitel might also be interested.
Kind Regards,
Michael Doerner