DC disappears after reboot?

So I have a the following:

NethServer IP: 192.168.0.201

NethServer DC IP: 192.168.0.205

DNS on PC’s is set to 192.168.0.201

I setup active directory as internal.mydomain.com

I was able to register a user and one PC on the domain, after that I had rebooted the server and I’m not longer able to contact the DC to register another PC. In the domain accounts on the server it says:

NetBIOS domain name: MCS
ads_connect: No logon servers are currently available to service the logon request.
ads_connect: No logon servers are currently available to service the logon request.
Didn’t find the ldap server!

Join is OK

ads_connect: No logon servers are currently available to service the logon request.
ads_connect: No logon servers are currently available to service the logon request.

If I try and join a machine to the domain I get

Note: This information is intended for a network administrator. If you are not your network’s administrator, notify the administrator that you received this information, which has been recorded in the file C:\WINDOWS\debug\dcdiag.txt.

DNS was successfully queried for the service location (SRV) resource record used to locate a domain controller for domain “internal.mydomain.com”:

The query was for the SRV record for _ldap._tcp.dc._msdcs.internal.mydomain.com

The following domain controllers were identified by the query:
nsdc-mcs-dc-01.internal.mydomain.com

However no domain controllers could be contacted.

Common causes of this error include:

  • Host (A) or (AAAA) records that map the names of the domain controllers to their IP addresses are missing or contain incorrect addresses.

  • Domain controllers registered in DNS are not connected to the network or are not running.

if I ping domain addresses (like the name of my server) it resolves fine. Any ideas? It’s like the domain logon service isn’t running or something.

1 Like

Try to run a port scan:

 yum -y install nmap
 nmap $(config getprop nsdc IpAddress)

Also

systemctl -l status nsdc
systemctl -l -M nsdc status samba

…and attach the commands output here

2 Likes

Ok I will do these - I’m not going over there again till Tuesday

I am with the same problem…
My machines windows 7 and 8 join normaly into domain. But the machines with windows 10 are not doing this.

I have the error:

Observação: estas informações se destinam a administradores de rede. Caso você não seja um, contate o administrador de rede e notifique-o de que recebeu estas informações, que estão registradas no arquivo C:\Windows\debug\dcdiag.txt.

Êxito ao consultar o DNS para obtenção de registro do recurso de serviço local (SRV) usado para localizar um controlador de domínio para o domínio "ad.ldn.local":

A consulta foi feita para o registro SRV para _ldap._tcp.dc._msdcs.ad.ldn.local

A consulta identificou os seguintes controladores de domínio:
nsdc-sldn.ad.ldn.local


No entanto, não foi possível contatar nenhum controlador de domínio.

As causas mais comuns deste erro são:

- Registros de host (A) ou (AAAA) que mapeiam os nomes dos controladores de domínio para seus respectivos endereços IP estão faltando ou contêm endereços incorretos.

- Os controladores de domínio registrados no DNS não estão conectados à rede ou não estão em execução.

Is the same error (but in portuguese)… I suspect this is about windows 10 update 1803

I will post my results from the commands:

[root@sldn ~]# nmap $(config getprop nsdc IpAddress)

