Author Topic: Cant access any shares after 3.3.4 update  (Read 4618 times)

Ulif

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +2/-1
    • View Profile
Cant access any shares after 3.3.4 update
« on: January 30, 2014, 11:27:20 am »
after updating my production server last night all my shares including my "user share" have become inaccessible  :'( :'( :'(

the only shared folder i can see is sysvol- can anyone recommend anything?
please i am desperate to fix this all the students cannot access any of their work!

Ulif

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +2/-1
    • View Profile
Re: Cant access any shares after 3.3.4 update
« Reply #1 on: January 30, 2014, 06:33:39 pm »
bump!

alecaru

  • Zen Apprentice
  • *
  • Posts: 47
  • Karma: +2/-0
    • View Profile

Ulif

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +2/-1
    • View Profile
Re: Cant access any shares after 3.3.4 update
« Reply #3 on: January 30, 2014, 10:23:45 pm »
Thanks- I saw that, but will I not lose all my users, their data and shares?
Really appreciate the help!

robb

  • Guest
Re: Cant access any shares after 3.3.4 update
« Reply #4 on: January 31, 2014, 08:58:02 am »
Only removing/reinstalling Users and Computers module will affect your users.
But if you want to be absolutely sure, recreate the situation in a VM and dry-run first.

Ulif

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +2/-1
    • View Profile
Re: Cant access any shares after 3.3.4 update
« Reply #5 on: February 01, 2014, 09:58:12 pm »
thanks tried this but still no sucsess- it would seem that all my permissions are lost  :'( any way to fix this? even if i have to sit manualy and do it is there a howto that you can point me to?

Ulif

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +2/-1
    • View Profile
Re: Cant access any shares after 3.3.4 update
« Reply #6 on: February 02, 2014, 11:06:07 pm »
so now its much worse than anticipated- on the web UI i cant see any of the users. So i assume all has been wiped out- i can see the groups, and all the windows user seem to be there on the remote active directory tool (but i have no permission to edit or change them). i also cannot create users on the web UI because it says the users already exist. Anybody have any ideas?

Ulif

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +2/-1
    • View Profile
Re: Cant access any shares after 3.3.4 update
« Reply #7 on: February 03, 2014, 11:53:53 am »
From my logs:
Quote
2014/02/03 12:47:44 ERROR> GlobalImpl.pm:738 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: samba  at Trace begun at /usr/share/perl5/EBox/Exceptions/Base.pm line 79
EBox::Exceptions::Base::stacktrace('EBox::Exceptions::Internal=HASH(0xcda2ae8)') called at /usr/share/perl5/EBox/Exceptions/Base.pm line 119
EBox::Exceptions::Base::log('EBox::Exceptions::Internal=HASH(0xcda2ae8)') called at /usr/share/perl5/EBox/Exceptions/Internal.pm line 35
EBox::Exceptions::Internal::new('EBox::Exceptions::Internal', 'The following modules failed while saving their changes, their state is unknown: samba ') called at /usr/share/perl5/EBox/Exceptions/Base.pm line 91
EBox::Exceptions::Base::throw('EBox::Exceptions::Internal', 'The following modules failed while saving their changes, their state is unknown: samba ') called at /usr/share/perl5/EBox/GlobalImpl.pm line 738
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x327f4c0)', 'progress', 'EBox::ProgressIndicator=HASH(0x15fc330)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x329c6e8)', 'progress', 'EBox::ProgressIndicator=HASH(0x15fc330)') called at /usr/share/zentyal/global-action line 31
eval {...} at /usr/share/zentyal/global-action line 29
2014/02/03 12:49:11 DEBUG> Base.pm:224 EBox::CGI::Base::_requireParam - last name is empty. at Trace begun at /usr/share/perl5/EBox/Exceptions/Base.pm line 79
EBox::Exceptions::Base::stacktrace('EBox::Exceptions::DataMissing=HASH(0x7f919327dce8)') called at /usr/share/perl5/EBox/Exceptions/Base.pm line 119
EBox::Exceptions::Base::log('EBox::Exceptions::DataMissing=HASH(0x7f919327dce8)') called at /usr/share/perl5/EBox/Exceptions/External.pm line 43
EBox::Exceptions::External::new('EBox::Exceptions::DataMissing', 'last name is empty.', 'data', 'last name') called at /usr/share/perl5/EBox/Exceptions/DataMissing.pm line 43
EBox::Exceptions::DataMissing::new('EBox::Exceptions::DataMissing', 'data', 'last name') called at /usr/share/perl5/EBox/Exceptions/Base.pm line 91
EBox::Exceptions::Base::throw('EBox::Exceptions::DataMissing', 'data', 'last name') called at /usr/share/perl5/EBox/CGI/Base.pm line 224
EBox::CGI::Base::_requireParam('EBox::Users::CGI::AddUser=HASH(0x7f919761bf88)', 'surname', 'last name') called at /usr/share/perl5/EBox/Users/CGI/AddUser.pm line 49
EBox::Users::CGI::AddUser::_process('EBox::Users::CGI::AddUser=HASH(0x7f919761bf88)') called at /usr/share/perl5/EBox/CGI/ClientRawBase.pm line 167
eval {...} at /usr/share/perl5/EBox/CGI/ClientRawBase.pm line 165
EBox::CGI::ClientRawBase::run('EBox::Users::CGI::AddUser=HASH(0x7f919761bf88)') called at /usr/share/perl5/EBox/CGI/Run.pm line 86
eval {...} at /usr/share/perl5/EBox/CGI/Run.pm line 59
EBox::CGI::Run::run('EBox::CGI::Run', 'Users/AddUser') called at /usr/share/zentyal/cgi/ebox.cgi line 37
eval {...} at /usr/share/zentyal/cgi/ebox.cgi line 25
ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x7f919761abe0)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
eval {...} at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7f9197684bd0)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f9197684bd0)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7f919761abe0)') called at -e line 0
eval {...} at -e line 0
2014/02/03 12:49:23 WARN> User.pm:530 EBox::Users::User::create - Home directory /home/Admin already exists when creating user Admin
2014/02/03 12:49:23 INFO> SambaLdapUser.pm:183 EBox::SambaLdapUser::_preAddUser - Creating user 'Admin'
2014/02/03 12:49:23 ERROR> User.pm:372 EBox::Samba::User::create - Error on person LDAP entry creation: The client attempted to add an entry that already exists. This can occur as
a result of

 * An add request was submitted with a DN that already exists

 * A modify DN requested was submitted, where the requested new DN already exists

 * The request is adding an attribute to the schema and an attribute with the
