Sambaでパスワードを2回尋ねるメッセージが表示されます。

Sambaでパスワードを2回尋ねるメッセージが表示されます。

Windowsユーザーがsyslogサーバー(「littleEngineer」)の一部のログファイルにアクセスできるように構成された比較的新しいSambaインストールがあります。ただし、アクセス権を持つ共有リストを取得するには、パスワードの入力を求められます。\\littleEngineer\ユーザーがセキュリティ共有にアクセスしようとしたときにのみパスワードの入力を求めるようにこの動作を無効にする方法はありますか?

これは私のtestparm結果です。

root@littleEngineer /var/log/samba $ testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "idmap uid" option is deprecated
WARNING: The "idmap gid" option is deprecated
Processing section "[aviationLogs]"
WARNING: The security=share option is deprecated
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
        workgroup = BIZCO
        realm = BIZCO.COM
        server string = Samba Server Version %v
        security = SHARE
        password server = BIZCO.COM
        log file = /var/log/samba/log.%m
        max log size = 50
        utmp = Yes
        template shell = /bin/bash
        winbind use default domain = Yes
        idmap config * : range = 16777216-33554431
        idmap config * : backend = tdb
        cups options = raw

[aviationLogs]
        comment = Apache httpd Log Files (Access and Error)
        path = /var/log/central-logs/aviation
        force user = root
        guest ok = Yes

編集する:

クライアント:Windows 7 SP1クライアントコンピュータはVPNを介して顧客のローカルネットワークに接続しますが、ADドメインの一部ではありません。私のラップトップがFuzzypants.comドメインの一部であると仮定すると、SambaはBizco.com(私たちのクライアント)用に設定されます。

log.%m共有を選択し、プロンプトで「キャンセル」をクリックしたときから:

[2014/08/13 21:56:28.812088,  3] lib/access.c:338(allow_access)
  Allowed connection from xxx.xxx.28.194 (xxx.xxx.28.194)
[2014/08/13 21:56:28.812201,  3] smbd/oplock.c:922(init_oplocks)
  init_oplocks: initializing messages.
[2014/08/13 21:56:28.812372,  3] smbd/oplock_linux.c:226(linux_init_kernel_oplocks)
  Linux kernel oplocks enabled
[2014/08/13 21:56:28.812519,  3] smbd/process.c:1662(process_smb)
  Transaction 0 of length 159 (0 toread)
[2014/08/13 21:56:28.812569,  3] smbd/process.c:1467(switch_message)
  switch message SMBnegprot (pid 2467) conn 0x0
[2014/08/13 21:56:28.813049,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2014/08/13 21:56:28.813104,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [LANMAN1.0]
[2014/08/13 21:56:28.813143,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [Windows for Workgroups 3.1a]
[2014/08/13 21:56:28.813177,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [LM1.2X002]
[2014/08/13 21:56:28.813212,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [LANMAN2.1]
[2014/08/13 21:56:28.813247,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [NT LM 0.12]
[2014/08/13 21:56:28.813315,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [SMB 2.002]
[2014/08/13 21:56:28.813350,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [SMB 2.???]
[2014/08/13 21:56:28.813514,  3] smbd/negprot.c:401(reply_nt1)
  not using SPNEGO
[2014/08/13 21:56:28.813553,  3] smbd/negprot.c:704(reply_negprot)
  Selected protocol NT LM 0.12
[2014/08/13 21:56:46.975628,  1] smbd/process.c:457(receive_smb_talloc)
  receive_smb_raw_talloc failed for client xxx.xxx.28.194 read error = NT_STATUS_CONNECTION_RESET.
[2014/08/13 21:56:46.975865,  3] smbd/server_exit.c:181(exit_server_common)
  Server exit (failed to receive smb request)

成功した認証のログ出力を提供できますが、それほど有益ではない可能性があります。

編集#2

最後のログには情報がないため、ログインプロンプトを渡して表示を開始するようにcheck_ntlm_password求められますlog.%m

[2014/08/14 12:33:59.988239,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user []\[]@[] with the new password interface
[2014/08/14 12:33:59.988274,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: []\[]@[]
[2014/08/14 12:33:59.988328,  3] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: guest authentication for user [] succeeded
[2014/08/14 12:33:59.988379,  3] smbd/process.c:1467(switch_message)
  switch message SMBtconX (pid 6290) conn 0x0
[2014/08/14 12:33:59.988450,  3] lib/access.c:338(allow_access)
  Allowed connection from XXX.XXX.29.76 (XXX.XXX.29.76)
[2014/08/14 12:33:59.988613,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [bizco]\[davisja5]@[XXX.XXX.29.76] with the new password interface
[2014/08/14 12:33:59.988651,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [XXXXXXVLP01]\[davisja5]@[XXX.XXX.29.76]
[2014/08/14 12:33:59.988735,  3] auth/check_samsec.c:399(check_sam_security)
  check_sam_security: Couldn't find user 'davisja5' in passdb.
[2014/08/14 12:33:59.988772,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [davisja5] -> [davisja5] FAILED with error NT_STATUS_NO_SUCH_USER
[2014/08/14 12:33:59.988819,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [BIZCO]\[davisja5]@[XXX.XXX.29.76] with the new password interface
[2014/08/14 12:33:59.988853,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [XXXXXXVLP01]\[davisja5]@[XXX.XXX.29.76]
[2014/08/14 12:33:59.988927,  3] auth/check_samsec.c:399(check_sam_security)
  check_sam_security: Couldn't find user 'davisja5' in passdb.
[2014/08/14 12:33:59.988964,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [davisja5] -> [davisja5] FAILED with error NT_STATUS_NO_SUCH_USER
[2014/08/14 12:33:59.989005,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [BIZCO]\[davisja5]@[XXX.XXX.29.76] with the new password interface
[2014/08/14 12:33:59.989039,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [XXXXXXVLP01]\[davisja5]@[XXX.XXX.29.76]
[2014/08/14 12:33:59.989092,  3] auth/check_samsec.c:399(check_sam_security)
  check_sam_security: Couldn't find user 'davisja5' in passdb.
[2014/08/14 12:33:59.989126,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [davisja5] -> [davisja5] FAILED with error NT_STATUS_NO_SUCH_USER
[2014/08/14 12:33:59.989167,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [BIZCO]\[davisja5]@[XXX.XXX.29.76] with the new password interface
[2014/08/14 12:33:59.989201,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [XXXXXXVLP01]\[davisja5]@[XXX.XXX.29.76]
[2014/08/14 12:33:59.989253,  3] auth/check_samsec.c:399(check_sam_security)
  check_sam_security: Couldn't find user 'davisja5' in passdb.
[2014/08/14 12:33:59.989286,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [davisja5] -> [davisja5] FAILED with error NT_STATUS_NO_SUCH_USER
[2014/08/14 12:33:59.989359,  3] smbd/password.c:721(authorise_login)
  authorise_login: ACCEPTED: guest account and guest ok (root)
[2014/08/14 12:33:59.989566,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/14 12:33:59.989752,  3] smbd/service.c:872(make_connection_snum)
  Connect path is '/tmp' for service [IPC$]

関連情報