United States (change)
Shortcuts: Downloads Fedora Red Hat Network
Account Links: Cart Your Account Logout
You will need the following settings enabled in your /etc/samba/smb.conf file:
# - Windows 2000/XP clients are fed this share as the
location to store their profile:
logon path = \\%N\profiles\%U
#
# - Windows 9x & NT clients are fed this share as the
location to store their profile:
logon home = \\%N\%U\profile
|
[profiles] comment = Roaming User Profiles path = /home/profiles profile acls = yes csc policy = disable create mask = 0600 directory mask = 0700 browseable = no guest ok = no read only = no |
# mkdir /home/profiles |
# chown root:smbusers /home/profiles # chmod 770 /home/profiles |
[homes] comment = Home Directories csc policy = disable valid users = %U read only = no create mask = 0600 directory mask = 0700 browseable = No guest ok = no |
# service smb restart |
Note: The 'directory mask' and 'create mask' values shown above reflect using a tighter security on users' data directories. You could modify these to less restrictive values if you prefer.
Your Samba PDC will now offer to store users' profiles on the server. Note, however, that much of the behavior regarding profile storage is governed by the client side of the equation (the Windows systems), even when your server is configured to support roaming profiles.
The first time a certain network user logs on from a particular NT, 2000, or XP workstation, a key is written to the Windows registry which tells the system where to load this user's profile from in the future. So if a certain network user has already logged onto the network from a certain workstation before you enabled roaming profile support on your Samba PDC, their profile will most likely still be loaded from the local system, due to the value of this registry key.
Incidentally, although editing the Windows registry is not recommended and well beyond the scope of this document, here is the registry key which contains the ProfileList subkeys, one for each user that has ever logged onto a given system. We do not recommend modifying anything, but this is where the information is stored:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
How To Change an Existing XP or 2000 Network User's Profile from Local to Roaming
On XP and 2000 systems, to change a network user's profile from a local profile type to a roaming profile type, be prepared to go to each workstation the network user has logged in from. But you will want to go to the system containing the user profile/home directory you want copied to the Samba PDC first.
First, back up any important data files currently stored in the network user's local home directory - on EACH WORKSTATION they have logged in from - to a location outside of the "Documents and Settings" folder structure.
Other ways to convert Windows user profiles may exist, and some details may be different for older versions of Windows. For more information on the Windows side of this administration topic, please consult your Windows documentation, or other Microsoft support mechanisms.
For more information about Samba configuration, excellent Samba documentation is also available in PDF and HTML formats on any system which has the samba RPM installed, in the following directory: /usr/share/doc/samba-