LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Can an XP computer join a domain created in Ubuntu? (https://www.linuxquestions.org/questions/linux-server-73/can-an-xp-computer-join-a-domain-created-in-ubuntu-705932/)

42After 02-19-2009 10:37 AM

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

richwmn 02-19-2009 01:05 PM

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

chitambira 02-20-2009 08:10 AM

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

42After 02-20-2009 11:15 AM

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

Gitzo645 02-20-2009 02:53 PM

Quote:

Originally Posted by 42After (Post 3451271)
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.

billymayday 02-20-2009 03:02 PM

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/


All times are GMT -5. The time now is 06:14 AM.