[samba] Не могу подключить самбу 3-0-14а2 к домену NT4

Ovsyanikov Sergey ovsyanikov на azot.lg.ua
Вт Июл 5 10:07:28 MSD 2005


Приветствую!

Имеется samba-3-0-14а2 и домен на NT4. Хочется сделать файл сервер.
Настраивал как в http://www.nextaz.com/showarticle.php?id=1114628127 для
winbind.

wbinfo -t говорит что checking the trust secret via RPC calls succeeded
wbinfo -u выводит на экран всех доменных пользователей.

Вроде бы все нормально, но при обращении к серверу по сети пишет:
"Отсутствуют серверы, которые могли бы обработать запрос на вход в сеть"

BDC - контроллер домена (192.168.0.11)
Uuser_vasya - имя учетной записи пользователя


Содержимое smb.conf

# Global parameters
[global]
	workgroup = MYDOMAIN
	server string = Samba Server
	security = DOMAIN
	password server = 192.16.0.11
	enable privileges = Yes
	log level = 2
	log file = /var/log/samba/%m.log
	max log size = 50
	smb ports = 139
	name resolve order = wins lmhosts bcast
	use spnego = No
	paranoid server security = No
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	printcap name = /etc/printcap
	local master = No
	domain master = No
	dns proxy = No
	idmap uid = 15000-20000
	idmap gid = 15000-20000
	winbind separator = ^
	cups options = raw

[app]
	path = /smbs/scsi_6
	read only = No
	create mask = 0775
	force create mode = 0775
	directory mask = 0775
	force directory mode = 0775
	inherit acls = Yes
	locking = No

В лог файле для пользователя написано:

[2005/07/05 08:56:29, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2005/07/05 08:56:29, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:29, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:29, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:29, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:29, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:29, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:29, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:29, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:29, 0] auth/auth_domain.c:domain_client_validate(170)
  domain_client_validate: Domain password server not available.
[2005/07/05 08:56:29, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [Uuser_vasya] ->
[Uuser_vasya] FAILED with error NT_STATUS_NO_LOGON_SERVERS
[2005/07/05 08:56:29, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2005/07/05 08:56:29, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:29, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:29, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:29, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:29, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:29, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:29, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:29, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:29, 0] auth/auth_domain.c:domain_client_validate(170)
  domain_client_validate: Domain password server not available.
[2005/07/05 08:56:29, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [Uuser_vasya] ->
[Uuser_vasya] FAILED with error NT_STATUS_NO_LOGON_SERVERS
[2005/07/05 08:56:29, 2] smbd/server.c:exit_server(609)
  Closing connections
[2005/07/05 08:56:30, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 0] auth/auth_domain.c:domain_client_validate(170)
  domain_client_validate: Domain password server not available.
[2005/07/05 08:56:30, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [Uuser_vasya] ->
[Uuser_vasya] FAILED with error NT_STATUS_NO_LOGON_SERVERS
[2005/07/05 08:56:30, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 0] auth/auth_domain.c:domain_client_validate(170)
  domain_client_validate: Domain password server not available.
[2005/07/05 08:56:30, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [Uuser_vasya] ->
[Uuser_vasya] FAILED with error NT_STATUS_NO_LOGON_SERVERS
[2005/07/05 08:56:30, 2] smbd/server.c:exit_server(609)
  Closing connections
[2005/07/05 08:56:30, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 0] auth/auth_domain.c:domain_client_validate(170)
  domain_client_validate: Domain password server not available.
[2005/07/05 08:56:30, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [Uuser_vasya] ->
[Uuser_vasya] FAILED with error NT_STATUS_NO_LOGON_SERVERS
[2005/07/05 08:56:30, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 0] auth/auth_domain.c:domain_client_validate(170)
  domain_client_validate: Domain password server not available.
[2005/07/05 08:56:30, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [Uuser_vasya] ->
[Uuser_vasya] FAILED with error NT_STATUS_NO_LOGON_SERVERS
[2005/07/05 08:56:30, 2] smbd/server.c:exit_server(609)
  Closing connections
[2005/07/05 08:56:30, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 0] auth/auth_domain.c:domain_client_validate(170)
  domain_client_validate: Domain password server not available.
[2005/07/05 08:56:30, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [Uuser_vasya] ->
[Uuser_vasya] FAILED with error NT_STATUS_NO_LOGON_SERVERS
[2005/07/05 08:56:30, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 0] auth/auth_domain.c:domain_client_validate(170)
  domain_client_validate: Domain password server not available.
[2005/07/05 08:56:30, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [Uuser_vasya] ->
[Uuser_vasya] FAILED with error NT_STATUS_NO_LOGON_SERVERS
[2005/07/05 08:56:30, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 0] auth/auth_domain.c:domain_client_validate(170)
  domain_client_validate: Domain password server not available.
[2005/07/05 08:56:30, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [Uuser_vasya] ->
[Uuser_vasya] FAILED with error NT_STATUS_NO_LOGON_SERVERS
[2005/07/05 08:56:30, 2] smbd/server.c:exit_server(609)
  Closing connections
[2005/07/05 08:56:30, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 0] auth/auth_domain.c:domain_client_validate(170)
  domain_client_validate: Domain password server not available.
[2005/07/05 08:56:30, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [Uuser_vasya] ->
[Uuser_vasya] FAILED with error NT_STATUS_NO_LOGON_SERVERS
[2005/07/05 08:56:30, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:445 (Permission denied)
[2005/07/05 08:56:30, 2] lib/util_sock.c:open_socket_out(789)
  error connecting to 192.168.0.11:139 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_connect(1330)
  Error connecting to 192.168.0.11 (Permission denied)
[2005/07/05 08:56:30, 1] libsmb/cliconnect.c:cli_start_connection(1410)
  cli_full_connection: failed to connect to BDC<20> (192.168.0.11)
[2005/07/05 08:56:30, 0] auth/auth_domain.c:domain_client_validate(170)
  domain_client_validate: Domain password server not available.
[2005/07/05 08:56:30, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [Uuser_vasya] ->
[Uuser_vasya] FAILED with error NT_STATUS_NO_LOGON_SERVERS
[2005/07/05 08:56:30, 2] smbd/server.c:exit_server(609)
  Closing connections


Заранее спасибо!




Подробная информация о списке рассылки Samba