Author Topic: access to samba shares for sftp users  (Read 20 times)


  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
access to samba shares for sftp users
« on: September 17, 2021, 11:54:23 am »
Hi everyone,
I try to add access to the samba shares for users thru the SFTP connection on Zentyal 7.0.
on previouse system 3.2 everything was fine, here I can't connect to. I received message "Access denied".
I tried to create the system user using command line, but for this option I have no access to samaba shares...
In 7.0 are strange group names in SAMBA shareds. It looks like "[DOMAIN NAME]/domain users" but in the /etc/group this such of group does not exist...
Somebody can help me solve this issue?



  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +11/-0
    • View Profile
Re: access to samba shares for sftp users
« Reply #1 on: September 17, 2021, 01:21:42 pm »

Below you have the steps that I followed to access to the shares with a domain user through FTP:

1. Install the FTP module, disable the option 'Restrict to personal directories' and enable the module.

2. Through FileZilla, create a FTP connection using a 'Passive' transfer mode.

3. Connect to the FTP server, and then, just search for the path '/home/samba/shares'.

I also tested with SFTP, I enabled PAM and then, I could be able to connect to the shares through Filezilla. I think, this method requires steps 1 and 3 from above.

“This world is ours, and by the Holy Light we will keep it safe, now and forever".