Microsoft network settings failed. Please check the DNS server, domain name, and user name and password for logging in t

Questions about using Windows AD service.
Post Reply
henrychoiyw
New here
Posts: 3
Joined: Fri Feb 26, 2016 5:36 pm

Microsoft network settings failed. Please check the DNS server, domain name, and user name and password for logging in t

Post by henrychoiyw » Thu Apr 06, 2017 6:36 pm

Hi All,
I am getting the following error on my NAS suddenly.
Microsoft network settings failed. Please check the DNS server, domain name, and user name and password for logging in the domain.

======== DEBUG START =======

/usr/local/samba/bin/net time set -S WIN2012R2.intranet.cshcc.org.hk

Sync time with domain name fail, try to sync time with IP

/usr/local/samba/bin/net time set -S 192.168.0.4

[command] echo ******** | /usr/bin/kinit "Administrator@INTRANET.CSHCC.ORG.HK"

Password for Administrator@INTRANET.CSHCC.ORG.HK:

Specify WORKGROUP = CSHCC

[command] /usr/local/samba/bin/net ads join -S WIN2012R2 -U "Administrator%********" -s /etc/config/smb.conf

Failed to join domain: failed to lookup DC info for domain 'INTRANET.CSHCC.ORG.HK' over rpc: NT_STATUS_CONNECTION_RESET

[command] /usr/local/samba/bin/net ads join -S WIN2012R2.intranet.cshcc.org.hk -U "Administrator%********" -s /etc/config/smb.conf

Failed to join domain: failed to lookup DC info for domain 'INTRANET.CSHCC.ORG.HK' over rpc: NT_STATUS_CONNECTION_RESET

[command] /usr/local/samba/bin/net ads join -U "Administrator%********" -s /etc/config/smb.conf

Failed to join domain: failed to lookup DC info for domain 'INTRANET.CSHCC.ORG.HK' over rpc: NT_STATUS_CONNECTION_RESET

[command] /usr/local/samba/bin/net rpc join -S WIN2012R2 -U "Administrator%********" -s /etc/config/smb.conf

Connection failed: NT_STATUS_CONNECTION_RESET

Could not connect to server WIN2012R2

Connection failed: NT_STATUS_CONNECTION_RESET

[command] /usr/local/samba/bin/net rpc join -S WIN2012R2.intranet.cshcc.org.hk -U "Administrator%********" -s /etc/config/smb.conf

Connection failed: NT_STATUS_CONNECTION_RESET

Could not connect to server WIN2012R2.intranet.cshcc.org.hk

Connection failed: NT_STATUS_CONNECTION_RESET

[command] /usr/local/samba/bin/net rpc join -U "Administrator%********" -s /etc/config/smb.conf

Connection failed: NT_STATUS_CONNECTION_RESET

Could not connect to server WIN2012R2

Connection failed: NT_STATUS_CONNECTION_RESET

========================================================================================================================================

Is there anyone can help me solve the error ?

User avatar
schumaku
Guru
Posts: 43667
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Microsoft network settings failed. Please check the DNS server, domain name, and user name and password for logging

Post by schumaku » Thu Apr 06, 2017 7:52 pm

Hi Henry,

Ensure the NAS network configuration does contain only DNS servers able to resolve your internal domain. With a single server, or a single ADDC, this would be the LAN IP address of your WIN2012R2 server on the intranet subdomain - which is also your ADDC domain.

If there other (or more) DNS servers configured, neither the domain intranet.cshcc.org.hk nor the ADDC server WIN2012R2.intranet.cshcc.org.hk IP addresses can be resolved. This does lead to the failure.

An nslookup or dig for intranet.cshcc.org.hk and WIN2012R2.intranet.cshcc.org.hk must return the LAN IP address of your ADDC, which is your Windows Server, at least.

-Kurt.

henrychoiyw
New here
Posts: 3
Joined: Fri Feb 26, 2016 5:36 pm

Re: Microsoft network settings failed. Please check the DNS server, domain name, and user name and password for logging

Post by henrychoiyw » Thu Apr 06, 2017 8:11 pm

Dear Kurt,
Thanks very much for your reply.
There is only one ADDC within the network. I try to SSH in and use nslookup to check if the NAS can resolve the server name and internal domain name returns the correct IP address to me.
I am wondering would it be something blocked the communication between the NAS and the DNS when try to do authenicaton ?
Henry

schumaku wrote:Hi Henry,

Ensure the NAS network configuration does contain only DNS servers able to resolve your internal domain. With a single server, or a single ADDC, this would be the LAN IP address of your WIN2012R2 server on the intranet subdomain - which is also your ADDC domain.

If there other (or more) DNS servers configured, neither the domain intranet.cshcc.org.hk nor the ADDC server WIN2012R2.intranet.cshcc.org.hk IP addresses can be resolved. This does lead to the failure.

An nslookup or dig for intranet.cshcc.org.hk and WIN2012R2.intranet.cshcc.org.hk must return the LAN IP address of your ADDC, which is your Windows Server, at least.

-Kurt.

paultherich
First post
Posts: 1
Joined: Sun Oct 14, 2018 7:35 pm

Re: Microsoft network settings failed. Please check the DNS server, domain name, and user name and password for logging

Post by paultherich » Fri Oct 19, 2018 3:34 pm

I have this exact problem with QNAP TS-831XU. have set the DNS to the DC's NICs (both Primary and secondary), the time is the same but cant join the domain.
Note: The nas has ever been on this domain before but my college disjoined it when I was on leave. Now I cant get it back to the same domain.

Help please

Post Reply

Return to “Windows Domain & Active Directory”