Erro para Startar O winbind [RESOLVIDO]

1. Erro para Startar O winbind [RESOLVIDO]

Gustavo Garcez
gagarcez

(usa Kali)

Enviado em 22/05/2017 - 11:04h

Bom dia Gente, Tudo bom?!

estou tendo um problema para "startar" meu wibind,

estou configurando um novo servidor para utilizar de proxy na empresa em que trabalho, mas esse erro esta me parando antes mesmo de instalar o squid.

Estou usando:
SO: Debian 8 v3.16
Samba:4.2.14


estou tendo o seguinte erro quando tento iniciar/reiniciar o winbind:
Job for winbind.service failed. See 'systemctl status winbind.service' and 'journalctl -xn' for details. 


Utilizando o comando 'systemctl status winbind.service':
Mai 22 10:56:50 debianfw winbind[12586]: Starting the Winbind daemon: winbind…xy”
Mai 22 10:56:50 debianfw systemd[1]: winbind.service: control process exited...=1
Mai 22 10:56:50 debianfw systemd[1]: Failed to start LSB: start Winbind daemon.
Mai 22 10:56:50 debianfw systemd[1]: Unit winbind.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.


Utilizando o 'journalctl -xn':
-- Logs begin at Seg 2017-05-08 17:11:27 BRT, end at Seg 2017-05-22 10:59:39 BRT. --
Mai 22 10:56:50 debianfw systemd[1]: Unit winbind.service entered failed state.
Mai 22 10:57:33 debianfw smbd[12598]: [2017/05/22 10:57:33.427511, 0] ../source3/auth/auth_domain.c:265(domain_client_validate)
Mai 22 10:57:33 debianfw smbd[12598]: domain_client_validate: Domain password server not available.
Mai 22 10:57:43 debianfw smbd[12599]: [2017/05/22 10:57:43.412317, 0] ../source3/auth/auth_domain.c:265(domain_client_validate)
Mai 22 10:57:43 debianfw smbd[12599]: domain_client_validate: Domain password server not available.
Mai 22 10:59:39 debianfw systemd[1]: Starting LSB: start Winbind daemon...
-- Subject: Unit winbind.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit winbind.service has begun starting up.
Mai 22 10:59:39 debianfw winbind[12624]: Starting the Winbind daemon: winbindchgrp: grupo inválido: “userproxy”
Mai 22 10:59:39 debianfw systemd[1]: winbind.service: control process exited, code=exited status=1
Mai 22 10:59:39 debianfw systemd[1]: Failed to start LSB: start Winbind daemon.
-- Subject: Unit winbind.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit winbind.service has failed.
--
-- The result is failed.
Mai 22 10:59:39 debianfw systemd[1]: Unit winbind.service entered failed state.


Não sei como resolver este problema,

Grato desde já pela ajuda.

:D


  


2. Re: Erro para Startar O winbind [RESOLVIDO]

Carlos A. P. Cunha
Carlos_Cunha

(usa Linux Mint)

Enviado em 23/05/2017 - 23:43h

Você deu JOIN no Domínio ?

#-------------------------------------------------------------------------------------#
Administrador de Redes Mistas Linux/Windows
LPI 101-102
LPI 201
Para consultas particulares acesse:
www.cunhatec.com.br

"Falar é fácil, me mostre o código." - Linus Torvalds


3. Re: Erro para Startar O winbind [RESOLVIDO]

Gustavo Garcez
gagarcez

(usa Kali)

Enviado em 24/05/2017 - 15:12h

Boa tarde Marcos, obrigado.

Sim, já dei join no dominio,

o Erro ainda permanece o mesmo:
 winbind.service - LSB: start Winbind daemon
Loaded: loaded (/etc/init.d/winbind)
Active: failed (Result: exit-code) since Qua 2017-05-24 15:10:48 BRT; 28s ago
Process: 956 ExecStart=/etc/init.d/winbind start (code=exited, status=1/FAILURE)

