Solved

How to copy a profile to Samba's default profile for new users

Posted on 2007-03-24
1
440 Views
Last Modified: 2010-03-18
I have an XP pro machine and I have the default profile on that computer perfect and would like this copied to the Linux box so the profile is default.

Basically I have a new Suse 10.2 box, Samba installed, setup as a PDC. When I attach an XP box and add it to the domain the users profile on the XP box now shows as a roaming user. Instead of it using the default profile on the XP box it uses the one on the Linux box I guess, so all of the icons, settings are lost. How can I copy my perfect profile to Samba so it will use it as a default profile ?
0
Comment
Question by:ParanoidOne
1 Comment
 
LVL 35

Accepted Solution

by:
ShineOn earned 500 total points
ID: 18787304
Roaming profiles, eh?

I think the roaming profile when using samba as PDC is stored in the .msprofile directory that should be in each user home directory.  Make sure the .msprofile file has ACL support, which means that /home must be mounted with ACL support...

I'm not sure where the default profile should be, but in the Gentoo document on Samba as PDC, they say to make sure your samba.conf has this section, which implies that's where the default and user profiles are stored:

[profiles]
 path = /var/lib/samba/profiles
 browseable = no
 writeable = yes
 default case = lower
 preserve case = no
 short preserve case = no
 case sensitive = no
 hide files = /desktop.ini/ntuser.ini/NTUSER.*/
 write list = @smbusers @root
 create mask = 0600
 directory mask = 0700
 csc policy = disable

Also, in your XP boxes, using GPEDIT.MSC, make sure your roaming profiles setting, Local Computer Policy / Computer Configuration / Administrative Templates / System / User Profiles
has "Do not check for ownership of Roaming Profile Folders" set to "enabled"  - or -
Change the registry key
HKLM\SOFTWARE\Policies\Microsoft\Windows\System
to add the value "CompatibleRUPSecurity"=dword:00000001

And, if you have problems where your profiles load but don't get saved back to the server, check for the presence of the nvidia video driver roaming profiles bug.



0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question