Author Topic: Zentyal 2.2.11 + samba + ldap probléma  (Read 1517 times)

bitraider01

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Zentyal 2.2.11 + samba + ldap probléma
« on: June 17, 2014, 11:38:20 am »
Sziasztok!

Valamiért összeesett a Zentyal samba+ldap. Előtörténetként elfogyott a hely a /-ben, talán a korábbi sysadmin csinált egy upgrade-t, nem lehet tudni. A logok üresek...

Ha elindítom az admin felületről a Fájlmegosztást, akkor a következőket naplózza a zentyal.log-ban:

2014/06/17 11:05:55 INFO> Service.pm:731 EBox::Module::Service::restartService - Restarting service for module: samba
2014/06/17 11:05:55 ERROR> Ldap.pm:700 EBox::Ldap::_errorOnLdap - $VAR1 = {
'attr' => [
'sambaDomainName',
'kisiroda',
'sambaSID',
'S-1-5-21-XXXXXXXXX-XXXXXXXXX-XXXXXXXXX',
'uidNumber',
2068,
'gidNumber',
2026,
'objectClass',
[
'sambaDomain',
'sambaUnixidPool'
],
'sambaMaxPwdAge',
'-1',
'sambaLockoutThreshold',
'0',
'sambaPwdHistoryLength',
'0',
'sambaMinPwdLength',
'5'
]
};
2014/06/17 11:05:55 ERROR> Ldap.pm:702 EBox::Ldap::_errorOnLdap - Unknown error at EBox::SambaLdapUser::setSambaDomainName Already exists
2014/06/17 11:05:55 ERROR> Service.pm:736 EBox::Module::Service::__ANON__ - Error restarting service: Unknown error at EBox::SambaLdapUser::setSambaDomainName Already exists
2014/06/17 11:05:55 ERROR> RestartService.pm:68 EBox::CGI::SysInfo::RestartService::__ANON__ - Restart of Fájlmegosztás from dashboard failed: Unknown error at EBox::SambaLdapUser::setSambaDomainName Already exists

Majd:

~# smbldap-populate
Populating LDAP directory for domain kisiroda (S-1-5-21-XXXXXXXXX-XXXXXXXXX-XXXXXXXXX)
(using builtin directory structure)

entry dc=server,dc=iroda,dc=local already exist.
entry ou=Users,dc=server,dc=iroda,dc=local already exist.
entry ou=Groups,dc=server,dc=iroda,dc=local already exist.
entry ou=Computers,dc=server,dc=iroda,dc=local already exist.
entry ou=Idmap,dc=server,dc=iroda,dc=local already exist.
adding new entry: uid=root,ou=Users,dc=server,dc=iroda,dc=local
failed to add entry: index generation failed at /usr/sbin/smbldap-populate line 498, line 58.
adding new entry: uid=nobody,ou=Users,dc=server,dc=iroda,dc=local
failed to add entry: index generation failed at /usr/sbin/smbldap-populate line 498, line 89.
entry cn=Domain Admins,ou=Groups,dc=server,dc=iroda,dc=local already exist.
entry cn=Domain Users,ou=Groups,dc=server,dc=iroda,dc=local already exist.
entry cn=Domain Guests,ou=Groups,dc=server,dc=iroda,dc=local already exist.
entry cn=Domain Computers,ou=Groups,dc=server,dc=iroda,dc=local already exist.
entry cn=Administrators,ou=Groups,dc=server,dc=iroda,dc=local already exist.
entry cn=Account Operators,ou=Groups,dc=server,dc=iroda,dc=local already exist.
entry cn=Print Operators,ou=Groups,dc=server,dc=iroda,dc=local already exist.
entry cn=Backup Operators,ou=Groups,dc=server,dc=iroda,dc=local already exist.
entry cn=Replicators,ou=Groups,dc=server,dc=iroda,dc=local already exist.
entry sambaDomainName=kisiroda,dc=server,dc=iroda,dc=local already exist. Updating it...
failed to modify entry: Unknown error at /usr/sbin/smbldap-populate line 491, line 242.

Please provide a password for the domain root:
/usr/sbin/smbldap-passwd: user root doesn't exist

Kifogytam az ötletekből...
« Last Edit: June 17, 2014, 07:11:49 pm by bitraider01 »

bitraider01

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Zentyal 2.2.11 + samba + ldap probléma
« Reply #1 on: June 17, 2014, 12:01:36 pm »
Most ezt dobja:

2014/06/17 11:58:31 ERROR> Ldap.pm:702 EBox::Ldap::_errorOnLdap - Unknown error at EBox::SambaLdapUser::_fetchDomainAttrs internal error
2014/06/17 11:58:31 ERROR> Service.pm:736 EBox::Module::Service::__ANON__ - Error restarting service: Unknown error at EBox::SambaLdapUser::_fetchDomainAttrs internal error
2014/06/17 11:58:31 ERROR> RestartService.pm:68 EBox::CGI::SysInfo::RestartService::__ANON__ - Restart of Fájlmegosztás from dashboard failed: Unknown error at EBox::SambaLdapUser::_fetchDomainAttrs internal error