[K12OSN] Roaming profile directory
lesbell at lesbell.com.au
Thu May 27 22:19:01 UTC 2004
"Joe Faletra" <jfaletra at sau16.org> wrote:
Does anyone know how I can get SAMBA to store roaming profiles in
/opt/samba/profiles? By default it saves in /home/USER_NAME/profile
Bzzt!! Not in /opt/samba/profiles, please! Go read the Linux Filesystem
Hierarchy Standard at http://www.pathname.com/fhs/ , and you'll see that
/opt is for major 3rd-party applications. Profiles should really go under
/var somewhere, e.g. /var/samba/profiles . By sticking with the Standard,
you'll find life easier when it comes to backups, etc.
In addition, the different versions of Windows store profiles in different
places. For NT, 2K and XP use the "logon path" setting in smb.conf. This is
usually a separate location from the user's home directory.For Win 95, 98
and ME, use the "logon home" setting in smb.conf. This is usually set to
logon home = \\%N\%U\profile
(or .profile) which puts the profile in the user's home directory.
This information is correct for Samba 3.04. For Samba 2.x, check the
definitions of these config options in "man 5 smb.conf".
--- Les Bell, RHCE, CISSP
More information about the K12OSN