Samba chroot jailing

Latest response

Hi all,

 

Is it possible to jailing samba share drive. My scenario is, wheen a user will try to acccess their share drive, other share drive will not shown. it will redriect to the home directory is like chroot jail on sftp.

 

thanks

 

kazi

Responses

Take a look at the smb.conf man page and look for the "only user" directive. This should give you what you are looking for. Look at the bottom of the Securing Samba documentation for further detail.

Only user = %S

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/securing-samba.html