LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-19-2009, 10:37 AM   #1
42After
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
Can an XP computer join a domain created in Ubuntu?


The Project:
A small manufacturing company that I support is out growing their peer-to-peer network.

Proposed solution:
Install a Ubuntu DNS with a domain name of test.lan and have all 10 XP computers join the domain. They should be able to access a central XP computer via the windows file manager Explorer. Access is expected to be something like admin.test.lan or clerk.test.lan etc.

The Problem:
So far I am unable to get XP to recognize and join a domain (dns) created in Ubuntu (Hardy).

Question:
Will the 10 or so Windows clients be able to join the domain name server running on Ubuntu.

Current state (progress)
I have a dns created on Ubuntu that is half working. I am unable to get the reverse lookup portion to work so far.

I also installed Samba and it is working.

My system state:

IP addresses are static
Linksys router DHCP is disabled.

computer 1:
o/s XP
ip 192.168.15.21
name: p4

computer 2:
o/s Ubuntu 8.04
ip 192.168.15.99
name: ubuntu804

domain name
test.lan

On the XP machine I have set the perferred DNS to 192.168.15.99

I am able to access the internet from the XP machine thru the Ubuntu dns.
I can successfully ping 192.168.15.99 from XP
I can successfully ping ubunt804.test.lan from XP
I can successfully @dig ubuntu804.test.lan from XP

Detailed problem:
The problem is that I cannot get XP to recognize the domain, test.lan.
In XP / Control Panel / System Icon / Computer Name tab / Change button /
... select Member of Domain radio button / enter test.lan / pick ok.

I then get an error that states:
"A domain controller for the domain test.lan could not be contacted.
etc..."

Summary:
I am new to Linux and thought I'd give Ubuntu a try.

Can anyone tell me what I've missed in the above setup? Or maybe I'm barking up the wrong tree and this is not possible.

Thanks
Neil
 
Old 02-19-2009, 01:05 PM   #2
richwmn
LQ Newbie
 
Registered: Dec 2005
Location: Athens, GA
Distribution: Slackware (various),Ubuntu 9.04
Posts: 27

Rep: Reputation: 17
couple of quick things to look for -
in smb.conf there is a line -
workgroup = WORKGROUP
the right hand side should match what your XP workstations have, normally WORKGROUP or MSHOME, but could have been changed to anything.
second, you should be looking for the netbios name of the server, usually not test.lan. It will default to whatever you chose for a machine name when you installed Ubuntu. You can find out what it is by going to a terminal window and typing hostname. Alternately you can set a netbios name within smb.conf
Example: netbios name = MYNAME
then you would search for MYNAME as your server.

Rich
 
Old 02-20-2009, 08:10 AM   #3
chitambira
Member
 
Registered: Oct 2008
Location: Fife
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 49
it could be a number of issues, try and narrow down your troubleshooting.
-check if samba is all ok
-check firewall issues on DC (ports 139/445 allowed?)
-do u have proper samba config (add machine script etc)
-when you join XP, for the domain, you type your workgroup name as it is, in your smb.conf

Last edited by chitambira; 02-20-2009 at 11:43 AM.
 
Old 02-20-2009, 11:15 AM   #4
42After
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the help

Thanks for the replies to my plea for help.

I now realise that Samba is key to setting up the DNS and that it is possible. I will go back an focus on Samba.

I have also been able to find lots of info on line regarding Samba and DNS.

Back to drawing board!!

Thanks again
Neil
 
Old 02-20-2009, 02:53 PM   #5
Gitzo645
Member
 
Registered: Jan 2005
Location: Dallas
Distribution: Mandriva, CentOS
Posts: 41

Rep: Reputation: 15
Quote:
Originally Posted by 42After View Post
Thanks for the replies to my plea for help.

I now realise that Samba is key to setting up the DNS and that it is possible. I will go back an focus on Samba.

I have also been able to find lots of info on line regarding Samba and DNS.

Back to drawing board!!

Thanks again
Neil

You may want to take a look at this: http://www.linewbie.com/2008/01/conf...buntu-710.html it seems pretty in depth. It is basically what I followed to setup my domain.

I know it is possible though because my domain is pretty similar to what you want to do. We are running a CentOS box as a primary domain controller that handles the domain, DNS, proxy,ldap and so forth. I would recommend using LDAP if you can for user management. We also have a second CentOS box that acts as the backup domain controller. We have 10 machines as well, 7 of which are XP Pro, 2 are Vista Business, and 1 mac. All are able to authenticate with the domain.
 
Old 02-20-2009, 03:02 PM   #6
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Just to be very clear here - a domain in the Windows sense and a domain as in domain name server (DNS) are totally different things.

A Windows domain allows roaming profiles, centralized logons, etc. DNS is for name resolution of a domain name such as example.com to an IP address.

make sure that you don't confuse the two, since they are barely related concepts.

www.samba.org has some very good worked examples in its official howto http://us3.samba.org/samba/docs/man/...TO-Collection/
 
  


Reply

Tags
dnsserver


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can't join Windows 2000 domain using net ads join The Cat Linux - Networking 2 09-23-2008 11:41 AM
Ubuntu 8.04LTS + Samba (how to join active domain in Windows Server 2008) PatrickBEN Ubuntu 1 06-01-2008 06:32 AM
Unable to join domain using Net Join command in FC3 client jeb083079 Linux - Networking 9 07-30-2007 02:41 AM
Help using 'net join' to join a windows domain Wapo Linux - Networking 1 04-28-2006 02:30 AM
Cannot join a Linux computer to a Windows 2000 server domain Linh Linux - Networking 10 08-13-2003 11:10 AM


All times are GMT -5. The time now is 07:40 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration