Вход на сайт
Яндекс.Метрика

Рейтинг@Mail.ru

Контроллер домена Samba3

Данная статья посвящена настройке Samba 3 в качестве основного контроллера домена (PDC)

Пока приведен только конфиг самбы

[global]

server string = Samba PDC Server

comment = Server of Domain

netbios name = SWGATE1

workgroup = SW

unix charset = utf-8

display charset = cp1251

dos charset = cp866

winbind uid = 10000-20000

winbind gid = 10000-20000

winbind enum groups = yes

winbind enum users = yes

encrypt passwords = yes

domain master = yes

local master = yes

os level = 255

security = user

domain logons = yes

unix password sync = no

passwd program = /usr/bin/passwd %u

wins support = yes

add user script = /usr/sbin/pw user add %u

delete user script = /usr/sbin/pw user del %u

add group script = /usr/sbin/pw group add %g

delete group script = /usr/sbin/pw group del %g

add machine script = /usr/sbin/pw user add %u -d /dev/null -g samba -s /sbin/nologin

admin users = root,@"Domain Admins"

smb passwd file = /usr/local/etc/smbpasswd

 

[netlogon]

path = /home/smb-netlogon

guest ok = yes

writable = no

browsable = no

 

unix-way