Ticket #4307 (closed defect: fixed)
Zentyal 2.3 fails defining access to shares
| Reported by: | nouseva.voima@… | Owned by: | scabrero@… |
|---|---|---|---|
| Milestone: | 3.0 | Component: | samba |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I added two shares and saved settings. When attempting to save again after granting a group access to the shares, Zentyal says:
Some modules reported error when saving changes . More information on the logs in /var/log/zentyal/
{data} {value} does not exist. {data} {value} does not exist. at /usr/share/perl5/EBox/LDB.pm line 284 EBox::LDB::getSidById('EBox::LDB=HASH(0x494a538)', 'production') called at /usr/share/perl5/EBox/Samba/Model/SambaShares.pm line 310 EBox::Samba::Model::SambaShares::createDirs('EBox::Samba::Model::SambaShares?=HASH(0x569d9e0)') called at /usr/share/perl5/EBox/Samba.pm line 629 EBox::Samba::_setConf('EBox::Samba=HASH(0x46546b0)') called at /usr/share/perl5/EBox/Module/Base.pm line 985 EBox::Module::Base::_regenConfig('EBox::Samba=HASH(0x46546b0)') called at /usr/share/perl5/EBox/Module/Service.pm line 695 EBox::Module::Service::_regenConfig('EBox::Samba=HASH(0x46546b0)') called at /usr/share/perl5/EBox/Module/Base.pm line 232 EBox::Module::Base::save('EBox::Samba=HASH(0x46546b0)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 612 EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl?=HASH(0x24c24b0)', 'progress', 'EBox::ProgressIndicator?=HASH(0x24ee7d8)') called at /usr/share/perl5/EBox/Global.pm line 95 EBox::Global::AUTOLOAD('EBox::Global=HASH(0x24eebc8)', 'progress', 'EBox::ProgressIndicator?=HASH(0x24ee7d8)') called at /usr/share/zentyal/global-action line 39
Here are the associated lines from zentyal.log:
2012/05/07 09:10:28 ERROR> Service.pm:721 EBox::Module::Service::__ANON__ - Error restarting service: {data} {value} does not exist.
2012/05/07 09:13:37 INFO> GlobalImpl.pm:545 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall samba dns
2012/05/07 09:13:37 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: firewall
2012/05/07 09:13:39 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: samba
2012/05/07 09:13:39 DEBUG> Samba.pm:579 EBox::Samba::_preSetConf - stopping service
2012/05/07 09:13:40 DEBUG> SambaShares.pm:275 EBox::Samba::Model::SambaShares::createDirs - Creating share directory
2012/05/07 09:13:40 DEBUG> SambaShares.pm:276 EBox::Samba::Model::SambaShares::createDirs - Executing mkdir -p '/home/ebox/samba/shares/newshare' chmod 0770 '/home/ebox/samba/shares/newshare' chown root:__USERS__ '/home/ebox/samba/shares/newshare'
2012/05/07 09:13:41 DEBUG> LDB.pm:284 EBox::LDB::getSidById - {data} {value} does not exist.
Dashboard then says File Sharing is stopped and when trying to start it, fails saying "{data} {value} does not exist."
When I delete the ACL's, File Sharing works normally again, but nobody can access the shares, of course.
Attachments
Change History
comment:1 Changed 13 months ago by jamor@…
- Owner changed from jamor@… to scabrero@…
- Milestone set to 3.0
comment:2 Changed 13 months ago by jamor@…
See also #4319 for another manifestation of the same error
comment:3 Changed 12 months ago by jamor@…
- Status changed from new to closed
- Resolution set to fixed
Hello Nouseva Voima,
I think this is fixed in the development version. I have created several shares, with different ACLs and the error was not triggered.
So, in the next release of zentyal-samba this will be fixed.
Regards,
Javier