Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I was recently given the job of network and systems administrator. I was given the task of creating a server for our small office network. I went with ubuntu server 11.10 because of the cost factor. However I cannot find any tutorials on how to connect our xp pro boxes to the domain controller once I set up the server. Please help!

Since the inital post we updated to 12.04

share|improve this question
    
You connect them to a samba domain controller the same way that you would a windows server domain controller - and there certainly are plenty of 'tutorials' on how to do that. Or are you saying that you've tried that and had an issue? –  RobM Jun 9 '12 at 15:35
    
@DJPon3 Sorry no I hadn't thought of looking for that. I am new to linux period let alone setting up a server. What the boss needs he gets no matter how long it takes me to learn. –  skids89 Jun 9 '12 at 20:23
add comment

2 Answers 2

You have to write net ads join -W testdomain -S win2003test -U administrator. You can then write wbinfo -u to list the AD users.

It is all very documented here

Dont forget you have to edit the /etc/krb5.conf first. Follow the link :)

share|improve this answer
    
what does this do exactly? This is clearly a terminal command but linux is way new to me. The file you linked to is a little beyond what I have learned –  skids89 Jun 9 '12 at 20:21
    
This in short joins Linux to the Windows domain, thus allowing users to access the samba shares. Once you join the Linux box to the windows domain make sure you can list all users (with wbinfo), then start configuring smb.conf to allow users to access the shares. –  Sc0rian Jun 9 '12 at 21:37
    
Thanks this helped me find youtube.com/watch?v=8MWBhlaLIxQ Thanks! –  skids89 Jun 9 '12 at 21:39
    
No problem! Good luck. Click the tick if my answers has helped you :-) –  Sc0rian Jun 9 '12 at 21:46
    
My linux box was the pdc it didnt need to join the domain but your answer did help me find the above linked video! –  skids89 Jun 20 '12 at 19:57
add comment
up vote 0 down vote accepted

Actually what needs to be done is a domain change on the client machine.

Logon to the client as a local administrator account and right click on My Computer. Click properties. Look for the computer name tab and click the change button near the bottom. Enter the domain name setup in your smb.conf file and then login at the popup screen using an account from your server with adequate permissions. Reboot your machine change the login point to the name of your network (under the options button for ctr+alt+delete login prompt) and login using any of your samba credentials.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.