Я не смог присоединить компьютер с Windows (2k3) к Samba4 Active Directory, потому что получил это сообщение на хосте:
Произошла ошибка при присоединении к домену. Указанное имя сети больше не доступно.
Я получил несколько предупреждений, когда запускаю Samba (в log.samba):
[2016/05/28 17:28:45.075722, 0] ../source4/smbd/server.c:490(binary_smbd_main) samba: using 'standard' process model samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor. samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor. samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor. samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor. samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor. samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor. samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor. samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor. samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor. [2016/05/28 17:28:45.107472, 0] ../lib/util/become_daemon.c:124(daemon_ready) samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor. samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor. samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor. samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor. STATUS=daemon 'samba' finished starting up and ready to serve connections [2016/05/28 17:28:45.118242, 0] ../lib/util/util_runcmd.c:328(samba_runcmd_io_handler) /usr/sbin/winbindd: Failed to exec child - No such file or directory [2016/05/28 17:28:45.123154, 0] ../source4/winbind/winbindd.c:47(winbindd_done) winbindd daemon died with exit status 255 [2016/05/28 17:28:45.123264, 0] ../source4/smbd/service_task.c:35(task_server_terminate) task_server_terminate: [winbindd child process exited] [2016/05/28 17:28:45.124258, 0] ../source4/smbd/server.c:211(samba_terminate) samba_terminate: winbindd child process exited [2016/05/28 17:28:45.824903, 0] ../source4/dsdb/dns/dns_update.c:323(dnsupdate_spnupdate_done) ../source4/dsdb/dns/dns_update.c:323: Failed SPN update - NT_STATUS_ACCESS_DENIED
Мои /etc /hosts (впоследствии исправленные с правильными адресами):
127.0.0.1 localhost 172.16.0.10 omega.open.local 172.16.0.10 OMEGA.open.local 172.16.0.10 open.local 172.16.0.10 OMEGA 172.16.0.10 omega 172.16.0.10 OPEN 172.16.0.10 OPEN.LOCAL
Мой /etc/resolv.conf:
nameserver 172.16.0.10 search open.local nameserver 8.8.8.8 nameserver 8.8.4.4 nameserver 172.16.0.10 search open.local
Если я запускаю nslookup omega.open.local, я правильно получаю IP-адрес своего сервера.