Samba - Domain Controller

So easy to create master domain controller with Samba, many errors :)). But i like it than AD of M$. Because it is quickly, and i need only authenticate for my domain.
Lesson 3:Samba to PDC
Edit smb.conf

workgroup =    SMBDOMAIN

server string = PC1 domain controller

local master = yes

os level = 64

domain master = yes

preferred master = yes

domain logons = yes

win support = yes


groupadd lanmachines
useradd -M -s /sbin/nologin -g lanmachines winxp$
useradd -M -s /sbin/nologin -g lanmachines wintendo$

smbpasswd -am winxp
smbpasswd -am wintendo

smbpasswd -a root
tail /etc/samba/smbpasswd

join domain normal
note: use WORKGROUP = workgroup ( in samba config file), not domain.


Thanks for reading
All my Lab:
Linux Lab -- window and Cisco Lab
to be continued - I will update more.


Popular posts from this blog

Python - Multithread to read one file

OpenCA tutorial

An toàn thông tin ứng dụng Web