given OID or name already exists
.<br/> Operation parameters:'add []
'
 at Trace begun at /usr/share/perl5/EBox/Exceptions/Base.pm line 79
EBox::Exceptions::Base::stacktrace('EBox::Exceptions::LDAP=HASH(0x7f919772fd90)') called at /usr/share/perl5/EBox/Exceptions/Base.pm line 119
EBox::Exceptions::Base::log('EBox::Exceptions::LDAP=HASH(0x7f919772fd90)') called at /usr/share/perl5/EBox/Exceptions/Internal.pm line 35
EBox::Exceptions::Internal::new('EBox::Exceptions::LDAP', 'Error on person LDAP entry creation: The client attempted to add an entry that already exists. This can occur as^Ja result of^J^J * An add request was submitted with a DN that already exists^J^J * A modify DN requested was submitted, where the requested new DN already exists^J^J * The request is adding an attribute to the schema and an attribute with the^Jgiven OID or name already exists^J.<br/> Operation parameters:\'add []^J\'^J') called at /usr/share/perl5/EBox/Exceptions/LDAP.pm line 59
EBox::Exceptions::LDAP::new('EBox::Exceptions::LDAP', 'message', 'Error on person LDAP entry creation:', 'result', 'Net::LDAP::Add=HASH(0x7f9197724d20)', 'opArgs', 'add []^J') called at /usr/share/perl5/EBox/Exceptions/Base.pm line 91
EBox::Exceptions::Base::throw('EBox::Exceptions::LDAP', 'message', 'Error on person LDAP entry creation:', 'result', 'Net::LDAP::Add=HASH(0x7f9197724d20)', 'opArgs', 'add []^J') called at /usr/share/perl5/EBox/Samba/User.pm line 372
eval {...} at /usr/share/perl5/EBox/Samba/User.pm line 369
EBox::Samba::User::create('EBox::Samba::User', 'name', 'Admin Admin', 'parent', 'EBox::Samba::OU=HASH(0x7f9197737e00)', 'samAccountName', 'Admin', 'givenName', 'Admin', 'sn', 'Admin') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 184
EBox::SambaLdapUser::_preAddUser('EBox::SambaLdapUser=HASH(0x7f91977378d8)', 'Net::LDAP::Entry=HASH(0x7f91977339f8)', 'EBox::Users::OU=HASH(0x7f9197703fa8)') called at /usr/share/perl5/EBox/Users.pm line 1566
EBox::Users::notifyModsPreLdapUserBase('EBox::Users=HASH(0x7f9196404568)', 'preAddUser', 'ARRAY(0x7f91977045d8)', undef, undef) called at /usr/share/perl5/EBox/Users/User.pm line 596
eval {...} at /usr/share/perl5/EBox/Users/User.pm line 565
EBox::Users::User::create('EBox::Users::User', 'parent', 'EBox::Users::OU=HASH(0x7f9197703fa8)', 'uid', 'Admin', 'description', '', 'surname', 'Admin', 'givenname', 'Admin', 'password', 'A123b', 'group', 'cn=Domain Admins,ou=Groups,dc=stu-eden,dc=lan', 'fullname', undef, 'repassword', 'A123b') called at /usr/share/perl5/EBox/Users/CGI/AddUser.pm line 76
EBox::Users::CGI::AddUser::_process('EBox::Users::CGI::AddUser=HASH(0x7f91976235a8)') called at /usr/share/perl5/EBox/CGI/ClientRawBase.pm line 167
eval {...} at /usr/share/perl5/EBox/CGI/ClientRawBase.pm line 165
EBox::CGI::ClientRawBase::run('EBox::Users::CGI::AddUser=HASH(0x7f91976235a8)') called at /usr/share/perl5/EBox/CGI/Run.pm line 86
eval {...} at /usr/share/perl5/EBox/CGI/Run.pm line 59
EBox::CGI::Run::run('EBox::CGI::Run', 'Users/AddUser') called at /usr/share/zentyal/cgi/ebox.cgi line 37
eval {...} at /usr/share/zentyal/cgi/ebox.cgi line 25
ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x7f919761a778)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
eval {...} at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7f919767e690)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f919767e690)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7f919761a778)') called at -e line 0
eval {...} at -e line 0
2014/02/03 12:49:23 ERROR> User.pm:397 EBox::Samba::User::create - Error on person LDAP entry creation: The client attempted to add an entry that already exists. This can occur as
a result of

 * An add request was submitted with a DN that already exists

 * A modify DN requested was submitted, where the requested new DN already exists

 * The request is adding an attribute to the schema and an attribute with the
