LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   What domain am I joined to? (https://www.linuxquestions.org/questions/linux-server-73/what-domain-am-i-joined-to-827287/)

AsherSevyn 08-19-2010 01:53 PM

What domain am I joined to?
 
How do I check to see what domain I am joined to?

I am in a multi domain environment where I took one Samba file server from one domain to another and I need to make sure it is actually connected to the new server.
I have all the correct info in the smb.conf but I need some reassurance that I am actually connected.
This is a Microsoft environment. The Samba file server is the only Linux box on the network. What's the best command to view my domain membership?

jkzfixme 08-19-2010 03:41 PM

Quote:

domainname
is the correct command

Regards,
JKZfixme

AsherSevyn 08-20-2010 03:14 PM

Thanks man, that's what I needed.

I had to install NIS to do it though, that was weird but it worked.


All times are GMT -5. The time now is 11:25 AM.