Issue:
From CentOS7 machine:
smbclient -L %domainname%.com --user=%username%
Result:
tree connect failed: NT_STATUS_DUPLICATE_NAME
This is especially when I try to connect to //domainname.com
, which would end up being like //domainname.com/sysvol
or //domainname.com/netlogon
.
Overall the end goal is to connect to a DFS share that lives off the domainname.
Attemps and results:
smbclient -L %Aservername% --user=%username%
= Works fine
smbclient -L %IPaddress(of any server or DC)% --user=%username%
= Works fine
smbclient -L %domainname% --user=%username%
= DuplicateName prompt
I've tried adding a CNAME
in Windows DNS like %TestName%
to %domainname%
, but it still comes up with duplicate name.
In CentOS /etc/hosts
I've mapped %domainname%
to %testname%
, but it still comes up with duplicate name.
In CentOS /etc/hosts
I've mapped IP of DC1 to %testname%
In CentOS /etc/hosts
I've mapped IP of DC2 to %testname%
In CentOS /etc/hosts
I've mapped IP of DC3 to %testname%
, but it still comes up with duplicate name.
* Firewall has been turned off for this testing.
Any help would be appreciated. I've spent many hours now trying to sort this out.