[Comm] Samba в роли PDC
Olvin
=?iso-8859-1?q?olvin_=CE=C1_rambler=2Eru?=
Ср Май 18 16:39:40 MSD 2005
Создал такой /etc/samba/smb.conf:
[global]
server string =
netbios name = RIVASRV
workgroup = RIVA
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
local master = yes
domain master = yes
preferred master = yes
domain logons = yes
logon path = \\%L\Profiles\%U
domain admin group = root @wheel administrator olvin
wins support = yes
name resolve order = wins lmhosts bcast
log file = /var/log/samba/log.%m
max log size = 50
guest account = pcguest
socket options = TCP_NODELAY
os level = 255
add machine script = /usr/sbin/useradd -d /dev/null -g machines -c
'Machine Account' -s /bin/false -M %u
add user script = /usr/sbin/useradd -s /bin/false %u
dns proxy = no
use sendfile = yes
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind separator = +
winbind cache time = 10
template homedir = /home/%D/%U
template shell = /bin/bash
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = yes
writable = no
write list = admin, administrator, olvin
[Profiles]
path = /var/lib/samba/profiles
browseable = no
read only = no
create mask = 0600
directory mask = 0700
[homes]
comment = Home Directory for '%u'
read only = No
browseable = No
service smb start
В логах видно (/var/log/samba/log.smbd):
[2005/05/18 14:22:16, 0] param/loadparm.c:map_parameter(2440)
[2005/05/18 14:22:16, 0] param/loadparm.c:map_parameter(2440)
Unknown parameter encountered: "domain admin group"
Пример конфига брался из file:///usr/share/doc/alt-docs/master/ch06s14.html
Вопрос: что мне надо сделать ещё, чтобы ввести машину под WinXP SP2 в
домен? По шагам.
Что мне надо сделать для добавления группы/пользователя в этот домен?
Подробная информация о списке рассылки community