How to create domain controller in Linux for windows client?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat How to create domain controller in Linux for windows client?
# 1  
Old 03-25-2014
RedHat How to create domain controller in Linux for windows client?

Hi Team
I have configured a linux dns server locally. Its fully working on linux clients but not windows client as its can't ping host by name. someone told me to create domain controller for working this to windows client as well.
I am new in linux and not aware how to create the domain and add the windows client to this domain.
DNS server name=server.example.com

Can anyone explain how to get this? I am totally stucked here.

Thanks in Advance
# 2  
Old 03-25-2014
Is the windows client aware of that local DNS- server?
# 3  
Old 03-26-2014
RedHat

Yes. Nslookup is working for the host by IP but not by hostname. That's the main issue here.
# 4  
Old 03-26-2014
Hi Boby,

I believe the DHCP is independent service to provide IP Address.
can you check primary DNS server settings on windows client.
Can you validate reverse and forward lookup from Linux client machines and verify in windows same.
Can you check the nslookup with connecting to you DHCP server. nslookup should independent to OS this should resolve.

Hope this narrow down the issue.

Regards
Tarun.

Last edited by tarun_nix; 03-26-2014 at 04:44 AM..
# 5  
Old 03-26-2014
On one of your Linux clients look at /etc/resolv.conf
You must provide the same information to your Windoz clients. If they get their IP from a DHCP server, it is sufficient to add the DNS information to the DHCP data.
# 6  
Old 03-26-2014
Static Ip is assigned to windows client here, no DHCP.
Above the things is working as well.

Can you please trace the below log captured from windows client...
Code:
C:\Users\hitpc>nslookup server
Server:  server.rncihspa.com
Address:  10.20.30.15

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to server.rncihspa.com timed-out


C:\Users\hitpc>nslookup 10.20.30.15
Server:  server.rncihspa.com
Address:  10.20.30.15

Name:    server.rncihspa.com
Address:  10.20.30.15


C:\Users\hitpc>ping 10.20.30.15

Pinging 10.20.30.15 with 32 bytes of data:
Reply from 10.20.30.15: bytes=32 time<1ms TTL=63
Reply from 10.20.30.15: bytes=32 time<1ms TTL=63

Ping statistics for 10.20.30.15:
    Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Users\hitpc>ping -a 10.20.30.15

Pinging server.rncihspa.com.154.127.10.in-addr.arpa [1
ytes of data:
Reply from 10.20.30.15: bytes=32 time=314ms TTL=63
Reply from 10.20.30.15: bytes=32 time<1ms TTL=63
Reply from 10.20.30.15: bytes=32 time<1ms TTL=63

Ping statistics for 10.20.30.15:
    Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 314ms, Average = 104ms


C:\Users\hitpc>ping server
Ping request could not find host server. Please check the name and try again.


C:\Users\hitpc>nslookup -debug server
------------
Got answer:
    HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  response, auth. answer, want recursion, recursion a
        questions = 1,  answers = 1,  authority records = 1,  additional =

    QUESTIONS:
        15.30.20.10.in-addr.arpa, type = PTR, class = IN
    ANSWERS:
    ->  15.30.20.10.in-addr.arpa
        name = server.rncihspa.com
        ttl = 86400 (1 day)
    AUTHORITY RECORDS:
    ->  30.20.10.in-addr.arpa
        nameserver = server.rncihspa.com
        ttl = 86400 (1 day)
    ADDITIONAL RECORDS:
    ->  server.rncihspa.com
        internet address = 10.20.30.15
        ttl = 86400 (1 day)

------------
Server:  server.rncihspa.com
Address:  10.20.30.15

DNS request timed out.
    timeout was 2 seconds.
timeout (2 secs)
DNS request timed out.
    timeout was 2 seconds.
timeout (2 secs)
*** Request to server.rncihspa.com timed-out

I think it has the enough to get what we are looking..

Thanks

Last edited by vbe; 03-26-2014 at 10:51 AM.. Reason: code tags
# 7  
Old 03-26-2014
Boby,

I) can you add "DNS suffix for this connection" as your "rncihspa.com" in windows LAN card IPv4 properties and then on Advanced DNS tab.

and then check the ping status.

II) Can you check nslookup for other SRV or A records in DNS instead of server host.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 server as Primary Domain Controller

Hi, All of our servers run Solaris (currently 10, but looking to upgrade to 11). In each of our offices we have a server configured as a Primary Domain Controller via Samba to provide naming services to our Windoze users. I would like to continue with that arrangement, but I would also like... (2 Replies)
Discussion started by: wgkorb
2 Replies

2. UNIX for Dummies Questions & Answers

Joining the Linux server to a Windows AD domain

Hi , I have a domain contoso.com, which is created by Windows AD, i have a linux server which i want to join to this domain. Linux server-: RHEL 5.3 ******Info of the windows domain************* AD server- Windows 2008 r2 server. Please help me to join this linux server to the windows... (2 Replies)
Discussion started by: shroh
2 Replies

3. Debian

Testing a SAMBA Domain Controller

Hello,,, We have an existing(working) MS PDC in our office. I have already installed SAMBA with LDAP Authentication on a TEST machine (on same LAN). But, am unable to join a WinXP machine to this domain. in smb.conf i have: WORKGROUP = mydomain and tried to join the XP machine to... (0 Replies)
Discussion started by: coolatt
0 Replies

4. UNIX for Dummies Questions & Answers

Add Linux host to Windows domain

Hi, I want to know the commands for adding a linux host to windows active directory domain. Request you to please help. Thanks & Regards Arun (1 Reply)
Discussion started by: Arun.Kakarla
1 Replies

5. UNIX for Dummies Questions & Answers

Samba change domain controller

Hello people i have a samba and they changed domain controller from a windows 2003 to a windows 2008, there is a problem with the version of samba maybe incompatibilities i dont know what show me this domain_client_validate: unable to validate password for user xxxx in domain xxxx to Domain... (0 Replies)
Discussion started by: enkei17
0 Replies

6. Linux

Adding linux system into windows domain

Hi i need to add linux system into windows network .Tell me the procedure if anybody know. Thanks & Regards, Veerababu. (1 Reply)
Discussion started by: veerababu
1 Replies

7. Windows & DOS: Issues & Discussions

How to: Linux BOX in Windows Domain (w/out joining the domain)

Dear Expert, i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant. ... (2 Replies)
Discussion started by: regmaster
2 Replies

8. AIX

Sync AIX system time with Windows Domain Controller

Yeah so, I have setup a domain controller (windows 2003) active directory machine and it is managing couple of windows servers and workstation. I also have couple of AIX machines that need to have the same time as other windows server and workstation hanging off of that domain controller. Now... (1 Reply)
Discussion started by: murderfly
1 Replies

9. UNIX for Dummies Questions & Answers

Linux as a Domain Controller

First question, can Linux be configured to be the domain controller on a network with Microsoft computers? If so, where can I find information about configuring Linux for this purpose? (4 Replies)
Discussion started by: cstovall
4 Replies
Login or Register to Ask a Question