LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-25-2014, 11:54 PM   #1
boby.kumar
Member
 
Registered: Mar 2013
Posts: 94

Rep: Reputation: Disabled
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
 
Old 03-26-2014, 01:50 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,927

Rep: Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320
you may try to set up samba. it can act as domain controller.
 
Old 03-26-2014, 01:55 AM   #3
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
You don't need a domain, you just need to specify the DNS server on the Windows clients (by it's IP not by it's name...)
 
Old 03-26-2014, 04:00 AM   #4
boby.kumar
Member
 
Registered: Mar 2013
Posts: 94

Original Poster
Rep: Reputation: Disabled
Already DNS Ip is assigned to windows client.
Can you please trace the below log for windows client

Can you please trace the below log captured from windows client...
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 i am looking.

Thanks

Last edited by boby.kumar; 03-26-2014 at 04:13 AM.
 
Old 03-27-2014, 08:59 AM   #5
boby.kumar
Member
 
Registered: Mar 2013
Posts: 94

Original Poster
Rep: Reputation: Disabled
Anyone has any update the same..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Replacing a Windows Domain Controller with a Linux:OpenLDAP importing from Windows AD mstevensfullarmor Linux - Enterprise 14 02-15-2012 06:05 PM
[SOLVED] Linux Domain Controller on a current Windows Server Domain LaurelRaven Linux - Server 3 02-02-2012 07:43 AM
Linux as a windows domain controller? tehkaao Linux - Server 2 12-14-2007 10:35 AM
Windows domain controller and Linux Apox Linux - Networking 1 08-01-2003 07:25 AM
Linux Domain Controller over windows txq45 Linux - Networking 1 12-16-2002 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration