Modify

Ticket #3504 (closed defect: worksforme)

Opened 18 months ago

Last modified 18 months ago

Error when adding users

Reported by: suporte@… Owned by: cperez@…
Milestone: 2.2.X Component: users
Severity: normal Keywords:
Cc:

Description (last modified by jacalvo@…) (diff)

Hello

I'm Ana Rosa Klinke, I work in IT company SPQR-Zentyal and use the version 2.2.3.

In one of our customers are going on an error when adding users. I provide all the necessary information but an error occurs in a function of eBox.

I'm putting down the error code:

I look back

Thank you --- Ana Rosa Klinke

Unknown error at eBox: UsersAndGroups?: addUser objectclass: value # 3 invalid per syntax

Trace Unknown error at eBox: UsersAndGroups?: addUser objectclass: value # 3 invalid per syntax at / usr/share/perl5/EBox/Ldap.pm line 701 EBox:: LDAP:: _errorOnLdap ('Net:: LDAP:: Add = HASH (0x7f73a4f8d748)', 'HASH (0x7f73a4c1ffd0)') called at / usr/share/perl5/EBox/Ldap.pm line 407 EBox:: LDAP:: add ('eBox:: LDAP = HASH (0x7f73a0f883a8)', 'uid = anarosaklinke, ou = Users, dc = masterbh, dc = spqr-ti, dc = org', 'HASH (0x7f73a4c1ffd0)' ) called at / line 1058 usr/share/perl5/EBox/UsersAndGroups.pm EBox: UsersAndGroups?: addUser ('eBox: UsersAndGroups? = HASH (0x7f73a0c065e0)', 'HASH (0x7f73a4e3ead0)') called at / usr/share/perl5/EBox/CGI/UsersAndGroups/AddUser.pm line 77 called at / usr/share/perl5/EBox/CGI/Base.pm line 275 EBox:: CGI:: Base:: run ('eBox:: CGI:: UsersAndGroups?: AddUser? = HASH (0x7f73a4cdd378)') called at / usr/share/perl5/EBox/CGI/Run.pm line 129 EBox:: CGI:: Run:: run ('eBox:: CGI:: Run', 'UsersAndGroups? / adduser', 'eBox') called at / usr / share / zentyal / cgi / ebox.cgi line 34 called at / usr/lib/perl5/ModPerl/RegistryCooker.pm line 204 eval {...} called at / usr/lib/perl5/ModPerl/RegistryCooker.pm line 204 ModPerl:: RegistryCooker:: run ('ModPerl:: Registry = HASH (0x7f73a4cdbb68)') called at / usr/lib/perl5/ModPerl/RegistryCooker.pm line 170 ModPerl:: RegistryCooker?: default_handler ('ModPerl:: Registry = HASH (0x7f73a4cdbb68)') called at / usr/lib/perl5/ModPerl/Registry.pm line 31 ModPerl:: Registry:: handler ('ModPerl:: Registry', 'Apache2:: RequestRec? = SCALAR (0x7f73a4df3398)') called at-e line 0 eval {...} called at-e line 0 Report

Error

Unknown error at EBox::UsersAndGroups::addUser objectclass: value #3 invalid per syntax

Trace

Unknown error at EBox::UsersAndGroups::addUser objectclass: value #3 invalid per syntax at /usr/share/perl5/EBox/Ldap.pm line 701
	EBox::Ldap::_errorOnLdap('Net::LDAP::Add=HASH(0x7f73a5023f20)', 'HASH(0x7f73a4fa3cc8)') called at /usr/share/perl5/EBox/Ldap.pm line 407
	EBox::Ldap::add('EBox::Ldap=HASH(0x7f73a0f883a8)', 'uid=anarosaklinke,ou=Users,dc=masterbh,dc=spqr-ti,dc=org', 'HASH(0x7f73a4fa3cc8)') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 1058
	EBox::UsersAndGroups::addUser('EBox::UsersAndGroups=HASH(0x7f73a0c065e0)', 'HASH(0x7f73a4fe0930)') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/AddUser.pm line 77
	EBox::CGI::UsersAndGroups::AddUser::_process('EBox::CGI::UsersAndGroups::AddUser=HASH(0x7f73a4fe2e00)') called at /usr/share/perl5/EBox/CGI/Base.pm line 275
	EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::AddUser=HASH(0x7f73a4fe2e00)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
	EBox::CGI::Run::run('EBox::CGI::Run', 'UsersAndGroups/AddUser', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
	ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x7f73a4fe9d68)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7f73a4fed028)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f73a4fed028)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7f73a4fe9d68)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (50.8 KB) - added by anonymous 18 months ago.
zentyal.log

Change History

Changed 18 months ago by anonymous

zentyal.log

comment:1 Changed 18 months ago by jacalvo@…

  • Owner changed from jacalvo@… to cperez@…
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to Error when adding users

comment:2 Changed 18 months ago by jacalvo@…

  • Component changed from base to users

comment:3 Changed 18 months ago by cperez@…

  • Status changed from new to closed
  • Resolution set to worksforme

Hi,

It seems that your system was upgraded from 2.0 to 2.2, you need to use upgraing tool for that:  http://trac.zentyal.org/wiki/Documentation/Community/Migration

You can fix this by reinstalling users package:

/usr/share/zentyal-users/reinstall

Best regards

comment:4 Changed 18 months ago by toms.krilovs@…

hi!

I have similar problem. I made a backup of my zentyal 2.0 server. Then reinstalled it, putting zentyal 2.2. Then I restored my zentyal 2.0 backup to my new zentyal 2.2 system. Firstly I thought that everything is ok, but now I can't delete and add new users to my server. What can I do now? If I will execute "/usr/share/zentyal-users/reinstall" all my data will be lost, right? And I will have to input all my ~250 users from zero?

Best regards, Toms from Latvia

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.