1

Тема: Проблемы с Samba

Поставил самбу.
Пытался что нибудь расшарить. Ничего не выходит. Виндовс машина видит сервер, но попасть в него не может т.к. требуется логин пароль. Я уже всё на свете перебрал. Не выходит.
(Windows7).
Кстати. Пробовал даже через сват конфигурировать самбу. Обнаружил там такую деталь: он пишет что
winbindd и nmbd работают (running)
а smbd - not running

pid'ы в /var/run - лежат все 3...
нектотроые логи.
log.dnapc (windows7)

[2010/12/05 16:20:55, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client 10.0.1.3. Error = Connection reset by peer
[2010/12/05 16:21:19, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client 10.0.1.3. Error = Connection reset by peer

log.smbd

[2010/12/05 11:13:41, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 11:13:42, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 11:13:42, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 11:13:42, 0] auth/auth_util.c:create_builtin_administrators(844)
  create_builtin_administrators: Failed to create Administrators
[2010/12/05 11:13:42, 0] auth/auth_util.c:create_builtin_users(810)
  create_builtin_users: Failed to create Users
[2010/12/05 11:13:42, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 1 (min password length), returning 0
[2010/12/05 11:13:42, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), returning 0
[2010/12/05 11:13:42, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to change password), returning 0
[2010/12/05 11:13:42, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password age), returning 0
[2010/12/05 11:13:42, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password age), returning 0
[2010/12/05 11:13:42, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout duration), returning 0
[2010/12/05 11:13:42, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count minutes), returning 0
[2010/12/05 11:13:42, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout attempt), returning 0
[2010/12/05 11:13:42, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time), returning 0
[2010/12/05 11:13:42, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine password change), returning 0
[2010/12/05 11:13:42, 0] auth/auth_util.c:create_builtin_administrators(844)
  create_builtin_administrators: Failed to create Administrators
[2010/12/05 11:13:42, 0] auth/auth_util.c:create_builtin_users(810)
  create_builtin_users: Failed to create Users
[2010/12/05 11:16:01, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 11:16:01, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 11:34:48, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 11:34:48, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 11:34:48, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 11:36:46, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 11:36:46, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 11:36:46, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 11:40:46, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 11:40:46, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:07:01, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 12:07:01, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:07:01, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:17:37, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 12:17:37, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:17:37, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:25:58, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 12:25:58, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:25:58, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:35:56, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 12:35:56, 1] param/loadparm.c:service_ok(3040)
  NOTE: Service tmp is flagged unavailable.
[2010/12/05 12:35:56, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:35:56, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:40:56, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 12:40:56, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:40:56, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:41:11, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 12:41:11, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:41:11, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:41:44, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 12:41:44, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:41:44, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:41:52, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 12:41:52, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:41:52, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:42:00, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 12:42:00, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:42:00, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:42:10, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 12:42:10, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:42:10, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:42:18, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 12:42:18, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:42:18, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:47:55, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 12:47:55, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:47:55, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:51:33, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 12:51:33, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 12:51:33, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 13:40:46, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 13:40:46, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 13:40:46, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 16:15:32, 0] smbd/server.c:main(942)
  smbd version 3.0.37 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/12/05 16:15:32, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 16:15:32, 0] printing/print_cups.c:cups_connect(69)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2010/12/05 16:15:32, 0] auth/auth_util.c:create_builtin_administrators(844)
  create_builtin_administrators: Failed to create Administrators
[2010/12/05 16:15:32, 0] auth/auth_util.c:create_builtin_users(810)
  create_builtin_users: Failed to create Users
[2010/12/05 16:15:32, 0] auth/auth_util.c:create_builtin_administrators(844)
  create_builtin_administrators: Failed to create Administrators
[2010/12/05 16:15:32, 0] auth/auth_util.c:create_builtin_users(810)
  create_builtin_users: Failed to create Users
Post's attachments

smb.conf 10.15 kb, 1 downloads since 2010-12-05 

You don't have the permssions to download the attachments of this post.

2

Re: Проблемы с Samba

если вы хотите сделать доступ логин/пароль, то вам надо создать пользователей на сервере.

3

Re: Проблемы с Samba

Я пытаюсь разобраться в самбе.
Хотябы просто так открыть папки для начала. Потом и с авторизацией можно заморочиться.
Создал я пользователя на сервере.
l: teacher
p: 1
ввожу.. не получается...
приглашение еще выскакиевет...
вход в домен DNAPC
логин пароль...
всяко пробовал...
и "пустой" домен.. :
\teacher
1
и какой был:
DNAPC\teacher
1
и фрибсд:
FRYA\teacher
1

4

Re: Проблемы с Samba

вы должны создать пользователя в системе и в самой sambe с помощью smbpasswd

Добавлено: 05-12-2010 17:50:16

при этом пользователь в системе и в самбе должны совпадать

5

Re: Проблемы с Samba

Спасибо.
Помогло.