DC - samba
Домен я специально не настраивал ни на ADS ни на RPC (собственно я это не умею, а в статье про это ничего не сказано).
Судя по всему домен RPC.
server services = s3fs,
rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate
smb.conf
[global]
<------>server role = active directory domain controller
<------>local master = yes
<------>domain master = yes
<------>preferred master = yes
<------>domain logons = yes
<------>wins support = yes
<------>name resolve order = wins lmhosts host bcast
<------>dns proxy = no
<------>hide unreadable = yes
<------>hide dot files = yes
<------>map to guest = Bad User
<------>netbios name = PDCFS
<------>encrypt passwords = yes
<------>os level = 65
<------>idmap_ldb:use rfc2307 = yes
<------>server string = VOSTOK File Server
<------>realm = VOSTOK.DNR
<------>workgroup = VOSTOK
<------>unix password sync = yes
<------>passwd program = /etc/passwd %u
<------>server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate
<------>store dos attributes = yes
<------>map readonly = no
<------>map hidden = no
<------>map system = no
<------>map acl inherit = yes
<------>map archive = no
<------>admin users = Sergey.Taranchenko
<------>socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
<------>security = user
<------>username map = /etc/samba/smbusers
<------>hosts allow = 192.168.43. 127.0.1.
<------>bind interfaces only = yes
<------>winbind enum groups = yes
<------>winbind enum users = yes
<------>winbind use default domain = yes
<------>winbind refresh tickets = yes
<------>idmap config * : range = 10000-20000
[netlogon]
<------>path = /var/lib/samba/sysvol/vostok.dnr/scripts
<------>read only = No
<------>browseable = no
[sysvol]
<------>path = /var/lib/samba/sysvol
<------>read only = No
<------>browseable = no
winbind не установлен.
Пользователь решил продолжить мысль [time]26 Январь 2015, 16:58:16[/time]:
root@PDCFS:/etc/samba# net group add 123 -U administrator
Enter administrator's password:
ads_connect: No logon servers
ads_connect: No logon servers
Не хочет.
Пользователь решил продолжить мысль 26 Января 2015, 16:02:18:
root@PDCFS:/etc/samba# net rpc group add 123 -U administrator
Enter administrator's password:
Failed to add group '123' with error: failed to open PIPE \samr: NT_STATUS_OBJECT_NAME_NOT_FOUND.
Под RPC тоже не хочет, но ошибка другая
