Thursday, December 9, 2010

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

uncommnet
[netlogon]
[Profiles]
[tmp]

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.

Lab: http://www.mediafire.com/?ow47sz7l2femcm0
or:


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

No comments:

Install Xposed Inspector and Frida on Genymotion

Today i had some work with android. So i need trace application. I found 2 nice tool can help me: Xposed Inspector and Frida. To setup ther...