[samba-jp:21658] [Q] ドメイン参加sambaサーバへ非ドメインユーザからアクセスできない

堀田 俊哉 hotta @ trafficsim.co.jp
2012年 1月 27日 (金) 14:58:41 JST


いつも参考にさせていただいております。
堀田@TrafficSim と申します。

職場のsambaサーバをドメインに参加させ、ドメインユーザからのアク
セスは正常に動作するところまでは構築できております。winbind認証
も正常に動作しております。

このsambaサーバにはpublicフォルダがあり、
"map to guest = Bad Password" で誰でもアクセスできるようにしたつ
もりなのですが、非ドメインユーザからアクセスすると、

> C:\>net view \\testsrv
> システム エラー 53 が発生しました。
>
> ネットワーク パスが見つかりません。

と、エラーになってしまいます。当然explorerからも見えません。
ログを見る限りはnobodyにマップされているようですが、原因が全く分
からず困っております。
ドメインから離脱すると(security=USER)、正常に参照できるようになり
ます。

以前、samba 3.0.xの時は正常に参照できていたと思うので、3.0.xから
3.5.xに変わった時に何かsmb.confの仕様が変わったのではないかと予
想しています。

・環境
  CentOS 5.7 + samba3x-3.5.4-0.83.el5_7.2
  CentOS 6.2 + samba-3.5.10-114.el6.x86_64
  Scientific Linux 6.1 + samba-3.5.6-86.el6_1.4.x86_64

・smb.conf
[global]
    dos charset = CP932
    display charset = UTF-8
    workgroup = COFFEE
    realm = COFFEE.TRAFFICSIM.CO.JP
    server string = Samba Server Version %v
    interfaces = 192.168.0.0/23, 127.0.0.0/8
    bind interfaces only = Yes
    security = ADS
    map to guest = Bad Password
    guest account = nobody
    password server = 192.168.1.1 192.168.1.2
    log file = /var/log/samba/log.%m
    max log size = 50
    server signing = auto
    load printers = No
    disable spoolss = Yes
    local master = No
    domain master = No
    idmap uid = 30000-40000
    idmap gid = 30000-40000
    template homedir = /home/%U
    template shell = /bin/bash
    winbind enum users = Yes
    winbind enum groups = Yes
    winbind use default domain = Yes
    winbind nss info = sfu
    winbind refresh tickets = Yes
    winbind offline logon = Yes
    admin users = Administrator
    hosts allow = 192.168.0.0/23
    cups options = raw

[homes]
    comment = Home Directories
    read only = No
    browseable = No

[public]
    comment = Public directory
    path = /var/samba/public
    read only = No
    create mask = 0666
    directory mask = 0777
    guest ok = Yes
    guest only = Yes
    force user = nobody
    force group = users
 
