Прошу ПОМОЩИ! Сил уже нет никаких.... Настраиваю Samba 4 по мануалу http://smb-conf.ru/samba4-addc.html
Уперся и дальше никак, вот сюда:
IP моего сервера 192,168,1,250 Шлюз 192,168,1,185
Мой smb.conf:
# Global parameters [global] workgroup = ESM realm = ESM.COM netbios name = PDC server role = active directory domain controller dns forwarder = 192.168.1.185
[netlogon] path = /usr/local/samba/var/locks/sysvol/esm.com/scripts read only = No
[sysvol] path = /usr/local/samba/var/locks/sysvol read only = No
Мой /etc/network/interfaces:
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5).
# The loopback network interface auto lo iface lo inet loopback
# The primary network interface auto p2p1 iface p2p1 inet static address 192.168.1.250 domain pdc.esm.com netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.185 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 192.168.1.185 dns-search esm.com
Мой /etc/resolv.conf:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND — YOUR CHANGES WILL BE OVERWRITTEN nameserver 192.168.1.185 search esm.com
Далее набираю и получаю:
sysadmin@pdc:~$ sudo /usr/local/samba/bin/smbclient -L localhost -U% Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
Далее при вводе
host -t A samba.pdc.esm.com.
Получаю:
samba.pdc.esm.com has address 216.21.239.197
Причем 216.21.239.197 - IP адрес интернетовского «esm.com»
Что я не так прописал? Помогите пожалуйста :-[ :-[ :-[