LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   when does linux become a primary domain controller (https://www.linuxquestions.org/questions/linux-networking-3/when-does-linux-become-a-primary-domain-controller-468521/)

mikeotieno 07-28-2006 06:55 AM

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

activeq 07-28-2006 01:38 PM

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

activeq 07-28-2006 01:43 PM

I forgot something.

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

See: http://www.howtoforge.com/traditional_dns_howto

intel_ro 07-28-2006 02:36 PM

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 !

mikeotieno 07-29-2006 02:26 AM

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


All times are GMT -5. The time now is 02:35 AM.