Mai 24 15:10:48 debianfw winbind[956]: Starting the Winbind daemon: wi…xy”
Mai 24 15:10:48 debianfw systemd[1]: winbind.service: control process ...1
Mai 24 15:10:48 debianfw systemd[1]: Failed to start LSB: start Winbin....
Mai 24 15:10:48 debianfw systemd[1]: Unit winbind.service entered fail....
Hint: Some lines were ellipsized, use -l to show in full.



4. O erro foi corrigido?

Alysson Alberto Elias
alyssonae

(usa Outra)

Enviado em 01/06/2017 - 09:56h

Prezados, também estou com esse erro. Alguém conseguiu sucesso?


5. Re: Erro para Startar O winbind [RESOLVIDO]

Carlos A. P. Cunha
Carlos_Cunha

(usa Linux Mint)

Enviado em 01/06/2017 - 10:55h

gagarcez escreveu:

Boa tarde Marcos, obrigado.

Sim, já dei join no dominio,

o Erro ainda permanece o mesmo:
 winbind.service - LSB: start Winbind daemon
Loaded: loaded (/etc/init.d/winbind)
Active: failed (Result: exit-code) since Qua 2017-05-24 15:10:48 BRT; 28s ago
Process: 956 ExecStart=/etc/init.d/winbind start (code=exited, status=1/FAILURE)

Mai 24 15:10:48 debianfw winbind[956]: Starting the Winbind daemon: wi…xy”
Mai 24 15:10:48 debianfw systemd[1]: winbind.service: control process ...1
Mai 24 15:10:48 debianfw systemd[1]: Failed to start LSB: start Winbin....
Mai 24 15:10:48 debianfw systemd[1]: Unit winbind.service entered fail....
Hint: Some lines were ellipsized, use -l to show in full.


Executa e posta saida aqui:


wbinfo -t
wbinfo -p
wbinfo -P
net ads info




#-------------------------------------------------------------------------------------#
Administrador de Redes Mistas Linux/Windows
LPI 101-102
LPI 201
Para consultas particulares acesse:
www.cunhatec.com.br

"Falar é fácil, me mostre o código." - Linus Torvalds


6. Re: Erro para Startar O winbind [RESOLVIDO]

Gustavo Garcez
gagarcez

(usa Kali)

Enviado em 08/06/2017 - 08:56h

Executa e posta saida aqui:


wbinfo -t
wbinfo -p
wbinfo -P
net ads info




Bom dia, desculpe a demora em responder e obrigado por ajudar.

Segue os resultados.

wbinfo -t:
could not obtain winbind interface details: WBC_ERR_WINBIND_NOT_AVAILABLE
could not obtain winbind domain name!
checking the trust secret for domain (null) via RPC calls failed
failed to call wbcCheckTrustCredentials: WBC_ERR_WINBIND_NOT_AVAILABLE
Could not check secret


wbinfo -p
Ping to winbindd failed
could not ping winbindd!



wbinfo -P
checking the NETLOGON dc connection to "" failed
failed to call wbcPingDc: WBC_ERR_WINBIND_NOT_AVAILABLE


net ads info
ads_connect: No logon servers
ads_connect: No logon servers
Didn't find the ldap server!



7. Resolução

Gustavo Garcez
gagarcez

(usa Kali)

Enviado em 12/06/2017 - 09:51h

Bom dia Pessoal,

Finalmente apos algumas horas testando algumas coisas consegui resolver.

Segue Resolução do meu caso.

Primeiro é mudar o grupo da pasta winbind_privileged que só tem no Debian 8
chown root:winbindd_priv /var/lib/samba/winbindd_privileged 


Alterar a configuração do krb5.conf

/etc/krb5.conf
[realms]
DOMAIN.LOCAL={
kdc = IPad
admin_server = maquinaServerAD.domain.local
default_domain = IPad
}
[domain_realm]
.domain.local = DOMAIN.LOCAL
domain.local = DOMAIN.LOCAL


Com isso o problema foi resolvido,

Agora esta tudo funcionando corretamente!

Se desejarem posso mandar todos os passos que utilizei no meu Debian Jessie para integrar com o AD^^
Muito obrigado pela ajuda :D








Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts