Solved

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

Posted on 2007-03-24
1
447 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

713 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