hi list, does anyone have an idea what to do if i want to plug my laptop into my lokal LAN and the laptop should be reachable via name resolving? i get an IP address via dhcp from an windows dhcp server but he doesn't enters the computer name into the dhcp leases nor in my active diretory DNS. furthermore, i don't want to hardcode any IP or macaddresses somewhere like /etc/hosts, etc... the name resolusion and IP gathering should by dynamically. do you know what i've forgotten? or is it only possible using a local samba server (for netbios nameing) TIA andrew
Mrvka Andreas wrote:
hi list,
does anyone have an idea what to do if i want to plug my laptop into my lokal LAN and the laptop should be reachable via name resolving?
i get an IP address via dhcp from an windows dhcp server but he doesn't enters the computer name into the dhcp leases nor in my active diretory DNS.
furthermore, i don't want to hardcode any IP or macaddresses somewhere like /etc/hosts, etc... the name resolusion and IP gathering should by dynamically.
Then you need 1) a name-server and 2) to have the DHCP-server update that name-server dynamically. /Per Jessen, Zürich
hi, Am Montag, den 24.04.2006, 15:39 +0200 schrieb Per Jessen:
Then you need
1) a name-server and 2) to have the DHCP-server update that name-server dynamically.
as I wrote in my mail, we have active diretory running with dns included .... (standard software: wins, dhcp, dns in the AD) if I set my suse-box up for gathering IP addresse, it gets one, but the MS dhcp server does not get information about the client name. I just can check a box in the network services that my suse-box gets the pc-name of a resolved name of a dhcp IP addresse which a client had in former times. a windows client just enters the network and sends its name to the dhcp/dns server. its automatically inserted into dhcp and dns. why is it not possible for linux acing the same way? :-(
/Per Jessen, Zürich
regards Andrew
Mrvka Andreas wrote:
a windows client just enters the network and sends its name to the dhcp/dns server. its automatically inserted into dhcp and dns.
As I said in another e-mail, Windows clients send this information using WINS, not DNS. -- % Mauricio Teixeira (netmask) % mteixeira{a}webset{d}net <> Maceio/AL/BR % http://mteixeira.webset.net <> http://pmping.sf.net
Mrvka Andreas wrote:
as I wrote in my mail, we have active diretory running with dns included .... (standard software: wins, dhcp, dns in the AD)
I have no idea what active directory is nor does, but if you say it acts as a name-server, I'll take your word for it. All you need to do the is have your DHCP-server update your active directory with the newly assigned dynamic IP-addresses.
if I set my suse-box up for gathering IP addresse, it gets one, but the MS dhcp server does not get information about the client name.
Then perhaps you need to debug the DHCP-server.
a windows client just enters the network and sends its name to the dhcp/dns server. its automatically inserted into dhcp and dns. why is it not possible for linux acing the same way? :-(
I'm sure it is, but have you configured your linux client to do so? There's nothing stopping a Linux workstation from using "nsupdate" to add its own name to the nameserver - "nsupdate" being whatever utility that works with "active directory". nsupdate is the utility supplied with BIND. As you are an active directory user, I'm sure you know which Linux utilities are available for it. I would also recommend you read ESRs: "How To Ask Questions The Smart Way" - http://www.catb.org/~esr/faqs/smart-questions.html /Per Jessen, Zürich
On Mon, 2006-04-24 at 17:17 +0200, Mrvka Andreas wrote:
hi,
Am Montag, den 24.04.2006, 15:39 +0200 schrieb Per Jessen:
Then you need
1) a name-server and 2) to have the DHCP-server update that name-server dynamically.
as I wrote in my mail, we have active diretory running with dns included .... (standard software: wins, dhcp, dns in the AD)
if I set my suse-box up for gathering IP addresse, it gets one, but the MS dhcp server does not get information about the client name.
I just can check a box in the network services that my suse-box gets the pc-name of a resolved name of a dhcp IP addresse which a client had in former times.
a windows client just enters the network and sends its name to the dhcp/dns server. its automatically inserted into dhcp and dns.
In the Windows world, a client first sends a request to a DHCP server. This request includes the machine name. The DHCP server responds with an IP address and network settings, including the DNS servers. When the network on the client comes up, it registers with the DNS server. I believe it uses SMB for that. Note that these are two separate actions, using different protocols. In the rest of the world, it's slightly different. A client sends a request to a DHCP server, usually without the machine name. The response from the DHCP server is similar, but can also include a machine name for the client to take on (Windows clients will ignore that, but Linux clients work with that very happily). The DHCP server then also sends a (secured) message to the DNS server which enters it in the local zone. The client then doesn't need to do any further name registration. To use AD as your DHCP and DNS for a Linux client, your client will need to do that registration in the AD DNS, for which you are probably going to need Samba (to get the SMB protocols), and make your Linux client a member of the AD (to fit in with the AD security model).
why is it not possible for linux acing the same way? :-(
Better question: Why didn't Microsoft make Windows so that it does what
the rest of the world was already doing? At least Samba provides most of
the proprietary functionality for Active Directory...
Personally, I have opted to run DHCP and DNS on Linux, because that
makes life soooo much easier.
--
Herman Verkade
Mrvka Andreas wrote:
the computer name into the dhcp leases nor in my active diretory DNS.
AFAIK, Active Directory register names it receives from WINS hosts and replicates to DNS, which means you should be yelding your name using Samba client connected to the AD service. IIRC, you can also manually register the host on your DNS server, and it will replicate to WINS service, but I don't know if Windows DHCP is able to receive hostnames from the clients and register them into DNS. Anyway, too much windows information on the wrong list. :) -- % Mauricio Teixeira (netmask) % mteixeira{a}webset{d}net <> Maceio/AL/BR % http://mteixeira.webset.net <> http://pmping.sf.net
participants (4)
-
Herman Verkade
-
Mauricio Teixeira (netmask)
-
Mrvka Andreas
-
Per Jessen