Starting Nmap 6.40 ( http://nmap.org ) at 2018-10-26 16:07 -03
Nmap scan report for ad.ldn.local (192.168.5.253)
Host is up (0.000017s latency).
Not shown: 987 closed ports
PORT STATE SERVICE
53/tcp open domain
88/tcp open kerberos-sec
135/tcp open msrpc
139/tcp open netbios-ssn
389/tcp open ldap
445/tcp open microsoft-ds
464/tcp open kpasswd5
636/tcp open ldapssl
3268/tcp open globalcatLDAP
3269/tcp open globalcatLDAPssl
49152/tcp open unknown
49153/tcp open unknown
49154/tcp open unknown
MAC Address: CE:AA:1C:0A:44:69 (Unknown)

> [root@sldn ~]# systemctl -l -M nsdc status samba
> ● samba.service - Samba domain controller daemon
>    Loaded: loaded (/usr/lib/systemd/system/samba.service; enabled; vendor preset: disabled)
>    Active: active (running) since Fri 2018-10-05 01:29:21 -03; 3 weeks 0 days ago
>  Main PID: 28 (kdevtmpfs)
>    CGroup: /machine.slice/nsdc.service/system.slice/samba.service
>            ├─ 439 /usr/sbin/samba -i --debug-stderr
>            ├─ 991 /usr/sbin/samba -i --debug-stderr
>            ├─1475 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
>            ├─7398 /usr/sbin/samba -i --debug-stderr
>            ├─7437 /usr/sbin/samba -i --debug-stderr
>            ├─7438 /usr/sbin/samba -i --debug-stderr
>            ├─7439 /usr/sbin/samba -i --debug-stderr
>            ├─7440 /usr/sbin/samba -i --debug-stderr
>            ├─7441 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
>            ├─7442 /usr/sbin/samba -i --debug-stderr
>            ├─7443 /usr/sbin/samba -i --debug-stderr
>            ├─7444 /usr/sbin/samba -i --debug-stderr
>            ├─7445 /usr/sbin/samba -i --debug-stderr
>            ├─7446 /usr/sbin/samba -i --debug-stderr
>            ├─7447 /usr/sbin/samba -i --debug-stderr
>            ├─7448 /usr/sbin/samba -i --debug-stderr
>            ├─7449 /usr/sbin/samba -i --debug-stderr
>            ├─7450 /usr/sbin/samba -i --debug-stderr
>            ├─7451 /usr/sbin/samba -i --debug-stderr
>            ├─7452 /usr/sbin/samba -i --debug-stderr
>            ├─7453 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
>            ├─7487 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
>            ├─7493 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
>            ├─7494 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
>            ├─7496 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
>            ├─7497 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
>            └─7498 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
>            ‣ 28 [kdevtmpfs]

> 
> [root@sldn ~]# systemctl -l status nsdc
> ● nsdc.service - NethServer Domain Controller container
>    Loaded: loaded (/usr/lib/systemd/system/nsdc.service; enabled; vendor preset: disabled)
>    Active: active (running) since Fri 2018-10-05 01:29:19 -03; 3 weeks 0 days ago
>      Docs: man:systemd-nspawn(1)
>  Main PID: 7165 (systemd-nspawn)
>    Status: "Container running."
>    CGroup: /machine.slice/nsdc.service
>            ├─7165 /usr/bin/systemd-nspawn --quiet --keep-unit --boot --network-bridge=br0 --machine=nsdc --capability=CAP_SYS_TIME
>            ├─7166 /usr/lib/systemd/systemd
>            └─system.slice
>              ├─samba.service
>              │ ├─ 439 /usr/sbin/samba -i --debug-stderr
>              │ ├─ 991 /usr/sbin/samba -i --debug-stderr
>              │ ├─7398 /usr/sbin/samba -i --debug-stderr
>              │ ├─7437 /usr/sbin/samba -i --debug-stderr
>              │ ├─7438 /usr/sbin/samba -i --debug-stderr
>              │ ├─7439 /usr/sbin/samba -i --debug-stderr
>              │ ├─7440 /usr/sbin/samba -i --debug-stderr
>              │ ├─7441 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
>              │ ├─7442 /usr/sbin/samba -i --debug-stderr
>              │ ├─7443 /usr/sbin/samba -i --debug-stderr
>              │ ├─7444 /usr/sbin/samba -i --debug-stderr
>              │ ├─7445 /usr/sbin/samba -i --debug-stderr
>              │ ├─7446 /usr/sbin/samba -i --debug-stderr
>              │ ├─7447 /usr/sbin/samba -i --debug-stderr
>              │ ├─7448 /usr/sbin/samba -i --debug-stderr
>              │ ├─7449 /usr/sbin/samba -i --debug-stderr
>              │ ├─7450 /usr/sbin/samba -i --debug-stderr
>              │ ├─7451 /usr/sbin/samba -i --debug-stderr
>              │ ├─7452 /usr/sbin/samba -i --debug-stderr
>              │ ├─7453 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
>              │ ├─7487 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
>              │ ├─7493 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
>              │ ├─7494 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
>              │ ├─7496 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
>              │ ├─7497 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
>              │ └─7498 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
>              ├─console-getty.service
>              │ └─7371 /sbin/agetty --noclear --keep-baud console 115200 38400 9600 vt220
>              ├─dbus.service
>              │ └─7354 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
>              ├─ntpd.service
>              │ └─7356 /usr/sbin/ntpd -u ntp:ntp -g
>              ├─systemd-logind.service
>              │ └─7350 /usr/lib/systemd/systemd-logind
>              └─systemd-journald.service
>                └─7265 /usr/lib/systemd/systemd-journald
> 
> Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

I already try a lot of things, change dns from network interface in machine, add dns entrys in host file under windows\system32\driver\etc, block windows firewall (disable windows firewall), add registry entries… Not working…