Modify

Ticket #3749 (closed defect: worksforme)

Opened 16 months ago

Last modified 16 months ago

When deleting account: AttributeDescription contains inappropriate characters

Reported by: rodrigo.magalhaes@… Owned by: jamor@…
Milestone: 2.2.X Component: mail
Severity: normal Keywords:
Cc:

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

I'm deleting the account for rodrigo.magalhaes @ zleuc.local domain. Cheers.

Error

Unknown error at EBox::MailUserLdap::delUserAccount rodrigo.magalhaes@leucotron.com.br:pop3:pop.leucotron.com.br:110:keep:ck0yr1n6z1290m: AttributeDescription contains inappropriate characters

Trace

Unknown error at EBox::MailUserLdap::delUserAccount rodrigo.magalhaes@leucotron.com.br:pop3:pop.leucotron.com.br:110:keep:ck0yr1n6z1290m: AttributeDescription contains inappropriate characters at /usr/share/perl5/EBox/Ldap.pm line 701
	EBox::Ldap::_errorOnLdap('Net::LDAP::Modify=HASH(0x7f009b852f40)', 'HASH(0x7f0099520918)') called at /usr/share/perl5/EBox/Ldap.pm line 363
	EBox::Ldap::modify('EBox::Ldap=HASH(0x7f0098e74c68)', 'uid=rodrigo,ou=Users,dc=z1,dc=leucotron,dc=local', 'HASH(0x7f0099520918)') called at /usr/share/perl5/EBox/MailUserLdap.pm line 179
	EBox::MailUserLdap::delUserAccount('EBox::MailUserLdap=HASH(0x7f009b831fb8)', 'rodrigo') called at /usr/share/perl5/EBox/MailUserLdap.pm line 440
	EBox::MailUserLdap::_delUser('EBox::MailUserLdap=HASH(0x7f009b831fb8)', 'rodrigo') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 1325
	EBox::UsersAndGroups::_cleanUser('EBox::UsersAndGroups=HASH(0x7f0099505288)', 'rodrigo') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 1353
	EBox::UsersAndGroups::delUser('EBox::UsersAndGroups=HASH(0x7f0099505288)', 'rodrigo') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/Del.pm line 87
	EBox::CGI::UsersAndGroups::Del::_process('EBox::CGI::UsersAndGroups::Del=HASH(0x7f009b642418)') called at /usr/share/perl5/EBox/CGI/Base.pm line 275
	EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::Del=HASH(0x7f009b642418)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
	EBox::CGI::Run::run('EBox::CGI::Run', 'UsersAndGroups/Del', '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(0x7f009b75ae80)') 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(0x7f009b566020)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f009b566020)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7f009b75ae80)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (64.0 KB) - added by anonymous 16 months ago.
zentyal.log

Change History

Changed 16 months ago by anonymous

zentyal.log

comment:1 Changed 16 months ago by jamor@…

  • Component changed from base to mail
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to When deleting account: AttributeDescription contains inappropriate characters

Hello Rodrigo Magalhae,

I am afraid that for looking this I need a dump of your LDAP database. It is possible to send it to me?.

My email account is jamor @ zentyal.com

To generate a dump use this command:

sudo slapcat > ldap.dump

However the dump will contain information about your users like names, email accounts and passwords.If you wish you can delete/edit the non-needed users and the passwords of the user of the account.

Regards, Javier

comment:2 Changed 16 months ago by jamor@…

  • Status changed from new to accepted

comment:3 Changed 16 months ago by jamor@…

Hello Rodrigo Magalhae,

I have looked more in the issue. The LDAP record which raises a error is an external email account, the ones that are set in the user corner to retrieve email from external email accounts.

I have made an account with the same data and I can delete the mail account, the external email account and the user without problem.

It would be interesting if you go to the user corner and try to remove here the account. It raises error or Zentyal let you proceed?.

Regards,

Javier

comment:4 Changed 16 months ago by jamor@…

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

As I have said I cannot reproduce this in my own. Please, reopen if you could give us more feedback.

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.