I upgraded from Zentyal 3 to Zentyal 4 (I'm currently running 4.2.1.3 64-bit). After the upgrade the file sharing stopped working. Looking in the logs I'm seeing the following:
2016/01/20 17:10:59 INFO> GlobalImpl.pm:624 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall samba logs
2016/01/20 17:10:59 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: firewall
2016/01/20 17:10:59 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: samba
2016/01/20 17:11:01 INFO> Samba.pm:850 EBox::Samba::_postServiceHook - Setting roaming profiles...
2016/01/20 17:11:01 INFO> Samba.pm:919 EBox::Samba::_postServiceHook - Applying new permissions to the share 'Accounting'...
2016/01/20 17:11:01 INFO> SetUidGidNumbers.pm:195 EBox::Samba::SetUidGidNumbers::run - Samba uid and gid number check daemon started
2016/01/20 17:11:01 INFO> Samba.pm:1000 EBox::Samba::_postServiceHook - Applying ACLs for top-level share Accounting
2016/01/20 17:11:01 ERROR> Samba.pm:1019 EBox::Samba::_postServiceHook - Error setting security descriptor on share 'Accounting': Failed to open: NT_STATUS_ACCESS_DENIED at /usr/share/perl5/EBox/Samba.pm line 1017, <GEN0> line 1116.
2016/01/20 17:11:01 ERROR> GlobalImpl.pm:660 EBox::GlobalImpl::saveAllModules - Failed to save changes in module samba: Can't locate object method "throw" via package "Failed to list directory '/': NT_STATUS_ACCESS_DENIED at /usr/lib/perl5/Samba/Smb.pm line 154, <GEN0> line 1116.
" (perhaps you forgot to load "Failed to list directory '/': NT_STATUS_ACCESS_DENIED at /usr/lib/perl5/Samba/Smb.pm line 154, <GEN0> line 1116.
"?) at /usr/share/perl5/EBox/Module/Base.pm line 238, <GEN0> line 1123.
2016/01/20 17:11:01 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: logs
2016/01/20 17:11:01 ERROR> GlobalImpl.pm:735 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: samba at The following modules failed while saving their changes, their state is unknown: samba at /usr/share/perl5/EBox/GlobalImpl.pm line 735
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x432f290)', 'progress', 'EBox::ProgressIndicator=HASH(0x1ccaad8)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x432ecd8)', 'progress', 'EBox::ProgressIndicator=HASH(0x1ccaad8)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
I've tried searching the forums and Google for information, specifically with regard to the line mentioning "Failed to open: NT_STATUS_ACCESS_DENIED", but I'm coming up with nothing.
I also tried backing up the files and deleting all the shares. When all the shares are deleted everything saves properly, however, as soon as I add a share back I get the same error.
Any help would be appreciated.