[Samba] Setting home path to a dir within a users Linux home

Dwight Tovey dwight at dtovey.net
Wed Jul 7 20:49:10 GMT 2004


Michael Lueck said:
> Is there a trick to append an additional directory level onto the defauly
> behavior of a [homes] share looking in /etc/passwd to find the users Linux
> home dir? It would offer a bit of protection if
> Windows clients ended up in say the WinHome directory within their Linux
> home directory when logging in from Windows so they are not tempted to
> tamper with their desktop settings files for Linux from
> Windows.
>
> Maybe there is a bit of magic someone knows, a variable to include or
> something?
>

man smb.conf

Read the section on "The Homes Section"

Under '[homes]' in your smb.conf set
path = %H/WinHome


    /dwight
-- 
Dwight N. Tovey
email: dwight at dtovey.net
web: http://www.dtovey.net/~dwight
-----------
I Suffer Occasional Delusions of Adequacy



More information about the samba mailing list