Author Topic: Passo a Passo correto para integrar o Zentyal 4 com AD Windows 2008  (Read 1794 times)

AndreBH

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
Boa Tarde Senhores,

A mais ou menos uns 4 dias tento fazer a integração do zentyal 4 com o AD para uso em proxy com autenticação. Porem todas as vezes que configuro o Zentyal como controlador adicional, insiro os dados e ele pede para ativar o modulo de Usuários e Compartilhamento, ao começar a reiniciar os serviços, acusa um erro no samba e a sincronização não ocorre. alguém aqui conseguiu realizar essa integração?

Basicamente na rede aqui o servidor é um windows 2008r2 64 com nivel de floresta Windows 2003

Se alguém que conseguiu puder me dar umas dicas de como configurar corretametne eu agradeço.



gregorylins

  • Zen Apprentice
  • *
  • Posts: 47
  • Karma: +0/-0
  • Brain's Up.
    • View Profile
Re: Passo a Passo correto para integrar o Zentyal 4 com AD Windows 2008
« Reply #1 on: February 23, 2015, 09:12:58 pm »
AndreBH,

Dê uma olhada no log do zentyal para tentar encontrar o erro. Estou com o mesmo cenário que você e tudo ocorreu de acordo.
Verifique a autenticação Kerberos ou até mesmo as informações LDAP e o FQDN.

Verifique os logs do
Code: [Select]
var/log/zentyal/zentyal.log e também do
Code: [Select]
var/log/samba/samba.log
Eles podem te dar um auxilio para tentar resolver este problema.

Gregory Lins.

AndreBH

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
Re: Passo a Passo correto para integrar o Zentyal 4 com AD Windows 2008
« Reply #2 on: February 24, 2015, 05:19:51 pm »
Gregory,

No meu, não existe o arquivo samba.log, a estrutura de pastas existe, mas n tem esse arquivo. Ja no /var/log/zanetyal/zentyal.log aparece somente isso:

2015/02/23 15:50:40 INFO> Service.pm:997 EBox::Module::Service::restartService - Restarting service for module: webadmin
2015/02/23 15:50:45 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: sysinfo
2015/02/23 15:50:45 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: sysinfo
2015/02/23 15:50:46 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: audit
2015/02/23 15:50:46 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: logs
2015/02/23 15:50:46 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: webadmin
2015/02/23 15:50:47 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: remoteservices
2015/02/23 15:50:47 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: remoteservices
2015/02/23 15:50:48 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: software
2015/02/23 15:50:48 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: software
2015/02/23 15:50:49 INFO> Service.pm:997 EBox::Module::Service::restartService - Restarting service for module: webadmin
2015/02/23 15:50:50 INFO> Service.pm:997 EBox::Module::Service::restartService - Restarting service for module: logs
2015/02/23 15:59:16 DEBUG> PAM.pm:83 Authen::Simple::PAM::check - Successfully authenticated user 'redes' using service 'zentyal'.
2015/02/23 16:01:35 INFO> install-packages:61 main:: - Starting package installation process
2015/02/23 16:02:25 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: objects
2015/02/23 16:02:25 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: objects
2015/02/23 16:02:26 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: services
2015/02/23 16:02:26 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: services
2015/02/23 16:02:31 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: network
2015/02/23 16:02:31 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: network
2015/02/23 16:02:31 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: network
2015/02/23 16:02:31 INFO> Service.pm:997 EBox::Module::Service::restartService - Restarting service for module: network
2015/02/23 16:02:33 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: objects
2015/02/23 16:02:33 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: network
2015/02/23 16:02:33 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: services
2015/02/23 16:02:33 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: firewall
2015/02/23 16:02:33 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: firewall
2015/02/23 16:02:34 INFO> Service.pm:997 EBox::Module::Service::restartService - Restarting service for module: firewall
2015/02/23 16:02:35 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: objects
2015/02/23 16:02:35 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: network
2015/02/23 16:02:35 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: services
2015/02/23 16:02:35 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: firewall
2015/02/23 16:02:35 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: network
2015/02/23 16:02:35 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: dns

Não comenta nada sobre o samba... mas na interface gráfica acusa problemas com ele.

Como você fez a configuração do seu zentyal com o AD? Já configurou tudo no wizard ou depois?

gregorylins

  • Zen Apprentice
  • *
  • Posts: 47
  • Karma: +0/-0
  • Brain's Up.
    • View Profile
Re: Passo a Passo correto para integrar o Zentyal 4 com AD Windows 2008
« Reply #3 on: February 24, 2015, 06:44:00 pm »
Bom dia AndreBH,
Segue um link que eu usei para me basear na configuração. Espero que te ajude

https://www.mundotibrasil.com.br/zentyal-controlador-de-dominio-adicional/

leonardorv

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Passo a Passo correto para integrar o Zentyal 4 com AD Windows 2008
« Reply #4 on: March 04, 2015, 12:04:24 pm »
Olá bom dia,
Meu zentyal não esta ingressando no domínio com o AD windows 2012, já fiz o passo a passo mas quando salvo as configurações do domínio adicional ele retorna mensagem que a versão não é compatível, segue o log:

Command output: workgroup is COOPEN
 realm is coopen.local
 checking sAMAccountName
 Deleted CN=zentyalproxy,OU=Domain Controllers,DC=coopen,DC=local
 Adding CN=ZENTYALPROXY,OU=Domain Controllers,DC=coopen,DC=local
 Adding CN=ZENTYALPROXY,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=coopen,DC=local
 Adding CN=NTDS Settings,CN=ZENTYALPROXY,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=coopen,DC=local
 DsAddEntry failed with status (5, 'WERR_ACCESS_DENIED') info (8567, 'WERR_DS_INCOMPATIBLE_VERSION')
 Join failed - cleaning up
 checking sAMAccountName
 Deleted CN=ZENTYALPROXY,OU=Domain Controllers,DC=coopen,DC=local
 Deleted CN=ZENTYALPROXY,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=coopen,DC=local
.
Exit value: 255
2015/03/03 19:06:12 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: logs
2015/03/03 19:06:12 ERROR> GlobalImpl.pm:735 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: samba  at The following modules failed while saving their changes, their state is unknown: samba  at /usr/share/perl5/EBox/GlobalImpl.pm line 735
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x3f25448)', 'progress', 'EBox::ProgressIndicator=HASH(0x3f1b7f8)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x3f4acc0)', 'progress', 'EBox::ProgressIndicator=HASH(0x3f1b7f8)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2015/03/03 19:10:31 DEBUG> PAM.pm:83 Authen::Simple::PAM::check - Successfully authenticated user 'coopen' using service 'zentyal'.
2015/03/03 19:10:31 WARN> zentyal.psgi:43 main::__ANON__ - Use of uninitialized value $dir_path in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Tools.pm line 117.
2015/03/03 19:10:31 WARN> zentyal.psgi:43 main::__ANON__ - Use of uninitialized value $dir_path in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Tools.pm line 117.
2015/03/03 19:10:31 WARN> zentyal.psgi:43 main::__ANON__ - Use of uninitialized value $dir_path in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Tools.pm line 117.
2015/03/03 19:10:31 WARN> zentyal.psgi:43 main::__ANON__ - Use of uninitialized value $dir_path in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Tools.pm line 117.
2015/03/03 19:10:31 WARN> zentyal.psgi:43 main::__ANON__ - Use of uninitialized value $dir_path in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Tools.pm line 117.
2015/03/03 19:22:46 DEBUG> PAM.pm:83 Authen::Simple::PAM::check - Successfully authenticated user 'coopen' using service 'zentyal'.