Buen día
- Actual mente cuento con zentyal 6.0 al crear un usuario nuevo me aparece el siguiente error:
Error en la creación del usuario LDAP: The client attempted to add an entry that already exists. This can occur as a result of * An add request was submitted with a DN that already exists * A modify DN requested was submitted, where the requested new DN already exists * The request is adding an attribute to the schema and an attribute with the given OID or name already exists .<br/> Operation parameters:{ 'name' => 'MAYERLY ALEJANDRA PEDRAZA GOMEZ', 'objectClass' => [ 'top', 'person', 'organizationalPerson', 'user', 'posixAccount', 'systemQuotas' ], 'givenName' => 'MAYERLY ALEJANDRA', 'sn' => 'PEDRAZA GOMEZ', 'gidNumber' => '2513', 'userAccountControl' => 514, 'homeDirectory' => '/home/ECF7381E', 'userPrincipalName' => '
ECF7381E@LATCOM.CO', 'uidNumber' => 4221, 'displayName' => 'MAYERLY ALEJANDRA PEDRAZA GOMEZ', 'dn' => 'CN=MAYERLY ALEJANDRA PEDRAZA GOMEZ,CN=Users,DC=latcom,DC=co', 'sAMAccountName' => 'ECF7381E', 'quota' => 0, 'cn' => 'MAYERLY ALEJANDRA PEDRAZA GOMEZ' } at /usr/share/perl5/EBox/Samba/User.pm line 514
- E intentado crear un usuario diferente y por consola, pero me aparece este error:
root@zentyal2:/home/soporte# samba-tool user create ECF2763A Latcom2019+ --given-name="JOSETH ARTT" --surname="CAMACHO CASTAÑEDA" --mail=ECF2763A@mail-latcom.com.co
ERROR(ldb): Failed to add user 'ECF2763A': - ../ldb_tdb/ldb_index.c:1238: Failed to re-index objectSid in CN=JOSETH ARTT CAMACHO CASTAÑEDA,CN=Users,DC=latcom,DC=co - ../ldb_tdb/ldb_index.c:1158: unique index violation on objectSid in CN=JOSETH ARTT CAMACHO CASTAÑEDA,CN=Users,DC=latcom,DC=co
File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line 350, in run
smartcard_required=smartcard_required)
File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 452, in newuser
self.add(ldbmessage)
- y al revisar el archivo /var/log/zentyal/zentyal.log
2019/07/18 06:01:27 INFO> NTP.pm:60 EBox::NTP::appArmorProfiles - Setting NTP apparmor profile
2019/07/18 06:01:28 INFO> Service.pm:958 EBox::Module::Service::restartService - Restarting service for module: samba
2019/07/18 06:01:39 INFO> SyncDaemon.pm:307 EBox::Samba::SyncDaemon::run - Samba sync daemon started
2019/07/18 06:03:43 ERROR> LDAP.pm:196 EBox::Module::LDAP::_connectToSchemaMaster - Error binding to schema master LDAP: An error occurred in C<Net::LDAP>
at Error binding to schema master LDAP: An error occurred in C<Net::LDAP>
at /usr/share/perl5/EBox/Module/LDAP.pm line 196
EBox::Module::LDAP::_connectToSchemaMaster('EBox::Samba=HASH(0x5899bc0)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 275
EBox::Module::LDAP::_loadSchemasFiles('EBox::Samba=HASH(0x5899bc0)', 'ARRAY(0x6f71888)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 267
EBox::Module::LDAP::_loadSchemas('EBox::Samba=HASH(0x5899bc0)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 341
EBox::Module::LDAP::_performSetup('EBox::Samba=HASH(0x5899bc0)') called at /usr/share/perl5/EBox/Samba.pm line 646
EBox::Samba::_regenConfig('EBox::Samba=HASH(0x5899bc0)', 'restart', 1, 'restartModules', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 960
eval {...} at /usr/share/perl5/EBox/Module/Service.pm line 959
EBox::Module::Service::restartService('EBox::Samba=HASH(0x5899bc0)', 'restartModules', 1) called at /usr/share/perl5/EBox/Util/Init.pm line 121
eval {...} at /usr/share/perl5/EBox/Util/Init.pm line 119
EBox::Util::Init::moduleAction('samba', 'restartService', 'start') called at /usr/share/perl5/EBox/Util/Init.pm line 87
EBox::Util::Init::start at /usr/bin/zs line 35
main::main at /usr/bin/zs line 82
2019/07/18 06:03:43 ERROR> Service.pm:962 EBox::Module::Service::restartService - Error restarting service: Error binding to schema master LDAP: An error occurred in C<Net::LDAP>
2019/07/18 06:03:43 ERROR> Service.pm:964 EBox::Module::Service::restartService - Error binding to schema master LDAP: An error occurred in C<Net::LDAP>
at Error binding to schema master LDAP: An error occurred in C<Net::LDAP>
at /usr/share/perl5/EBox/Module/Service.pm line 964
EBox::Module::Service::restartService('EBox::Samba=HASH(0x5899bc0)', 'restartModules', 1) called at /usr/share/perl5/EBox/Util/Init.pm line 121
eval {...} at /usr/share/perl5/EBox/Util/Init.pm line 119
EBox::Util::Init::moduleAction('samba', 'restartService', 'start') called at /usr/share/perl5/EBox/Util/Init.pm line 87
EBox::Util::Init::start at /usr/bin/zs line 35
main::main at /usr/bin/zs line 82
2019/07/18 06:03:43 INFO> Service.pm:958 EBox::Module::Service::restartService - Restarting service for module: mail
2019/07/18 06:04:03 ERROR> LDAP.pm:196 EBox::Module::LDAP::_connectToSchemaMaster - Error binding to schema master LDAP: An error occurred in C<Net::LDAP>
at Error binding to schema master LDAP: An error occurred in C<Net::LDAP>
at /usr/share/perl5/EBox/Module/LDAP.pm line 196
EBox::Module::LDAP::_connectToSchemaMaster('EBox::Mail=HASH(0x75e19b0)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 275
EBox::Module::LDAP::_loadSchemasFiles('EBox::Mail=HASH(0x75e19b0)', 'ARRAY(0x7a93740)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 267
EBox::Module::LDAP::_loadSchemas('EBox::Mail=HASH(0x75e19b0)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 341
EBox::Module::LDAP::_performSetup('EBox::Mail=HASH(0x75e19b0)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 331
EBox::Module::LDAP::_regenConfig('EBox::Mail=HASH(0x75e19b0)', 'restart', 1, 'restartModules', 1) called at /usr/share/perl5/EBox/Module/Kerberos.pm line 375
EBox::Module::Kerberos::_regenConfig('EBox::Mail=HASH(0x75e19b0)', 'restart', 1, 'restartModules', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 960
eval {...} at /usr/share/perl5/EBox/Module/Service.pm line 959
EBox::Module::Service::restartService('EBox::Mail=HASH(0x75e19b0)', 'restartModules', 1) called at /usr/share/perl5/EBox/Util/Init.pm line 121
eval {...} at /usr/share/perl5/EBox/Util/Init.pm line 119
EBox::Util::Init::moduleAction('mail', 'restartService', 'start') called at /usr/share/perl5/EBox/Util/Init.pm line 87
EBox::Util::Init::start at /usr/bin/zs line 35
main::main at /usr/bin/zs line 82
2019/07/18 06:04:03 ERROR> Service.pm:962 EBox::Module::Service::restartService - Error restarting service: Error binding to schema master LDAP: An error occurred in C<Net::LDAP>
2019/07/18 06:04:03 ERROR> Service.pm:964 EBox::Module::Service::restartService - Error binding to schema master LDAP: An error occurred in C<Net::LDAP>
at Error binding to schema master LDAP: An error occurred in C<Net::LDAP>
at /usr/share/perl5/EBox/Module/Service.pm line 964
EBox::Module::Service::restartService('EBox::Mail=HASH(0x75e19b0)', 'restartModules', 1) called at /usr/share/perl5/EBox/Util/Init.pm line 121
eval {...} at /usr/share/perl5/EBox/Util/Init.pm line 119
EBox::Util::Init::moduleAction('mail', 'restartService', 'start') called at /usr/share/perl5/EBox/Util/Init.pm line 87
EBox::Util::Init::start at /usr/bin/zs line 35
main::main at /usr/bin/zs line 82
2019/07/18 06:04:03 INFO> Service.pm:958 EBox::Module::Service::restartService - Restarting service for module: webadmin
2019/07/18 06:04:05 INFO> Init.pm:90 EBox::Util::Init::start - Start modules finished
2019/07/18 09:04:20 DEBUG> PAM.pm:83 Authen::Simple::PAM::check - Successfully authenticated user 'soporte' using service 'zentyal'.
- Agradezco cualquier ayuda al respecto.