LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Name resolution on windows network? (https://www.linuxquestions.org/questions/linux-networking-3/name-resolution-on-windows-network-897874/)

startoftext 08-17-2011 11:39 AM

Name resolution on windows network?
 
I work at a company with a mostly windows machines and a dozen or so linux machines. I was able to get the linux machines to be able to ping other linux machines by hostname or hostname.companyname.local. I did this by adding "search companyname.local" to /etc/resolv.conf. The remaining problem is that there are some machines that are not part of this companyname.local domain, if thats the correct terminology. I presume that these machines need to let whatever computer resolves hostname.companyname.local to ip addresses that they exist. Is this the same thing as configuring those machines to join the windows domain? So basically I already can configure a machine to resolve a name to an ip but how can I configure a computer to have its name part of that local resolution service. Make sense. Sorry I am not very sure of the terminology of this.

Many of the articles I have read seem to indicate that the purpose of joining a windows domain is to allow single sign on authentication which is not what I want. Hence I am not sure what the term for what I really want to do is. Sorry if this is a very basic question. I presume this has something to do with winbind and I have ready this http://www.samba.org/samba/docs/man/...tml#ads-member but it seems to describe SSO and not name resolution.

startoftext 08-17-2011 02:56 PM

So my current belief is that i need to run:
Code:

/usr/bin/net join -w mycompanyname.local -S myadservername -U username
When I run that however I get:
Code:

Using short domain name -- mycompanyname
Joined 'HOSTNAME' to realm 'mycompanyname.local'
DNS update failed!

Just putting that out there. I will probably find something that leads me to believe this is not correct soon and if I do I will post back here.


All times are GMT -5. The time now is 01:15 AM.