given OID or name already exists
.<br/> Operation parameters:'add []
'
2014/02/03 12:49:23 ERROR> User.pm:646 EBox::Users::User::create - Error on person LDAP entry creation: The client attempted to add an entry that already exists. This can occur as
a result of

 * An add request was submitted with a DN that already exists

 * A modify DN requested was submitted, where the requested new DN already exists

 * The request is adding an attribute to the schema and an attribute with the
given OID or name already exists
.<br/> Operation parameters:'add []
'
2014/02/03 12:49:23 INFO> SambaLdapUser.pm:212 EBox::SambaLdapUser::_preAddUserFailed - Aborted User creation, removing from samba

Ulif

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +2/-1
    • View Profile
Re: Cant access any shares after 3.3.4 update
« Reply #8 on: February 04, 2014, 11:25:44 am »
Ok i have found a bug (i think and hope!)

if users are in any organizational unit other then "users" they get their home drives striped of their permissions and lose all their rights

can anybody confirm this? and is there a workaround? i had this working for quite some time before the update "broke" it!

Ulif

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +2/-1
    • View Profile
Re: Cant access any shares after 3.3.4 update
« Reply #9 on: February 04, 2014, 08:50:20 pm »
bump!

papajulio

  • Zentyal Staff
  • Zen Monk
  • *****
  • Posts: 64
  • Karma: +6/-0
    • View Profile
Re: Cant access any shares after 3.3.4 update
« Reply #10 on: February 05, 2014, 09:17:47 am »
Hello,

We have reproduced the issue that has been already reported in the Trac and we will fix it as soon as possible. Sorry for the inconvenience that this may have caused you.

I will post here when we have a fix for the problem.

Cheers
--
Julio José García Martín - QA Engineer

alecaru

  • Zen Apprentice
  • *
  • Posts: 47
  • Karma: +2/-0
    • View Profile
Re: Cant access any shares after 3.3.4 update
« Reply #11 on: February 05, 2014, 09:33:46 am »
To the developers: I don't want to be rude, being just a novice and appreciating your work on Zentyal, but don't you think you should be stricter on versioning a stable release when it's almost clear that more often than expected the updates mess something on the server?

Ulif

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +2/-1
    • View Profile
Re: Cant access any shares after 3.3.4 update
« Reply #12 on: February 05, 2014, 12:41:51 pm »
Hello,

We have reproduced the issue that has been already reported in the Trac and we will fix it as soon as possible. Sorry for the inconvenience that this may have caused you.

I will post here when we have a fix for the problem.

Cheers

thanks! please can you point me to the ticket so i can also keep track, and if necessary contribute.

c4rdinal

  • Zen Samurai
  • ****
  • Posts: 341
  • Karma: +4/-0
    • View Profile
Re: Cant access any shares after 3.3.4 update
« Reply #13 on: February 06, 2014, 06:03:34 am »
Have you tried disabling Antivirus Scanning in Filesharing?

Ulif

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +2/-1
    • View Profile
Re: Cant access any shares after 3.3.4 update
« Reply #14 on: February 07, 2014, 01:57:19 pm »
yes- this is a different issue- specific to OU

any reply from the zentyal team re ticket/fix?

Bump!
« Last Edit: February 11, 2014, 09:01:43 am by Ulif »