Hello Guys,
Here is my situation
I have a Domain with the DNS Domain name as nh.MyDomain.com (nh is the sub-domain of MyDomain)
however, the NetBIOS name of the above domain is: MyDomain
I have all the computers and users in nh.MyDomain.com
Users log into the machines (in nh domain) as MyDomain\UserName
To summarize, in powershell
$env:USERDNSDOMAIN would be: nh.mydomain.com
$env:USERDOMAIN woud be: mydomain
[System.Net.NeworkInformation.IPGloblaProperties]::GetIpGlobalProperties().DomainName would be: nh.mydomain.com
Now, i log into the machine X as mydomain\username, i cannot create a sql login for a machine Y account. machine Y is also in the same nh.mydomain.com domain
like this:
nh\Y$
I used nh because that is the domain in which my machine resides. Remeber, i am logged in as MYDOMAIN\User
am i missing something? basically i have a disjoint namespace. Any ideas. feel free to ask if you want additional information