Author Topic: [Solved] Zentyal 4.0 - No user (only the Domain Admins) can access shares.  (Read 1290 times)

MyKey0815

  • Zen Apprentice
  • *
  • Posts: 33
  • Karma: +2/-0
    • View Profile
I have upgrade from 3.4.8 to 4.0 on weekend.

After the upgrade no user can access the shares anymore. Only users with the right "Domain Admins" can go to shares. But that cannot be the solution (is in moment my quick and very dirty workaraound).

How can I restore the Shares Permissions working?
« Last Edit: January 22, 2015, 08:22:55 am by MyKey0815 »

MyKey0815

  • Zen Apprentice
  • *
  • Posts: 33
  • Karma: +2/-0
    • View Profile
Re: Zentyal 4.0 - No access to shares
« Reply #1 on: January 21, 2015, 11:23:16 am »
I have set today the Guest-Access. In the description is mentioned, that this option disable the ACL and everyone can access the share. But this didnt work.

Only users in the Domain Admin Group have access to the shares

If I try to change the permissons i found following error:
Code: [Select]
Samba.pm:1265 EBox::Samba::_postServiceHook - Error setting security descriptor on file PDFCreator/_5QBLJ~J.HTM: Failed to open: NT_STATUS_OBJECT_NAME_NOT_FOUND at /usr/share/perl5/EBox/Samba.pm line 1263, <GEN0> line 1673.
« Last Edit: January 21, 2015, 03:16:42 pm by MyKey0815 »

MyKey0815

  • Zen Apprentice
  • *
  • Posts: 33
  • Karma: +2/-0
    • View Profile
Yesterday a found a working solution:

* chmod -R 777 /Domainfiles <= I give all access to the directory with the data for the Shares
* Disable shares and recursice ACL on the shares definition in zentyal 4
* Activate shares and recursice ACL on the shares again

Now the users can access "Normaly" to the files again. I think that the upgrade from 3.4.8 to 4.0 have messed up some ACLs