Modify

Ticket #4046 (closed defect: fixed)

Opened 15 months ago

Last modified 13 months ago

'Failed to create index key for attribute 'givenName':Unknown error' on DN CN=Kim Rønsholt Mikkelsen,CN=Users,DC=zentyal,DC=domain Command output: Failed to load upcase.dat, will use lame ASCII-only case sensitivity rules

Reported by: anonymous Owned by: scabrero@…
Milestone: 3.0 Component: samba
Severity: normal Keywords:
Cc:

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

Error

root command ldbmodify -H /var/lib/samba/private/sam.ldb.d/DC=ZENTYAL,DC=DOMAIN.ldb /var/lib/zentyal/tmp/ldb.modify failed. 
Error output: ldb_handler_fold: unable to casefold string [Kim Rønsholt]
 ERR: (Operations error) 'Failed to create index key for attribute 'givenName':Unknown error' on DN CN=Kim Rønsholt Mikkelsen,CN=Users,DC=zentyal,DC=domain

Command output: Failed to load upcase.dat, will use lame ASCII-only case sensitivity rules
 Failed to load lowcase.dat, will use lame ASCII-only case sensitivity rules
 Modified 0 records with 1 failures
. 
Exit value: 1

Trace

root command ldbmodify -H /var/lib/samba/private/sam.ldb.d/DC=ZENTYAL,DC=DOMAIN.ldb /var/lib/zentyal/tmp/ldb.modify failed. 
Error output: ldb_handler_fold: unable to casefold string [Kim Rønsholt]
 ERR: (Operations error) 'Failed to create index key for attribute 'givenName':Unknown error' on DN CN=Kim Rønsholt Mikkelsen,CN=Users,DC=zentyal,DC=domain

Command output: Failed to load upcase.dat, will use lame ASCII-only case sensitivity rules
 Failed to load lowcase.dat, will use lame ASCII-only case sensitivity rules
 Modified 0 records with 1 failures
. 
Exit value: 1 at /usr/share/perl5/Error.pm line 182
	Error::throw('EBox::Exceptions::Sudo::Command', 'cmd', 'ldbmodify -H /var/lib/samba/private/sam.ldb.d/DC=ZENTYAL,DC=D...', 'output', 'ARRAY(0x249f7cd0)', 'error', 'ARRAY(0x21a78514)', 'exitValue', 1, ...) called at /usr/share/perl5/EBox/Sudo.pm line 213
	EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/qQGaTWc_0N.cmd 2>...', 'ldbmodify -H /var/lib/samba/private/sam.ldb.d/DC=ZENTYAL,DC=D...', 256, 'ARRAY(0x249f7cd0)', 'ARRAY(0x21a78514)') called at /usr/share/perl5/EBox/Sudo.pm line 182
	EBox::Sudo::_root(1, 'ldbmodify -H /var/lib/samba/private/sam.ldb.d/DC=ZENTYAL,DC=D...') called at /usr/share/perl5/EBox/Sudo.pm line 136
	EBox::Sudo::root('ldbmodify -H /var/lib/samba/private/sam.ldb.d/DC=ZENTYAL,DC=D...') called at /usr/share/perl5/EBox/Ldb.pm line 160
	EBox::Ldb::modify('EBox::Ldb=HASH(0x22b8b6f8)', '/var/lib/samba/private/sam.ldb.d/DC=ZENTYAL,DC=DOMAIN.ldb', 'CN=Kim R\x{c3}\x{b8}nsholt Mikkelsen,CN=Users,DC=zentyal,DC=domain', 'HASH(0x2498ecb0)') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 134
	EBox::SambaLdapUser::_modifyUser('EBox::SambaLdapUser=HASH(0x249cff58)', 'EBox::UsersAndGroups::User=HASH(0x24a9289c)', undef) called at /usr/share/perl5/EBox/UsersAndGroups.pm line 774
	EBox::UsersAndGroups::notifyModsLdapUserBase('EBox::UsersAndGroups=HASH(0x23e87634)', 'modifyUser', 'ARRAY(0x24a924f0)', undef) called at /usr/share/perl5/EBox/UsersAndGroups/User.pm line 175
	EBox::UsersAndGroups::User::save('EBox::UsersAndGroups::User=HASH(0x24a9289c)') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/ModifyUser.pm line 94
	EBox::CGI::UsersAndGroups::ModifyUser::_process('EBox::CGI::UsersAndGroups::ModifyUser=HASH(0x249e7f9c)') called at /usr/share/perl5/EBox/CGI/Base.pm line 274
	EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::ModifyUser=HASH(0x249e7f9c)') called at /usr/share/perl5/EBox/CGI/Run.pm line 133
	EBox::CGI::Run::run('EBox::CGI::Run', 'UsersAndGroups/ModifyUser', '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(0x24046930)') 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(0x249adc24)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x249adc24)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x24046930)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (74.3 KB) - added by anonymous 15 months ago.
zentyal.log

Change History

Changed 15 months ago by anonymous

zentyal.log

comment:1 Changed 15 months ago by jamor@…

  • Owner changed from jamor@… to scabrero@…
  • Component changed from base to samba
  • Description modified (diff)

comment:2 Changed 15 months ago by jamor@…

  • Summary changed from Bug report from Zentyal Server to root command ldbmodify -H /var/lib/samba/private/sam.ldb.d/DC=ZENTYAL,DC=DOMAIN.ldb /var/lib/zentyal/tmp/ldb.modify failed.

comment:3 Changed 14 months ago by jamor@…

  • Status changed from new to accepted

comment:4 Changed 13 months ago by jamor@…

  • Summary changed from root command ldbmodify -H /var/lib/samba/private/sam.ldb.d/DC=ZENTYAL,DC=DOMAIN.ldb /var/lib/zentyal/tmp/ldb.modify failed. to 'Failed to create index key for attribute 'givenName':Unknown error' on DN CN=Kim Rønsholt Mikkelsen,CN=Users,DC=zentyal,DC=domain Command output: Failed to load upcase.dat, will use lame ASCII-only case sensitivity rules

comment:5 Changed 13 months ago by jamor@…

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

I had checked that this errors is fixed in the development branch. I had tested with the troublesome name and Cyrillic characters.

In the next zentyal-samba release the code will be updated

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.