LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-28-2006, 06:55 AM   #1
mikeotieno
Member
 
Registered: Jun 2006
Location: Kenya
Distribution: SUSE OSS 10.1, Fedora 9 x86-64
Posts: 71

Rep: Reputation: 15
Question when does linux become a primary domain controller


hi,
After i configure the smb.conf file and set the option "domain master = yes" and linux becomes a samba server does that mean i can go a head and join windows machines to that domain or is it after configuring the DNS server? thanx
 
Old 07-28-2006, 01:38 PM   #2
activeq
Member
 
Registered: Jul 2006
Location: Balen, Belgium
Distribution: Suse 10, Centos, Open Solaris
Posts: 76

Rep: Reputation: 15
I have setup a samba pdc on Suse 10.0 by myself a few weeks ago.
I followed this howto: http://gentoo-wiki.com/HOWTO_Impleme...ba_as_your_PDC

After that you need to change the line:
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
to
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$

add and enable users:

useradd smbadmin # create a Linux user
smbpasswd -a smbadmin # create a Samba user
smbpasswd -e smbadmin # enable a Samba user

Your Samba PDC is ready to go.

reference sites:
1. http://gentoo-wiki.com/HOWTO_Impleme...ba_as_your_PDC
2. http://susewiki.org/index.php?title=Setting_up_Samba

Good luck
 
Old 07-28-2006, 01:43 PM   #3
activeq
Member
 
Registered: Jul 2006
Location: Balen, Belgium
Distribution: Suse 10, Centos, Open Solaris
Posts: 76

Rep: Reputation: 15
I forgot something.

yes...I've setup a DNS server on the samba PDC.

See: http://www.howtoforge.com/traditional_dns_howto
 
Old 07-28-2006, 02:36 PM   #4
intel_ro
Member
 
Registered: Jun 2006
Location: Romania
Distribution: RH 9, FD 2,3,4,5 Debian
Posts: 37

Rep: Reputation: 15
the smb will become master we the machine on your network will use your NS servers .. they must be the first NS servers that be interogated .. not other machine .. because another ns may be setup to make update in feu hour od day !
 
Old 07-29-2006, 02:26 AM   #5
mikeotieno
Member
 
Registered: Jun 2006
Location: Kenya
Distribution: SUSE OSS 10.1, Fedora 9 x86-64
Posts: 71

Original Poster
Rep: Reputation: 15
thanks guys, i had configured samba but i could'nt join any machine to the domain, but after i configured DNS thats wen it allowed me to join machines into the domain. Thanks allot i really appreciate
 
  


Reply


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
RedHat Primary Domain controller Prakaash Linux - Networking 4 07-04-2011 06:00 AM
problem in making linux as primary domain controller tek_adm Linux - Networking 7 07-14-2006 05:38 AM
Establish a Primary Domain Controller tthai01 Linux - Networking 1 11-27-2002 10:04 AM
primary domain controller question chens_83 Linux - Networking 4 07-23-2002 10:56 AM


All times are GMT -5. The time now is 10:31 AM.

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