ok, I have Samba 2.2.0alpha2 (on RedHat 6.2) up and running as a PDC, I can add Win2k machines to the domain and the machine accounts are automatically created. (finally!) Now, my problem is when a user logs off the machine for the first time, their profile is created, BUT(!) it only makes rwx permissions for SOME of the directories in the profile, this is what I mean: [root@samba profile]# ls -l total 220 drwx------ 4 renloe users 4096 Feb 27 14:23 Application Data drwx------ 2 renloe users 4096 Feb 27 14:23 Cookies d--------- 2 renloe users 4096 Feb 27 14:23 Desktop d--------- 4 renloe users 4096 Feb 27 14:23 Favorites d--------- 3 renloe users 4096 Feb 27 14:23 My Documents -rwx------ 1 renloe users 167936 Feb 27 14:25 NTUSER.DAT drwx------ 2 renloe users 4096 Feb 27 14:23 NetHood drwx------ 2 renloe users 4096 Feb 27 14:23 PrintHood drwx------ 2 renloe users 4096 Feb 27 14:23 Recent drwx------ 2 renloe users 4096 Feb 27 14:23 SendTo d--------- 3 renloe users 4096 Feb 27 14:23 Start Menu drwx------ 2 renloe users 4096 Feb 27 14:23 Templates -rwx------ 1 renloe users 1024 Feb 27 14:25 ntuser.dat.LOG -rwx------ 1 renloe users 20 Feb 27 14:24 ntuser.ini [root@samba profile]# So naturally when win2k goes to write the profile, it can't write most of it cause it doesn't have permission to do so. Now, if I go in and manually chmod -R 0700 the profile directory (recursivly read-write everything) the roaming profile then works fine. But this shouldn't be the case. Is there a fix for this? is this a known issue? or am I just lucky, and this only happens to me. Any Input would be appreciated. Thanx --Robert
Joe Kewl writes:> [root@samba profile]# ls -l> fix for this? is this a known issue? or am I just lucky, and this only > happens to me. Any Input would be appreciated. > ThanxI believe this problem is fixed in the latest CVS code. Tim.
We had about 100 PCs running Windows NT 4 with both the user home directories and the roaming profiles stored on a DEC Alpha server running samba 2.0.7. This all worked fine for a couple of years but we have just moved on to Win2k and we are having problems with profiles. Whenever anyone logs in, a message appears saying Windows is unable to read the user's profile and that a temporary profile will be used instead, and that changes will not be saved when the user logs out. The profiles section of my smb.conf looks like this: [user_profile] comment = user profiles directory path = /maths/user_profiles browseable = yes writeable = yes create mode = 0700 directory mode = 0700 username = %U valid users = %U nt acl support = no I added in this last line after reading here of problems with Win2k SP2 roaming profiles (our PCs all have SP2 installed). It has not made any difference to the profile problem. Is there a fix for this problem or is it a known issue with samba and Win2k that is still be worked on? Andy
On Fri, 30 Nov 2001, Andre de Koning wrote:> NT4 and W2k profiles are not compatable ... you would have to let 2000 > create a new profile and move over the required settings etc.We have done this. Also, we have had a lot of new users who do not already have any NT4 profiles. As a short term fix, we are about to move all our user's profiles to a real Win2k server but hopefuly we can revert to a samba server again in the future when these problems have been hopefully been fixed, Andy> > Andre > > -----Original Message----- > From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On > Behalf Of andy thomas > Sent: Friday, November 30, 2001 8:40 AM > To: samba@lists.samba.org > Subject: Win2k profile problem > > > We had about 100 PCs running Windows NT 4 with both the user home > directories and the roaming profiles stored on a DEC Alpha server running > samba 2.0.7. This all worked fine for a couple of years but we have just > moved on to Win2k and we are having problems with profiles. > > Whenever anyone logs in, a message appears saying Windows is unable to > read the user's profile and that a temporary profile will be used instead, > and that changes will not be saved when the user logs out. The profiles > section of my smb.conf looks like this: > > [user_profile] > comment = user profiles directory > path = /maths/user_profiles > browseable = yes > writeable = yes > create mode = 0700 > directory mode = 0700 > username = %U > valid users = %U > nt acl support = no > > > I added in this last line after reading here of problems with Win2k SP2 > roaming profiles (our PCs all have SP2 installed). It has not made any > difference to the profile problem. > > Is there a fix for this problem or is it a known issue with samba and > Win2k that is still be worked on? > > Andy > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
I have samba 2.2.3 with several win2k (sp2 srp1) and generally Roaming profiles works. Sometime after having logged It says that it's impossible to write to my C: drive from \\server\\etc etc and then he doesn't load profile correctly. So i have to log in with Administrator (in the PC and not the Domain) remove "myname.bak" folder under "Document and settings" and then it starts working again... Why? Any suggestion? Thank you Christian
I am not sure, but I had a similiar problem which seems to be fixed with 2.2.3a cheerz Mark -----Original Message----- From: Christian Cernuschi [mailto:christian.cernuschi@fastwebnet.it] Sent: Monday, May 13, 2002 3:45 PM To: samba@lists.samba.org Subject: [Samba] WIN2k profile problem I have samba 2.2.3 with several win2k (sp2 srp1) and generally Roaming profiles works. Sometime after having logged It says that it's impossible to write to my C: drive from \\server\\etc etc and then he doesn't load profile correctly. So i have to log in with Administrator (in the PC and not the Domain) remove "myname.bak" folder under "Document and settings" and then it starts working again... Why? Any suggestion? Thank you Christian -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Also mine in 2.2.3a. (i forgot an "a") Thank you bye> I am not sure, but I had a similiar problem which seems to be fixed with > 2.2.3a > > cheerz > > Mark >
>>> I have samba 2.2.3 with several win2k (sp2 srp1) and generally>>> Roaming profiles works. Sometime after having logged It says >>> that it's impossible to write to my C: drive from \\server\\etc >>> etc and then he doesn't load profile correctly. >>> So i have to log in with Administrator (in the PC and not the Domain) >>> remove "myname.bak" folder under "Document and settings" and then it >>> starts working again... Why? Any suggestion? >> I am not sure, but I had a similiar problem which seems >> to be fixed with 2.2.3a > Also mine in 2.2.3a. (i forgot an "a") We use the latest (2.2.4) version of Samba, and still this comes up every now and then (quite rare though). I've tried to setup "nt acl support=no" to the [Profiles] share, but dunno if that helped any. Luckily this is very rare, and Samba is working smoothly. Thank you all, especially the developers! Best regards, -- Kimmo Akkanen Chief Information Officer Remedium Ltd./Oy phone. +358 9 6226 7125 cell. +358 40 9000 125 fax. +358 9 6226 7114 kimmo.akkanen@remedium.fi