stefaniobrunhara
(usa CentOS)
Enviado em 05/09/2016 - 18:34h
ricardodru escreveu:
Estefaniobrunha:
Você está com problemas de autenticação e Winbind. Ele não está rodando.
Os comandos não reconhecem os usuários/grupos e serviços do DC.
Primeiramente, faça um troubleshooting nos serviços que compõe o do Samba 4:
https://wiki.samba.org/index.php/Samba_AD_DC_Troubleshooting
# ps axf | egrep "samba|smbd|nmbd|winbindd"
26727 pts/0 S+ 0:00 \_ egrep samba|smbd|nmbd|winbindd
2169 ? Ss 0:00 /usr/local/samba/sbin//samba -D
2290 ? S 0:00 \_ /usr/local/samba/sbin//samba -D
2292 ? Ss 0:01 | \_ /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes --foreground
2342 ? S 0:00 | \_ /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes --foreground
2344 ? S 0:00 | \_ /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes --foreground
2291 ? S 0:12 \_ /usr/local/samba/sbin//samba -D
2293 ? S 0:00 \_ /usr/local/samba/sbin//samba -D
2294 ? S 0:00 \_ /usr/local/samba/sbin//samba -D
2295 ? S 0:00 \_ /usr/local/samba/sbin//samba -D
2296 ? S 0:00 \_ /usr/local/samba/sbin//samba -D
2297 ? S 0:00 \_ /usr/local/samba/sbin//samba -D
2298 ? S 4:48 \_ /usr/local/samba/sbin//samba -D
2299 ? S 0:00 \_ /usr/local/samba/sbin//samba -D
2309 ? Ss 0:05 | \_ /usr/local/samba/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
2345 ? S 0:03 | \_ /usr/local/samba/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
2300 ? S 0:00 \_ /usr/local/samba/sbin//samba -D
2301 ? S 1:04 \_ /usr/local/samba/sbin//samba -D
2302 ? S 0:12 \_ /usr/local/samba/sbin//samba -D
# netstat -tulpn | egrep "samba|smbd|nmbd|winbind"
tcp 0 0 0.0.0.0:636 0.0.0.0:* OUÇA 2295/samba
tcp 0 0 0.0.0.0:445 0.0.0.0:* OUÇA 2292/smbd
tcp 0 0 0.0.0.0:1024 0.0.0.0:* OUÇA 2291/samba
tcp 0 0 0.0.0.0:3268 0.0.0.0:* OUÇA 2295/samba
tcp 0 0 0.0.0.0:3269 0.0.0.0:* OUÇA 2295/samba
tcp 0 0 0.0.0.0:389 0.0.0.0:* OUÇA 2295/samba
tcp 0 0 0.0.0.0:135 0.0.0.0:* OUÇA 2291/samba
tcp 0 0 0.0.0.0:139 0.0.0.0:* OUÇA 2292/smbd
tcp 0 0 0.0.0.0:464 0.0.0.0:* OUÇA 2297/samba
tcp 0 0 0.0.0.0:88 0.0.0.0:* OUÇA 2297/samba
tcp 0 0 :::636 :::* OUÇA 2295/samba
tcp 0 0 :::445 :::* OUÇA 2292/smbd
tcp 0 0 :::1024 :::* OUÇA 2291/samba
tcp 0 0 :::3268 :::* OUÇA 2295/samba
tcp 0 0 :::3269 :::* OUÇA 2295/samba
tcp 0 0 :::389 :::* OUÇA 2295/samba
tcp 0 0 :::135 :::* OUÇA 2291/samba
tcp 0 0 :::139 :::* OUÇA 2292/smbd
tcp 0 0 :::464 :::* OUÇA 2297/samba
tcp 0 0 :::88 :::* OUÇA 2297/samba
udp 0 0 192.168.0.210:389 0.0.0.0:* 2296/samba
udp 0 0 0.0.0.0:389 0.0.0.0:* 2296/samba
udp 0 0 192.168.0.210:137 0.0.0.0:* 2293/samba
udp 0 0 192.168.0.255:137 0.0.0.0:* 2293/samba
udp 0 0 0.0.0.0:137 0.0.0.0:* 2293/samba
udp 0 0 192.168.0.210:138 0.0.0.0:* 2293/samba
udp 0 0 192.168.0.255:138 0.0.0.0:* 2293/samba
udp 0 0 0.0.0.0:138 0.0.0.0:* 2293/samba
udp 0 0 192.168.0.210:464 0.0.0.0:* 2297/samba
udp 0 0 0.0.0.0:464 0.0.0.0:* 2297/samba
udp 0 0 192.168.0.210:88 0.0.0.0:* 2297/samba
udp 0 0 0.0.0.0:88 0.0.0.0:* 2297/samba
udp 0 0 :::389 :::* 2296/samba
udp 0 0 :::464 :::* 2297/samba
udp 0 0 :::88 :::* 2297/samba
# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: administrator@SOMITI.LOCAL
Valid starting Expires Service principal
07/23/16 09:26:17 07/23/16 19:26:17 krbtgt/SOMITI.LOCAL@SOMITI.LOCAL
renew until 07/24/16 09:26:14
Como faço para que minha credencial seja revalidada?