Guest User

Untitled

a guest
Feb 26th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.63 KB | None | 0 0
  1. # cat /usr/lib/systemd/system/smb.service
  2. [Unit]
  3. Description=Samba SMB Daemon
  4. After=syslog.target network.target nmb.service winbind.service
  5.  
  6. [Service]
  7. Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
  8. Type=notify
  9. NotifyAccess=all
  10. PIDFile=/run/smbd.pid
  11. LimitNOFILE=16384
  12. EnvironmentFile=-/etc/sysconfig/samba
  13. ExecStart=/usr/sbin/smbd -F --no-process-group $SMBDOPTIONS
  14. ExecReload=/usr/bin/kill -HUP $MAINPID
  15. LimitCORE=infinity
  16.  
  17. [Install]
  18. WantedBy=multi-user.target
  19.  
  20. [2018/02/26 16:57:37.676020, 3, pid=2994] ../lib/util/access.c:365(allow_access)
  21. Allowed connection from 192.168.247.72 (192.168.247.72)
  22. [2018/02/26 16:57:37.676283, 3, pid=2994] ../source3/param/loadparm.c:3862(lp_load_ex)
  23. lp_load_ex: refreshing parameters
  24. [2018/02/26 16:57:37.676497, 3, pid=2994] ../source3/param/loadparm.c:549(init_globals)
  25. Initialising global parameters
  26. [2018/02/26 16:57:37.676661, 3, pid=2994] ../source3/param/loadparm.c:2776(lp_do_section)
  27. Processing section "[global]"
  28. [2018/02/26 16:57:37.676960, 2, pid=2994] ../source3/param/loadparm.c:2793(lp_do_section)
  29. Processing section "[test]"
  30. [2018/02/26 16:57:37.677137, 3, pid=2994] ../source3/param/loadparm.c:1611(lp_add_ipc)
  31. adding IPC service
  32. [2018/02/26 16:57:37.677433, 2, pid=2994] ../source3/lib/interface.c:345(add_interface)
  33. added interface ens192 ip=192.168.247.71 bcast=192.168.247.255 netmask=255.255.255.0
  34. [2018/02/26 16:57:37.677553, 3, pid=2994] ../source3/smbd/oplock.c:1340(init_oplocks)
  35. init_oplocks: initializing messages.
  36. [2018/02/26 16:57:37.677770, 3, pid=2994] ../source3/smbd/process.c:1959(process_smb)
  37. Transaction 0 of length 216 (0 toread)
  38. [2018/02/26 16:57:37.677874, 3, pid=2994] ../source3/smbd/process.c:1539(switch_message)
  39. switch message SMBnegprot (pid 2994) conn 0x0
  40. [2018/02/26 16:57:37.678639, 3, pid=2994] ../source3/smbd/negprot.c:612(reply_negprot)
  41. Requested protocol [PC NETWORK PROGRAM 1.0]
  42. [2018/02/26 16:57:37.678766, 3, pid=2994] ../source3/smbd/negprot.c:612(reply_negprot)
  43. Requested protocol [MICROSOFT NETWORKS 1.03]
  44. [2018/02/26 16:57:37.678864, 3, pid=2994] ../source3/smbd/negprot.c:612(reply_negprot)
  45. Requested protocol [MICROSOFT NETWORKS 3.0]
  46. [2018/02/26 16:57:37.678968, 3, pid=2994] ../source3/smbd/negprot.c:612(reply_negprot)
  47. Requested protocol [LANMAN1.0]
  48. [2018/02/26 16:57:37.679071, 3, pid=2994] ../source3/smbd/negprot.c:612(reply_negprot)
  49. Requested protocol [LM1.2X002]
  50. [2018/02/26 16:57:37.679183, 3, pid=2994] ../source3/smbd/negprot.c:612(reply_negprot)
  51. Requested protocol [DOS LANMAN2.1]
  52. [2018/02/26 16:57:37.679280, 3, pid=2994] ../source3/smbd/negprot.c:612(reply_negprot)
  53. Requested protocol [LANMAN2.1]
  54. [2018/02/26 16:57:37.679379, 3, pid=2994] ../source3/smbd/negprot.c:612(reply_negprot)
  55. Requested protocol [Samba]
  56. [2018/02/26 16:57:37.679472, 3, pid=2994] ../source3/smbd/negprot.c:612(reply_negprot)
  57. Requested protocol [NT LANMAN 1.0]
  58. [2018/02/26 16:57:37.679583, 3, pid=2994] ../source3/smbd/negprot.c:612(reply_negprot)
  59. Requested protocol [NT LM 0.12]
  60. [2018/02/26 16:57:37.679693, 3, pid=2994] ../source3/smbd/negprot.c:612(reply_negprot)
  61. Requested protocol [SMB 2.002]
  62. [2018/02/26 16:57:37.679809, 3, pid=2994] ../source3/smbd/negprot.c:612(reply_negprot)
  63. Requested protocol [SMB 2.???]
  64. [2018/02/26 16:57:37.679986, 3, pid=2994] ../source3/smbd/smb2_negprot.c:290(smbd_smb2_request_process_negprot)
  65. Selected protocol SMB2_FF
  66. [2018/02/26 16:57:37.680477, 3, pid=2994] ../auth/gensec/gensec_start.c:977(gensec_register)
  67. GENSEC backend 'gssapi_spnego' registered
  68. [2018/02/26 16:57:37.680579, 3, pid=2994] ../auth/gensec/gensec_start.c:977(gensec_register)
  69. GENSEC backend 'gssapi_krb5' registered
  70. [2018/02/26 16:57:37.680684, 3, pid=2994] ../auth/gensec/gensec_start.c:977(gensec_register)
  71. GENSEC backend 'gssapi_krb5_sasl' registered
  72. [2018/02/26 16:57:37.680797, 3, pid=2994] ../auth/gensec/gensec_start.c:977(gensec_register)
  73. GENSEC backend 'spnego' registered
  74. [2018/02/26 16:57:37.680882, 3, pid=2994] ../auth/gensec/gensec_start.c:977(gensec_register)
  75. GENSEC backend 'schannel' registered
  76. [2018/02/26 16:57:37.680984, 3, pid=2994] ../auth/gensec/gensec_start.c:977(gensec_register)
  77. GENSEC backend 'naclrpc_as_system' registered
  78. [2018/02/26 16:57:37.681089, 3, pid=2994] ../auth/gensec/gensec_start.c:977(gensec_register)
  79. GENSEC backend 'sasl-EXTERNAL' registered
  80. [2018/02/26 16:57:37.681191, 3, pid=2994] ../auth/gensec/gensec_start.c:977(gensec_register)
  81. GENSEC backend 'ntlmssp' registered
  82. [2018/02/26 16:57:37.681291, 3, pid=2994] ../auth/gensec/gensec_start.c:977(gensec_register)
  83. GENSEC backend 'ntlmssp_resume_ccache' registered
  84. [2018/02/26 16:57:37.681384, 3, pid=2994] ../auth/gensec/gensec_start.c:977(gensec_register)
  85. GENSEC backend 'http_basic' registered
  86. [2018/02/26 16:57:37.681489, 3, pid=2994] ../auth/gensec/gensec_start.c:977(gensec_register)
  87. GENSEC backend 'http_ntlm' registered
  88. [2018/02/26 16:57:37.682280, 3, pid=2994] ../source3/smbd/negprot.c:753(reply_negprot)
  89. Selected protocol SMB 2.???
  90. [2018/02/26 16:57:37.682741, 3, pid=2994] ../source3/smbd/smb2_negprot.c:290(smbd_smb2_request_process_negprot)
  91. Selected protocol SMB3_11
  92. [2018/02/26 16:57:37.686193, 3, pid=2994] ../auth/ntlmssp/ntlmssp_util.c:69(debug_ntlmssp_flags)
  93. Got NTLMSSP neg_flags=0x62088215
  94. [2018/02/26 16:57:37.686799, 3, pid=2994] ../auth/ntlmssp/ntlmssp_server.c:454(ntlmssp_server_preauth)
  95. Got user=[test] domain=[SAMBA] workstation=[THINKPAD-X270] len1=24 len2=330
  96. [2018/02/26 16:57:37.686917, 3, pid=2994] ../source3/param/loadparm.c:3862(lp_load_ex)
  97. lp_load_ex: refreshing parameters
  98. [2018/02/26 16:57:37.687046, 3, pid=2994] ../source3/param/loadparm.c:549(init_globals)
  99. Initialising global parameters
  100. [2018/02/26 16:57:37.687198, 3, pid=2994] ../source3/param/loadparm.c:2776(lp_do_section)
  101. Processing section "[global]"
  102. [2018/02/26 16:57:37.687465, 2, pid=2994] ../source3/param/loadparm.c:2793(lp_do_section)
  103. Processing section "[test]"
  104. [2018/02/26 16:57:37.687611, 3, pid=2994] ../source3/param/loadparm.c:1611(lp_add_ipc)
  105. adding IPC service
  106. [2018/02/26 16:57:37.687742, 3, pid=2994] ../source3/auth/auth.c:189(auth_check_ntlm_password)
  107. check_ntlm_password: Checking password for unmapped user [SAMBA][test]@[THINKPAD-X270] with the new password interface
  108. [2018/02/26 16:57:37.687838, 3, pid=2994] ../source3/auth/auth.c:192(auth_check_ntlm_password)
  109. check_ntlm_password: mapped user is: [SAMBA][test]@[THINKPAD-X270]
  110. [2018/02/26 16:57:37.687998, 2, pid=2994] ../source3/lib/smbldap.c:841(smbldap_open_connection)
  111. smbldap_open_connection: connection opened
  112. [2018/02/26 16:57:37.696554, 3, pid=2994] ../source3/lib/smbldap.c:1063(smbldap_connect_system)
  113. ldap_connect_system: successful connection to the LDAP server
  114. [2018/02/26 16:57:37.699013, 2, pid=2994] ipa_sam.c:3216(init_sam_from_ldap)
  115. init_sam_from_ldap: Entry found for user: test
  116. [2018/02/26 16:57:37.700693, 3, pid=2994] ../source3/auth/auth.c:256(auth_check_ntlm_password)
  117. auth_check_ntlm_password: sam authentication for user [test] succeeded
  118. [2018/02/26 16:57:37.700736, 3, pid=2994] ../auth/auth_log.c:760(log_authentication_event_human_readable)
  119. Auth: [SMB2,(null)] user [SAMBA][test] at [Mon, 26 Feb 2018 16:57:37.700721 GMT] with [NTLMv2] status [NT_STATUS_OK] workstation [THINKPAD-X270] remote host [ipv4:192.168.247.72:39014] became [domain.internal][test] [S-1-5-21-2460180081-1733199439-1879006710-1003]. local host [ipv4:192.168.247.71:445]
  120. [2018/02/26 16:57:37.700769, 3, pid=2994] ../auth/auth_log.c:591(log_no_json)
  121. log_no_json: JSON auth logs not available unless compiled with jansson
  122. [2018/02/26 16:57:37.700780, 2, pid=2994] ../source3/auth/auth.c:314(auth_check_ntlm_password)
  123. check_ntlm_password: authentication for user [test] -> [test] -> [test] succeeded
  124. [2018/02/26 16:57:37.700798, 3, pid=2994] ../auth/ntlmssp/ntlmssp_sign.c:509(ntlmssp_sign_reset)
  125. NTLMSSP Sign/Seal - Initialising with flags:
  126. [2018/02/26 16:57:37.700807, 3, pid=2994] ../auth/ntlmssp/ntlmssp_util.c:69(debug_ntlmssp_flags)
  127. Got NTLMSSP neg_flags=0x62088215
  128. [2018/02/26 16:57:37.700829, 3, pid=2994] ../auth/ntlmssp/ntlmssp_sign.c:509(ntlmssp_sign_reset)
  129. NTLMSSP Sign/Seal - Initialising with flags:
  130. [2018/02/26 16:57:37.700837, 3, pid=2994] ../auth/ntlmssp/ntlmssp_util.c:69(debug_ntlmssp_flags)
  131. Got NTLMSSP neg_flags=0x62088215
  132. [2018/02/26 16:57:37.702460, 3, pid=2994] ../source3/smbd/password.c:130(register_homes_share)
  133. Using static (or previously created) service for user 'test'; path = '/media/nas/test_dir'
  134. [2018/02/26 16:57:37.703937, 3, pid=2994] ../lib/util/access.c:365(allow_access)
  135. Allowed connection from 192.168.247.72 (192.168.247.72)
  136. [2018/02/26 16:57:37.703995, 3, pid=2994] ../source3/smbd/service.c:595(make_connection_snum)
  137. Connect path is '/tmp' for service [IPC$]
  138. [2018/02/26 16:57:37.704019, 3, pid=2994] ../source3/smbd/vfs.c:113(vfs_init_default)
  139. Initialising default vfs hooks
  140. [2018/02/26 16:57:37.704039, 3, pid=2994] ../source3/smbd/vfs.c:139(vfs_init_custom)
  141. Initialising custom vfs hooks from [/[Default VFS]/]
  142. [2018/02/26 16:57:37.704093, 3, pid=2994] ../source3/smbd/service.c:841(make_connection_snum)
  143. thinkpad-x270 (ipv4:192.168.247.72:39014) connect to service IPC$ initially as user test (uid=1368400003, gid=1368400003) (pid 2994)
  144. [2018/02/26 16:57:37.704548, 3, pid=2994] ../source3/smbd/msdfs.c:1008(get_referred_path)
  145. get_referred_path: |test| in dfs path samba.domain.internaltest is not a dfs root.
  146. [2018/02/26 16:57:37.704565, 3, pid=2994] ../source3/smbd/smb2_server.c:3139(smbd_smb2_request_error_ex)
  147. smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_NOT_FOUND] || at ../source3/smbd/smb2_ioctl.c:309
  148. [2018/02/26 16:57:37.704836, 3, pid=2994] ../source3/smbd/service.c:1120(close_cnum)
  149. thinkpad-x270 (ipv4:192.168.247.72:39014) closed connection to service IPC$
  150. [2018/02/26 16:57:37.705095, 3, pid=2994] ../lib/util/access.c:365(allow_access)
  151. Allowed connection from 192.168.247.72 (192.168.247.72)
  152. [2018/02/26 16:57:37.705117, 3, pid=2994] ../libcli/security/dom_sid.c:210(dom_sid_parse_endp)
  153. string_to_sid: SID @ipausers is not in a valid format
  154. [2018/02/26 16:57:37.705526, 3, pid=2994] ../source3/smbd/service.c:595(make_connection_snum)
  155. Connect path is '/media/nas/test_dir' for service [test]
  156. [2018/02/26 16:57:37.705633, 3, pid=2994] ../libcli/security/dom_sid.c:210(dom_sid_parse_endp)
  157. string_to_sid: SID @ipausers is not in a valid format
  158. [2018/02/26 16:57:37.705869, 3, pid=2994] ../source3/smbd/vfs.c:113(vfs_init_default)
  159. Initialising default vfs hooks
  160. [2018/02/26 16:57:37.705962, 3, pid=2994] ../source3/smbd/vfs.c:139(vfs_init_custom)
  161. Initialising custom vfs hooks from [/[Default VFS]/]
  162. [2018/02/26 16:57:37.706100, 3, pid=2994] ../libcli/security/dom_sid.c:210(dom_sid_parse_endp)
  163. string_to_sid: SID @ipausers is not in a valid format
  164. [2018/02/26 16:57:37.706386, 0, pid=2994] ../source3/smbd/service.c:774(make_connection_snum)
  165. canonicalize_connect_path failed for service test, path /media/nas/test_dir
  166. [2018/02/26 16:57:37.706955, 3, pid=2994] ../source3/smbd/smb2_server.c:3139(smbd_smb2_request_error_ex)
  167. smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_BAD_NETWORK_NAME] || at ../source3/smbd/smb2_tcon.c:135
  168. [2018/02/26 16:57:37.707412, 3, pid=2994] ../source3/smbd/smb2_server.c:3139(smbd_smb2_request_error_ex)
  169. smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_NETWORK_NAME_DELETED] || at ../source3/smbd/smb2_server.c:2491
  170. [2018/02/26 16:57:37.707871, 3, pid=2994] ../source3/smbd/server_exit.c:244(exit_server_common)
  171. Server exit (NT_STATUS_END_OF_FILE)
  172. [2018/02/26 16:57:37.712408, 3, pid=2948] ../source3/lib/util_procid.c:54(pid_to_procid)
  173. pid_to_procid: messaging_dgm_get_unique failed: No such file or directory
  174.  
  175. smbd -F
Add Comment
Please, Sign In to add comment