・ログ
[2012/01/27 14:11:16.750916,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [win7]\[hotta]@[WIN7] with the new password interface
[2012/01/27 14:11:16.750959,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: [TESTSRV]\[hotta]@[WIN7]
[2012/01/27 14:11:16.750986,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.751004,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:16.751020,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.751095,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.751112,  3] auth/auth_sam.c:399(check_sam_security)
  check_sam_security: Couldn't find user 'hotta' in passdb.
[2012/01/27 14:11:16.751137,  3] auth/auth_winbind.c:54(check_winbind_security)
  check_winbind_security: Not using winbind, requested domain [TESTSRV] was for this SAM.
[2012/01/27 14:11:16.751152,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [hotta] -> [hotta] FAILED with error NT_STATUS_NO_SUCH_USER
[2012/01/27 14:11:16.751175,  3] smbd/sesssetup.c:50(do_map_to_guest)
  No such user hotta [win7] - using guest account
[2012/01/27 14:11:16.751284,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.751301,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:16.751314,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.751354,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.751398,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.751414,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:16.751428,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.751459,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.751967,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.751988,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:16.752002,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.752027,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2012/01/27 14:11:16.752043,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2012/01/27 14:11:16.752056,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2012/01/27 14:11:16.752139,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.752162,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.752180,  3] smbd/password.c:282(register_existing_vuid)
  register_existing_vuid: User name: nobody	Real name: Nobody
[2012/01/27 14:11:16.752197,  3] smbd/password.c:292(register_existing_vuid)
  register_existing_vuid: UNIX uid 99 is UNIX user nobody, and will be vuid 100
[2012/01/27 14:11:16.752502,  3] smbd/process.c:1489(process_smb)
  Transaction 3 of length 82 (0 toread)
[2012/01/27 14:11:16.752523,  3] smbd/process.c:1298(switch_message)
  switch message SMBtconX (pid 21323) conn 0x0
[2012/01/27 14:11:16.752538,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.752583,  3] lib/access.c:392(check_access)
  check_access: no hostnames in host allow/deny list.
[2012/01/27 14:11:16.752658,  2] lib/access.c:409(check_access)
  Allowed connection from  (192.168.1.244)
[2012/01/27 14:11:16.752687,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.752712,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:16.752727,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.752756,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.752787,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.752802,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:16.752816,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.752843,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.753204,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.753224,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:16.753238,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.753259,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2012/01/27 14:11:16.753275,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2012/01/27 14:11:16.753288,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2012/01/27 14:11:16.753350,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.753371,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.753395,  3] smbd/service.c:807(make_connection_snum)
  Connect path is '/tmp' for service [IPC$]
[2012/01/27 14:11:16.753434,  3] smbd/vfs.c:97(vfs_init_default)
  Initialising default vfs hooks
[2012/01/27 14:11:16.753458,  3] smbd/vfs.c:122(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2012/01/27 14:11:16.753674,  3] lib/util_sid.c:228(string_to_sid)
  string_to_sid: Sid Administrator does not start with 'S-'.
[2012/01/27 14:11:16.753702,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.753717,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:16.753731,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.753759,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.753775,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.753789,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:16.753803,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.753849,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.757089,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.757137,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:16.757153,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.757183,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.757219,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.757235,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:16.757249,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.757276,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.757649,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.757669,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:16.757695,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.757717,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2012/01/27 14:11:16.757733,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2012/01/27 14:11:16.757747,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2012/01/27 14:11:16.757813,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.757835,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.757855,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.757898,  3] smbd/service.c:1070(make_connection_snum)
  win7 (192.168.1.244) connect to service IPC$ initially as user nobody (uid=99, gid=99) (pid 21323)
[2012/01/27 14:11:16.757919,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.757945,  3] smbd/reply.c:865(reply_tcon_and_X)
  tconX service=IPC$ 
[2012/01/27 14:11:16.758085,  0] lib/util_sock.c:474(read_fd_with_timeout)
[2012/01/27 14:11:16.759062,  0] lib/util_sock.c:1441(get_peer_addr_internal)
  getpeername failed. Error was 通信端点が接続されていません
  read_fd_with_timeout: client 0.0.0.0 read error = 接続が相手からリセットされました.
[2012/01/27 14:11:16.759207,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.759262,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.759283,  3] smbd/service.c:1251(close_cnum)
  win7 (192.168.1.244) closed connection to service IPC$
[2012/01/27 14:11:16.759301,  3] smbd/connection.c:31(yield_connection)
  Yielding connection to IPC$
[2012/01/27 14:11:16.759344,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.759377,  3] smbd/connection.c:31(yield_connection)
  Yielding connection to 
[2012/01/27 14:11:16.759448,  3] smbd/server.c:923(exit_server_common)
  Server exit (failed to receive smb request)
[2012/01/27 14:11:16.763857,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [win7]\[hotta]@[WIN7] with the new password interface
[2012/01/27 14:11:16.763879,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: [TESTSRV]\[hotta]@[WIN7]
[2012/01/27 14:11:16.763904,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.763921,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:16.763937,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.763982,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.763998,  3] auth/auth_sam.c:399(check_sam_security)
  check_sam_security: Couldn't find user 'hotta' in passdb.
[2012/01/27 14:11:16.764015,  3] auth/auth_winbind.c:54(check_winbind_security)
  check_winbind_security: Not using winbind, requested domain [TESTSRV] was for this SAM.
[2012/01/27 14:11:16.764030,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [hotta] -> [hotta] FAILED with error NT_STATUS_NO_SUCH_USER
[2012/01/27 14:11:16.764052,  3] smbd/sesssetup.c:50(do_map_to_guest)
  No such user hotta [win7] - using guest account
[2012/01/27 14:11:16.764174,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.764191,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:16.764205,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.764240,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:16.764290,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.764306,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:16.764320,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:16.764347,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.058439,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.058480,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:17.058495,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.058534,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2012/01/27 14:11:17.058550,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2012/01/27 14:11:17.058564,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2012/01/27 14:11:17.058651,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.058674,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.058695,  3] smbd/password.c:282(register_existing_vuid)
  register_existing_vuid: User name: nobody	Real name: Nobody
[2012/01/27 14:11:17.058745,  3] smbd/password.c:292(register_existing_vuid)
  register_existing_vuid: UNIX uid 99 is UNIX user nobody, and will be vuid 100
[2012/01/27 14:11:17.059143,  3] smbd/process.c:1489(process_smb)
  Transaction 3 of length 82 (0 toread)
[2012/01/27 14:11:17.059170,  3] smbd/process.c:1298(switch_message)
  switch message SMBtconX (pid 21324) conn 0x0
[2012/01/27 14:11:17.059185,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.059236,  3] lib/access.c:392(check_access)
  check_access: no hostnames in host allow/deny list.
[2012/01/27 14:11:17.059320,  2] lib/access.c:409(check_access)
  Allowed connection from  (192.168.1.244)
[2012/01/27 14:11:17.059353,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.059369,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:17.059383,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.059416,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.059452,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.059468,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:17.059665,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.059696,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.060123,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.060144,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:17.060158,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.060179,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2012/01/27 14:11:17.060195,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2012/01/27 14:11:17.060208,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2012/01/27 14:11:17.060276,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.060297,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.060323,  3] smbd/service.c:807(make_connection_snum)
  Connect path is '/tmp' for service [IPC$]
[2012/01/27 14:11:17.060362,  3] smbd/vfs.c:97(vfs_init_default)
  Initialising default vfs hooks
[2012/01/27 14:11:17.060393,  3] smbd/vfs.c:122(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2012/01/27 14:11:17.060461,  3] lib/util_sid.c:228(string_to_sid)
  string_to_sid: Sid Administrator does not start with 'S-'.
[2012/01/27 14:11:17.060486,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.060502,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:17.060515,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.060544,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.060560,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.060575,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:17.060588,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.060636,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.061483,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.061506,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:17.061520,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.061549,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.061583,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.061598,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:17.061612,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.061642,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.062005,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.062026,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/01/27 14:11:17.062040,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.062061,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2012/01/27 14:11:17.062077,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2012/01/27 14:11:17.062090,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2012/01/27 14:11:17.062155,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/01/27 14:11:17.062177,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.062197,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.062239,  3] smbd/service.c:1070(make_connection_snum)
  win7 (192.168.1.244) connect to service IPC$ initially as user nobody (uid=99, gid=99) (pid 21324)
[2012/01/27 14:11:17.062260,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.062286,  3] smbd/reply.c:865(reply_tcon_and_X)
  tconX service=IPC$ 
[2012/01/27 14:11:17.062433,  0] lib/util_sock.c:474(read_fd_with_timeout)
[2012/01/27 14:11:17.063010,  0] lib/util_sock.c:1441(get_peer_addr_internal)
  getpeername failed. Error was 通信端点が接続されていません
  read_fd_with_timeout: client 0.0.0.0 read error = 接続が相手からリセットされました.
[2012/01/27 14:11:17.063153,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.063215,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.063235,  3] smbd/service.c:1251(close_cnum)
  win7 (192.168.1.244) closed connection to service IPC$
[2012/01/27 14:11:17.063260,  3] smbd/connection.c:31(yield_connection)
  Yielding connection to IPC$
[2012/01/27 14:11:17.063301,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/01/27 14:11:17.063334,  3] smbd/connection.c:31(yield_connection)
  Yielding connection to 
[2012/01/27 14:11:17.063404,  3] smbd/server.c:923(exit_server_common)
  Server exit (failed to receive smb request)

よろしくお願いいたします。

-------------
Toshiya Hotta




samba-jp メーリングリストの案内