Re: Find AD hostname from Linux command line
- From: "Kurt" <lorentzenkurt@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 12 Aug 2006 16:01:50 -0700
I don't want to turn off the Linux DHCP server from assigning the IP to
the Windows machine.
Didn't suggest that, although I don't know why you don't just let the
windows server do this. Integration between DHCP and DNS is soooo easy that
way. What I suggested is that the hostname is possibly being assigned to the
DHCP clients by the DHCP server. As I said, Windows boxes use their
computernames as hostnames by default. Since your computers are registered
as something different, it would appear (from the limited information we
have to work with here) that a good possibility is that the DHCP server is
assigning the hostname. You can disable that one feature on the DHCP server
(not the whole DHCP server). I also gave you a method of checking whether or
not the hostname on an XP workstation is the same as it's NetBIOS name, by
typing "hostname" at a command prompt. That should tell you with certainty
that the hostname of the computer is different than it's computername. Just
how it got to be different will require more info to solve. Maybe it's not
different. We'll never know until you check it out and post what you find.
And I have to allow the Active Directory to
continue to do whatever it is does when it assigns a "hostname" of the
form *.ad.mydomain.com.
Active directory does not assign hostnames.
What I want to do is from the Linux server find
out what name the AD server assigned the Windows client given the
Windows client's IP address.
Once again, AD does not assign hostnames.
Yes, there are two different zones at work here: how do I query the AD
server to find out what it thinks the Windows machine name is? A simple
"nslookup 192.168.10.11" always returns the *.mydomain.com hostname,
whereas I want to get the *.ad.mydomain.com result.
That is what is listed in the reverse lookup zone. You'll have to find out
how your reverse lookup zones are being updated. Once again, do you get the
same result from an nslookup on one of the windows boxes? Maybe the Linux
box has static entries in it's hosts file? Maybe the reverse zone was set up
manually on the DNS server? Once again, step by step until you can pinpoint
where the descrepencies lie.
....kurt
.
- Follow-Ups:
- Re: Find AD hostname from Linux command line
- From: google
- Re: Find AD hostname from Linux command line
- References:
- Find AD hostname from Linux command line
- From: google
- Re: Find AD hostname from Linux command line
- From: Kurt
- Re: Find AD hostname from Linux command line
- From: google
- Find AD hostname from Linux command line
- Prev by Date: Re: Newbie needs help understanding DNS
- Next by Date: Re: Find AD hostname from Linux command line
- Previous by thread: Re: Find AD hostname from Linux command line
- Next by thread: Re: Find AD hostname from Linux command line
- Index(es):
Relevant Pages
|
Loading