Author Topic: Zentyal mount cifs share from Windows of FreeNAS problem  (Read 1746 times)

maxcomgr

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Zentyal mount cifs share from Windows of FreeNAS problem
« on: June 12, 2015, 11:18:10 am »
This is my first post, so i would like to greet you all.

I have a problem mounting external cifs shares or windows share in Zentyal 4.1 Dev. Edition.
When i try to use them for File Sharing in Zentyal (Share path->file system path), i get this message

The mount point '/mnt/winshare' must be mounted with 'acl' option. This is required for permissions to work properly.

I mount in via /etc/fstab (FreeNAS Share):
//192.168.1.2/bfshare  /mnt/winshare  cifs   acl,user_xattr,iocharset=utf8,uid=root,gid=root,username=freenas,password=freenas2015
or
for windows:
mount -t cifs -o acl,acl_xattr,username=maxcomgr,cifsacl //192.168.1.36/samba /mnt/samba

If i try to use setfacl command on any of mounted shares eg. setfacl -m u:freenas:rw /mnt/winshare/
I get this message setfacl: /mnt/winshare/: Malformed access ACL `user:freenas:rw-,mask::rw-': Missing or wrong entry at entry 1

Please help me, i am desperate.