problem saving roaming profile

Martin Thomas mthomas at rhrk.uni-kl.de
Mon May 7 14:33:42 GMT 2001


This may be a small hint to find a solution:
some directorys in the profile on the windows machines have the
dos 'read only' attribute set. Samba does not map this attribute
correct, at least here (windows 2ksp1 clients/german, samba 2.2 cvs
from May,3 2001, linux suse 6.3 with updated kernel 2.4.4 but without acl-patch).
Since samba seems to ignore the 'read only' and sets the directory mode
to rwx insteat of r-x during profile upload to the samba server. 
Windows may be 'confused' by this, since the downloaded profile directory
has the 'read only' attribute not set, because of the rwx mode of the directory

To reproduce this:
- login to w2k, download profile
- open a document on a network share in word or excel, windows caches
 the path as a shortcut in the 'network neighbourhood', in the windows
 file-system this shortcut is a directory in the folder: 
 c:\Dokumente und Einstellungen\<username>\netzwerkumgebung\<share> auf <server>
 (i try to translate: c:\Documents and settings\<username>\network neighbourhood\<share> on <server>)
- this directory has the 'dos read only' attribute set, which marks the directory as a shortcut in this
 case (the attribute might have another meaning in other folders)
- logoff from the client, profile is uploaded to the server
- login the unix-box, change to the profile-share directory for the user and see that the directory-mode
 for the 'shortcut'-directory is rwx for the owner and not r-x (directory mode in smb.conf is 770)
- login on the client again with profile download, open 'network neighbourhood' and see that the
 shortcut now is a 'normal directory' (dos read only not set) there is a file target in this directory which points
 to the right place/the network share), set the dos-read-only attribute manualy with right-click properties
 and see that the it act like a normal shortcut again.
- log off and realize that the directory in the stored profile has mode rwx again instead of r-x

Hope this points to a right solution, at least it's a little bug report for the described situation
Greetings,
Martin



----- Original Message ----- 
From: "Gerald Carter" <gcarter at valinux.com>
To: "Oliver Heering" <Heering at edo.uni-dortmund.de>
Cc: "Hitesh Talati" <htalati at torrentnet.com>; <samba-ntdom at lists.samba.org>
Sent: Monday, May 07, 2001 3:15 PM
Subject: Re: Re[2]: problem saving roaming profile


> On Mon, 7 May 2001, Oliver Heering wrote:
> 
> > Some guy in the samba-ntdom mailinglist said, this bug has been fixed
> > in the CVS tree, but it actually hasn't. :( (i tried it out)
> 
> Well technically, I can no longer reproduce it here. :-)
> If those who are having problems will provide some extra details of their
> environment (apologies if you have alreayd done this, but this is the
> last message in this thread i can find in my inbox), we get it corrected.
> 
> 
> 
> 
> 
> 
> Cheers, jerry
> ----------------------------------------------------------------------
>    /\  Gerald (Jerry) Carter                     Professional Services
>  \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
>        http://www.samba.org/       SAMBA Team          jerry at samba.org
>        http://www.plainjoe.org/                     jerry at plainjoe.org
> 
>        "...a hundred billion castaways looking for a home."
>                                 - Sting "Message in a Bottle" ( 1979 )
> 
> 
> 





More information about the samba-ntdom mailing list