Modify

Ticket #4048 (closed defect: fixed)

Opened 14 months ago

Last modified 12 months ago

samba-tool user create: ERROR(ldb): Failed to add user 'guenter': - samldb: Account name (sAMAccountName) 'guenter' already in use!

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

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

created a user with german umlaut in name field "Günter"

Error

root command /usr/bin/samba-tool user create 'guenter' 'itsme' --enable-reversible-encryption --surname='Hager' --given-name='Günter' failed. 
Error 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
 ERROR(ldb): Failed to add user 'guenter':  - samldb: Account name (sAMAccountName) 'guenter' already in use!

Command output: . 
Exit value: 255

Trace

root command /usr/bin/samba-tool user create 'guenter' 'itsme' --enable-reversible-encryption --surname='Hager' --given-name='Günter' failed. 
Error 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
 ERROR(ldb): Failed to add user 'guenter':  - samldb: Account name (sAMAccountName) 'guenter' already in use!

Command output: . 
Exit value: 255 at /usr/share/perl5/Error.pm line 182
	Error::throw('EBox::Exceptions::Sudo::Command', 'cmd', '/usr/bin/samba-tool user create \'guenter\' \'itsme\' --enabl...', 'output', 'ARRAY(0x7fc288e8e618)', 'error', 'ARRAY(0x7fc28471f9a8)', 'exitValue', 255, ...) called at /usr/share/perl5/EBox/Sudo.pm line 213
	EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/IdH_Nw1GJq.cmd 2>...', '/usr/bin/samba-tool user create \'guenter\' \'itsme\' --enabl...', 65280, 'ARRAY(0x7fc288e8e618)', 'ARRAY(0x7fc28471f9a8)') called at /usr/share/perl5/EBox/Sudo.pm line 182
	EBox::Sudo::_root(1, '/usr/bin/samba-tool user create \'guenter\' \'itsme\' --enabl...') called at /usr/share/perl5/EBox/Sudo.pm line 136
	EBox::Sudo::root('/usr/bin/samba-tool user create \'guenter\' \'itsme\' --enabl...') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 87
	EBox::SambaLdapUser::_addUser('EBox::SambaLdapUser=HASH(0x7fc288e0af30)', 'EBox::UsersAndGroups::User=HASH(0x7fc288de3320)', 'itsme') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 774
	EBox::UsersAndGroups::notifyModsLdapUserBase('EBox::UsersAndGroups=HASH(0x7fc287727510)', 'addUser', 'ARRAY(0x7fc288a0fdd0)', undef) called at /usr/share/perl5/EBox/UsersAndGroups/User.pm line 550
	EBox::UsersAndGroups::User::create('EBox::UsersAndGroups::User', 'HASH(0x7fc288de64e0)', 0) called at /usr/share/perl5/EBox/CGI/UsersAndGroups/AddUser.pm line 77
	EBox::CGI::UsersAndGroups::AddUser::_process('EBox::CGI::UsersAndGroups::AddUser=HASH(0x7fc288e85d38)') called at /usr/share/perl5/EBox/CGI/Base.pm line 274
	EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::AddUser=HASH(0x7fc288e85d38)') 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(0x7fc288e46898)') 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(0x7fc288e23470)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7fc288e23470)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7fc288e46898)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (56.8 KB) - added by anonymous 14 months ago.
zentyal.log
software.log Download (94.0 KB) - added by anonymous 14 months ago.
software.log

Change History

Changed 14 months ago by anonymous

zentyal.log

Changed 14 months ago by anonymous

software.log

comment:1 Changed 14 months ago by jamor@…

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

comment:2 Changed 14 months ago by jamor@…

  • Summary changed from Bug report from Zentyal Server to samba-tool user create: ERROR(ldb): Failed to add user 'guenter': - samldb: Account name (sAMAccountName) 'guenter' already in use!

comment:3 Changed 13 months ago by jamor@…

  • Status changed from new to accepted

comment:4 Changed 12 months ago by jamor@…

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

Hello,

in new version of zentyal-samba the synchronization process is more robust and it avois this problem.

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.