Erro ao tentar acessar SAMBA4 via AD

13. Re: Erro ao tentar acessar SAMBA4 via AD

Eduardo
vchacal

(usa Debian)

Enviado em 06/11/2016 - 15:30h

hayllus escreveu:

Achei que encontrei o erro, mas não sei como resolver.

Ao executar o chamado systemctl enable named.service para o DNS iniciar com o server não é me retornado nada. Teria que me retornar o link simbolico do serviço, correto?


Quanto eu tento fazer o update do DSN para o samba é retornado falha

Segue o resultado:

[root@server system]# /usr/local/samba/sbin/samba_dnsupdate --verbose
IPs: ['192.168.1.100']
Looking for DNS entry A server.samba.local 192.168.1.100 as server.samba.local.
Failed to find DNS entry A server.samba.local 192.168.1.100
Looking for DNS entry A samba.local 192.168.1.100 as samba.local.
Failed to find DNS entry A samba.local 192.168.1.100
Looking for DNS entry SRV _ldap._tcp.samba.local server.samba.local 389 as _ldap._tcp.samba.local.
Failed to find DNS entry SRV _ldap._tcp.samba.local server.samba.local 389
Looking for DNS entry SRV _ldap._tcp.dc._msdcs.samba.local server.samba.local 389 as _ldap._tcp.dc._msdcs.samba.local.
Failed to find DNS entry SRV _ldap._tcp.dc._msdcs.samba.local server.samba.local 389
Looking for DNS entry SRV _ldap._tcp.fae3c3e7-144c-45f1-97b9-f94ef7fbccca.domains._msdcs.samba.local server.samba.local 3 89 as _ldap._tcp.fae3c3e7-144c-45f1-97b9-f94ef7fbccca.domains._msdcs.samba.local.
Failed to find DNS entry SRV _ldap._tcp.fae3c3e7-144c-45f1-97b9-f94ef7fbccca.domains._msdcs.samba.local server.samba.loca l 389
Looking for DNS entry SRV _kerberos._tcp.samba.local server.samba.local 88 as _kerberos._tcp.samba.local.
Failed to find DNS entry SRV _kerberos._tcp.samba.local server.samba.local 88
Looking for DNS entry SRV _kerberos._udp.samba.local server.samba.local 88 as _kerberos._udp.samba.local.
Failed to find DNS entry SRV _kerberos._udp.samba.local server.samba.local 88
Looking for DNS entry SRV _kerberos._tcp.dc._msdcs.samba.local server.samba.local 88 as _kerberos._tcp.dc._msdcs.samba.lo cal.
Failed to find DNS entry SRV _kerberos._tcp.dc._msdcs.samba.local server.samba.local 88
Looking for DNS entry SRV _kpasswd._tcp.samba.local server.samba.local 464 as _kpasswd._tcp.samba.local.
Failed to find DNS entry SRV _kpasswd._tcp.samba.local server.samba.local 464
Looking for DNS entry SRV _kpasswd._udp.samba.local server.samba.local 464 as _kpasswd._udp.samba.local.
Failed to find DNS entry SRV _kpasswd._udp.samba.local server.samba.local 464
Looking for DNS entry CNAME 721afbf7-0b1e-4657-b974-147a7cca38d3._msdcs.samba.local server.samba.local as 721afbf7-0b1e-4657-b974-147a7cca38d3._msdcs.samba.local.
Failed to find DNS entry CNAME 721afbf7-0b1e-4657-b974-147a7cca38d3._msdcs.samba.local server.samba.local
Looking for DNS entry SRV _ldap._tcp.Default-First-Site-Name._sites.samba.local server.samba.local 389 as _ldap._tcp.Default-First-Site-Name._sites.samba.local.
Failed to find DNS entry SRV _ldap._tcp.Default-First-Site-Name._sites.samba.local server.samba.local 389
Looking for DNS entry SRV _ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.samba.local server.samba.local 389 as _ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.samba.local.
Failed to find DNS entry SRV _ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.samba.local server.samba.local 389
Looking for DNS entry SRV _kerberos._tcp.Default-First-Site-Name._sites.samba.local server.samba.local 88 as _kerberos._tcp.Default-First-Site-Name._sites.samba.local.
Failed to find DNS entry SRV _kerberos._tcp.Default-First-Site-Name._sites.samba.local server.samba.local 88
Looking for DNS entry SRV _kerberos._tcp.Default-First-Site-Name._sites.dc._msdcs.samba.local server.samba.local 88 as _kerberos._tcp.Default-First-Site-Name._sites.dc._msdcs.samba.local.
Failed to find DNS entry SRV _kerberos._tcp.Default-First-Site-Name._sites.dc._msdcs.samba.local server.samba.local 88
Looking for DNS entry SRV _ldap._tcp.pdc._msdcs.samba.local server.samba.local 389 as _ldap._tcp.pdc._msdcs.samba.local.
Failed to find DNS entry SRV _ldap._tcp.pdc._msdcs.samba.local server.samba.local 389
Looking for DNS entry A gc._msdcs.samba.local 192.168.1.100 as gc._msdcs.samba.local.
Failed to find DNS entry A gc._msdcs.samba.local 192.168.1.100
Looking for DNS entry SRV _gc._tcp.samba.local server.samba.local 3268 as _gc._tcp.samba.local.
Failed to find DNS entry SRV _gc._tcp.samba.local server.samba.local 3268
Looking for DNS entry SRV _ldap._tcp.gc._msdcs.samba.local server.samba.local 3268 as _ldap._tcp.gc._msdcs.samba.local.
Failed to find DNS entry SRV _ldap._tcp.gc._msdcs.samba.local server.samba.local 3268
Looking for DNS entry SRV _gc._tcp.Default-First-Site-Name._sites.samba.local server.samba.local 3268 as _gc._tcp.Default-First-Site-Name._sites.samba.local.
Failed to find DNS entry SRV _gc._tcp.Default-First-Site-Name._sites.samba.local server.samba.local 3268
Looking for DNS entry SRV _ldap._tcp.Default-First-Site-Name._sites.gc._msdcs.samba.local server.samba.local 3268 as _ldap._tcp.Default-First-Site-Name._sites.gc._msdcs.samba.local.
Failed to find DNS entry SRV _ldap._tcp.Default-First-Site-Name._sites.gc._msdcs.samba.local server.samba.local 3268
Looking for DNS entry A DomainDnsZones.samba.local 192.168.1.100 as DomainDnsZones.samba.local.
Failed to find DNS entry A DomainDnsZones.samba.local 192.168.1.100
Looking for DNS entry SRV _ldap._tcp.DomainDnsZones.samba.local server.samba.local 389 as _ldap._tcp.DomainDnsZones.samba.local.
Failed to find DNS entry SRV _ldap._tcp.DomainDnsZones.samba.local server.samba.local 389
Looking for DNS entry SRV _ldap._tcp.Default-First-Site-Name._sites.DomainDnsZones.samba.local server.samba.local 389 as _ldap._tcp.Default-First-Site-Name._sites.DomainDnsZones.samba.local.
^CTraceback (most recent call last):
File "/usr/local/samba/sbin/samba_dnsupdate", line 598, in <module>
if opts.all_names or not check_dns_name(d):
File "/usr/local/samba/sbin/samba_dnsupdate", line 222, in check_dns_name
ans = resolver.query(normalised_name, d.type)
File "/usr/lib/python2.7/site-packages/dns/resolver.py", line 869, in query
source_port=source_port)
File "/usr/lib/python2.7/site-packages/dns/query.py", line 216, in udp
_wait_for_readable(s, expiration)
File "/usr/lib/python2.7/site-packages/dns/query.py", line 138, in _wait_for_readable
_wait_for(s, True, False, True, expiration)
File "/usr/lib/python2.7/site-packages/dns/query.py", line 114, in _wait_for
if not _polling_backend(fd, readable, writable, error, timeout):
File "/usr/lib/python2.7/site-packages/dns/query.py", line 70, in _poll_for
event_list = pollable.poll(long(timeout * 1000))


Não tenho certeza se ele deveria retornar algo, mais vc pode consultar se o serviço esta pra ser iniciado junto com o servidor systemctl is-enable named.service
Confirme se o comando samba_dnsupdate funciona com o BIND, ou apenas quando se esta usando o SAMBA_INTERNAL como DNS.

Eu ainda não implantei o samba 4 usando o BIND, então não vou poder ajudar muito.


  



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts