Modify

Ticket #3000 (closed defect: duplicate)

Opened 2 years ago

Last modified 15 months ago

Unknown error at EBox::UsersAndGroups::addUserToGroup

Reported by: info@… Owned by: cperez@…
Milestone: nice to have someday Component: users
Severity: normal Keywords:
Cc:

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

Error

Unknown error at EBox::UsersAndGroups::addUserToGroup modify/add: memberUid: value #0 already exists

Trace

Unknown error at EBox::UsersAndGroups::addUserToGroup modify/add: memberUid: value #0 already exists at /usr/share/perl5/EBox/Ldap.pm line 703
	EBox::Ldap::_errorOnLdap('Net::LDAP::Modify=HASH(0x265a20f8)', 'HASH(0x241677c8)') called at /usr/share/perl5/EBox/Ldap.pm line 364
	EBox::Ldap::modify('EBox::Ldap=HASH(0x23f35f68)', 'cn=Domain Admins,ou=Groups,dc=gandalf', 'HASH(0x241677c8)') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 2016
	EBox::UsersAndGroups::addUserToGroup('EBox::UsersAndGroups=HASH(0x241b8bd0)', 'admin', 'Domain Admins') called at /usr/share/perl5/EBox/Samba.pm line 949
	EBox::Samba::setAdminUser('EBox::Samba=HASH(0x24cb87f0)', 'admin', 'yes') called at /usr/share/perl5/EBox/CGI/Samba/ActiveSharing.pm line 78
	EBox::CGI::Samba::ActiveSharing::_user('EBox::CGI::Samba::ActiveSharing=HASH(0x264bce88)') called at /usr/share/perl5/EBox/CGI/Samba/ActiveSharing.pm line 85
	EBox::CGI::Samba::ActiveSharing::_process('EBox::CGI::Samba::ActiveSharing=HASH(0x264bce88)') called at /usr/share/perl5/EBox/CGI/Base.pm line 254
	EBox::CGI::Base::run('EBox::CGI::Samba::ActiveSharing=HASH(0x264bce88)') called at /usr/share/perl5/EBox/CGI/Run.pm line 128
	EBox::CGI::Run::run('EBox::CGI::Run', 'Samba/ActiveSharing', '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(0x2658d3a8)') 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(0x264b9378)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x264b9378)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x2658d3a8)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (123.3 KB) - added by anonymous 2 years ago.
zentyal.log

Change History

Changed 2 years ago by anonymous

zentyal.log

comment:1 Changed 23 months ago by jacalvo@…

  • Owner changed from jacalvo@… to cperez@…
  • Description modified (diff)

comment:2 Changed 22 months ago by jacalvo@…

  • Summary changed from Bug report from Zentyal Server to Unknown error at EBox::UsersAndGroups::addUserToGroup

comment:3 Changed 22 months ago by jacalvo@…

  • Component changed from base to users

comment:4 Changed 22 months ago by cperez@…

  • priority changed from normal to low

This bug was caused because group was added to the user *after* form page load. Probably this was caused by other logged admin or the same form in another tab.

The error is rightful, but we should show a better message

comment:5 Changed 21 months ago by jacalvo@…

  • Milestone changed from 2.2 to nice to have someday

comment:6 Changed 15 months ago by jamor@…

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

Fixed in #3635

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.