Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-18-2008, 12:11 AM   #1
LQ Newbie
Registered: Nov 2006
Posts: 23

Rep: Reputation: 15
need help for samba as domain controller for windows clients

I need to configure samba as domain controller for windows XP clients,I followed a lot of steps but windows machine telling that "Unable to join into the doamin Username could not be found".How to fix this problem.give me an introduction about what are the parameters needed for domain controller in smb.conf and what are needed for roamin profile.Please help me in this problem.I am confused .Please help me...
Thanks .

Last edited by ARsenthil; 02-18-2008 at 12:12 AM.
Old 02-18-2008, 01:30 AM   #2
Registered: Sep 2007
Location: Folsom, California
Distribution: Debian 4.0 (Etch), Debian 5.0 (Lenny), Ubuntu 8.04
Posts: 302

Rep: Reputation: 32
Each user needs to have an account on the nix machine.
They also need to have samba accounts (using the smbpasswd command).

Roaming profiles are actually fairly easy.

Do it a step at a time. Once you are able to log on then work on the roaming profiles.

I highly recommend checking out:
and read up on the Learn Samba : By Example section. Very helpful.

I'd give you more but my machine is away right now.
Old 02-18-2008, 01:56 AM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
You should put your distro in your user profile. Your distro may have a wizard configuration that will do the heavy lifting for you. Also look in using samba swat. Also, your distro may include the books mentioned in the prior post with the samba package or a separate samba-doc. ( Samba 3 by Example & Samba 3 HOWTO & Reference ) An edition of Using Samba is included with samba and reachable by clicking on the bottom of the samba swat web interface.

You didn't mention which XP clients you have. You are OK if you have XP Pro clients. XP Home clients can't join a domain. Microsoft stripped it out of the Home edition.

Last edited by jschiwal; 02-18-2008 at 02:01 AM.
Old 02-18-2008, 11:10 AM   #4
Registered: Dec 2001
Location: ./
Distribution: Fedora, CentOS, RHEL, Gentoo
Posts: 167

Rep: Reputation: 34
Originally Posted by jschiwal View Post
You didn't mention which XP clients you have. You are OK if you have XP Pro clients. XP Home clients can't join a domain. Microsoft stripped it out of the Home edition.
This goes for Media Center as well.

Also, don't forget that your machines must also have accounts in Samba. Add them as users on the Linux box followed by a '$', so:
useradd mymachine$ -s /bin/false -d /dev/null
smbpasswd -am mymachine
If your distribution doesn't allow user names ending in a dollar sign, you'll have to manually edit /etc/passwd (using vipw) and add it before running smbpasswd.


help, samba

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
windows primary domain controller with samba 3.x giorgiotheone Mandriva 1 07-04-2011 06:02 AM
Samba Domain Controler for windows clients thsot Linux - Server 2 12-25-2007 04:08 AM
windows 2k domain controller and samba server maxut Linux - Networking 3 06-01-2006 12:20 PM
Samba Domain Controller for windows XP dickohead Linux - Networking 9 05-08-2004 10:11 PM
Samba as a windows domain controller twsnnva Linux - Networking 1 10-30-2003 02:26 PM > Forums > Linux Forums > Linux - Server

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

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