[Samba] about [homes] path

heath heath0504+samba at gmail.com
Mon Mar 1 19:09:24 MST 2010

Hi, I divide accounts into two groups.

One is normal account which $HOME is /home/account.
The other is jailed account which real $HOME path is /home/account/jailed.
(The $HOME of jailed accounts in /etc/passwd is still /home/account)

In [homes] section, if I don't set path,
jailed account can't enter his jailed $HOME (/home/account/jailed) directly.

Is it possible to let all accounts go to their $HOME path correctly?
ie. When normal account access \\samba\username, it map to /home/username.
When jailed account access \\samba\username, it map to /home/username/jailed.

Best Regards,
- heath

More information about the samba mailing list