Guest User

Untitled

a guest
Sep 13th, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.86 KB | None | 0 0
  1. $ testparm
  2. Load smb config files from /etc/samba/smb.conf
  3. rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
  4. Processing section "[backup-xxtest]"
  5. Processing section "[testshare]"
  6. Loaded services file OK.
  7. WARNING: You have some share names that are longer than 12 characters.
  8. These may not be accessible to some older clients.
  9. (Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
  10. Server role: ROLE_STANDALONE
  11.  
  12. Press enter to see a dump of your service definitions
  13.  
  14. # Global parameters
  15. [global]
  16. dos charset = CP932
  17. map to guest = Bad User
  18. netbios name = %H
  19. printcap name = cups
  20. security = USER
  21. idmap config * : backend = tdb
  22. cups options = raw
  23. include = /etc/samba/backup-shares.conf
  24. invalid users = root
  25.  
  26.  
  27. [backup-xxtest]
  28. browseable = No
  29. force group = nobody
  30. force user = backup-xxtest
  31. hosts allow = 192.168.
  32. path = /data/shares/backup-xxtest
  33. read only = No
  34. valid users = backup-xxtest
  35.  
  36.  
  37. [testshare]
  38. browseable = No
  39. force group = nobody
  40. force user = testshare
  41. hosts allow = 192.168.
  42. path = /testsharefolder
  43. read only = No
  44. valid users = testshare
  45.  
  46. [2018/09/13 16:14:44.006261, 3] ../lib/util/access.c:365(allow_access)
  47. Allowed connection from 192.168.1.33 (192.168.1.33)
  48. [2018/09/13 16:14:44.006439, 3] ../source3/smbd/oplock.c:1340(init_oplocks)
  49. init_oplocks: initializing messages.
  50. [2018/09/13 16:14:44.006653, 3] ../source3/smbd/process.c:1958(process_smb)
  51. Transaction 0 of length 73 (0 toread)
  52. [2018/09/13 16:14:44.006692, 3] ../source3/smbd/process.c:1538(switch_message)
  53. switch message SMBnegprot (pid 28699) conn 0x0
  54. [2018/09/13 16:14:44.008202, 3] ../source3/smbd/negprot.c:628(reply_negprot)
  55. Requested protocol [NT LM 0.12]
  56. [2018/09/13 16:14:44.008298, 3] ../source3/smbd/negprot.c:628(reply_negprot)
  57. Requested protocol [SMB 2.002]
  58. [2018/09/13 16:14:44.008314, 3] ../source3/smbd/negprot.c:628(reply_negprot)
  59. Requested protocol [SMB 2.???]
  60. [2018/09/13 16:14:44.008551, 3] ../source3/smbd/smb2_negprot.c:294(smbd_smb2_request_process_negprot)
  61. Selected protocol SMB2_FF
  62. [2018/09/13 16:14:44.010084, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
  63. GENSEC backend 'gssapi_spnego' registered
  64. [2018/09/13 16:14:44.010185, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
  65. GENSEC backend 'gssapi_krb5' registered
  66. [2018/09/13 16:14:44.010228, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
  67. GENSEC backend 'gssapi_krb5_sasl' registered
  68. [2018/09/13 16:14:44.010249, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
  69. GENSEC backend 'spnego' registered
  70. [2018/09/13 16:14:44.010367, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
  71. GENSEC backend 'schannel' registered
  72. [2018/09/13 16:14:44.010442, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
  73. GENSEC backend 'naclrpc_as_system' registered
  74. [2018/09/13 16:14:44.010543, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
  75. GENSEC backend 'sasl-EXTERNAL' registered
  76. [2018/09/13 16:14:44.010607, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
  77. GENSEC backend 'ntlmssp' registered
  78. [2018/09/13 16:14:44.010632, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
  79. GENSEC backend 'ntlmssp_resume_ccache' registered
  80. [2018/09/13 16:14:44.010676, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
  81. GENSEC backend 'http_basic' registered
  82. [2018/09/13 16:14:44.010694, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
  83. GENSEC backend 'http_ntlm' registered
  84. [2018/09/13 16:14:44.010773, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
  85. GENSEC backend 'http_negotiate' registered
  86. [2018/09/13 16:14:44.011012, 3] ../source3/smbd/negprot.c:761(reply_negprot)
  87. Selected protocol SMB 2.???
  88. [2018/09/13 16:14:44.027643, 3] ../source3/smbd/smb2_negprot.c:294(smbd_smb2_request_process_negprot)
  89. Selected protocol SMB3_11
  90. [2018/09/13 16:14:44.047169, 3] ../auth/ntlmssp/ntlmssp_util.c:72(debug_ntlmssp_flags)
  91. Got NTLMSSP neg_flags=0xe2088297
  92. [2018/09/13 16:14:44.064942, 3] ../auth/ntlmssp/ntlmssp_server.c:552(ntlmssp_server_preauth)
  93. Got user=[testshare] domain=[SOFTEST] workstation=[SOFTEST] len1=24 len2=272
  94. [2018/09/13 16:14:44.065094, 3] ../source3/param/loadparm.c:3868(lp_load_ex)
  95. lp_load_ex: refreshing parameters
  96. [2018/09/13 16:14:44.065655, 3] ../source3/param/loadparm.c:547(init_globals)
  97. Initialising global parameters
  98. [2018/09/13 16:14:44.065891, 3] ../source3/param/loadparm.c:2782(lp_do_section)
  99. Processing section "[global]"
  100. [2018/09/13 16:14:44.066191, 2] ../source3/param/loadparm.c:2799(lp_do_section)
  101. Processing section "[backup-xxtest]"
  102. [2018/09/13 16:14:44.066318, 2] ../source3/param/loadparm.c:2799(lp_do_section)
  103. Processing section "[testshare]"
  104. [2018/09/13 16:14:44.066506, 3] ../source3/param/loadparm.c:1617(lp_add_ipc)
  105. adding IPC service
  106. [2018/09/13 16:14:44.066563, 3] ../source3/auth/auth.c:189(auth_check_ntlm_password)
  107. check_ntlm_password: Checking password for unmapped user [SOFTEST][testshare]@[SOFTEST] with the new password interface
  108. [2018/09/13 16:14:44.066598, 3] ../source3/auth/auth.c:192(auth_check_ntlm_password)
  109. check_ntlm_password: mapped user is: [SOFTEST][testshare]@[SOFTEST]
  110. [2018/09/13 16:14:44.067065, 3] ../source3/passdb/lookup_sid.c:1680(get_primary_group_sid)
  111. Forcing Primary Group to 'Domain Users' for testshare
  112. [2018/09/13 16:14:44.067691, 3] ../source3/auth/auth.c:256(auth_check_ntlm_password)
  113. auth_check_ntlm_password: sam_ignoredomain authentication for user [testshare] succeeded
  114. [2018/09/13 16:14:44.067845, 3] ../auth/auth_log.c:760(log_authentication_event_human_readable)
  115. Auth: [SMB2,(null)] user [SOFTEST][testshare] at [Thu, 13 Sep 2018 16:14:44.067803 CEST] with [NTLMv2] status [NT_STATUS_OK] workstation [SOFTEST] remote host [ipv4:192.168.1.33:50402] became [%H][testshare] [S-1-5-21-1905452280-1026798836-4002012150-1001]. local host [ipv4:10.1.1.96:445]
  116. [2018/09/13 16:14:44.067906, 3] ../auth/auth_log.c:591(log_no_json)
  117. log_no_json: JSON auth logs not available unless compiled with jansson
  118. [2018/09/13 16:14:44.067960, 2] ../source3/auth/auth.c:314(auth_check_ntlm_password)
  119. check_ntlm_password: authentication for user [testshare] -> [testshare] -> [testshare] succeeded
  120. [2018/09/13 16:14:44.068397, 3] ../source3/auth/token_util.c:681(finalize_local_nt_token)
  121. Failed to fetch domain sid for WORKGROUP
  122. [2018/09/13 16:14:44.069210, 3] ../auth/ntlmssp/ntlmssp_sign.c:512(ntlmssp_sign_reset)
  123. NTLMSSP Sign/Seal - Initialising with flags:
  124. [2018/09/13 16:14:44.069247, 3] ../auth/ntlmssp/ntlmssp_util.c:72(debug_ntlmssp_flags)
  125. Got NTLMSSP neg_flags=0xe2088215
  126. [2018/09/13 16:14:44.069386, 3] ../auth/ntlmssp/ntlmssp_sign.c:512(ntlmssp_sign_reset)
  127. NTLMSSP Sign/Seal - Initialising with flags:
  128. [2018/09/13 16:14:44.069414, 3] ../auth/ntlmssp/ntlmssp_util.c:72(debug_ntlmssp_flags)
  129. Got NTLMSSP neg_flags=0xe2088215
  130. [2018/09/13 16:14:44.069902, 3] ../source3/auth/token_util.c:681(finalize_local_nt_token)
  131. Failed to fetch domain sid for WORKGROUP
  132. [2018/09/13 16:14:44.070688, 3] ../source3/smbd/password.c:130(register_homes_share)
  133. Using static (or previously created) service for user 'testshare'; path = '/testsharefolder'
  134. [2018/09/13 16:14:44.088226, 3] ../lib/util/access.c:365(allow_access)
  135. Allowed connection from 192.168.1.33 (192.168.1.33)
  136. [2018/09/13 16:14:44.088302, 3] ../libcli/security/dom_sid.c:210(dom_sid_parse_endp)
  137. string_to_sid: SID root is not in a valid format
  138. [2018/09/13 16:14:44.088619, 3] ../source3/smbd/service.c:595(make_connection_snum)
  139. Connect path is '/tmp' for service [IPC$]
  140. [2018/09/13 16:14:44.088658, 3] ../libcli/security/dom_sid.c:210(dom_sid_parse_endp)
  141. string_to_sid: SID root is not in a valid format
  142. [2018/09/13 16:14:44.088755, 3] ../source3/smbd/vfs.c:113(vfs_init_default)
  143. Initialising default vfs hooks
  144. [2018/09/13 16:14:44.088783, 3] ../source3/smbd/vfs.c:139(vfs_init_custom)
  145. Initialising custom vfs hooks from [/[Default VFS]/]
  146. [2018/09/13 16:14:44.088837, 3] ../libcli/security/dom_sid.c:210(dom_sid_parse_endp)
  147. string_to_sid: SID root is not in a valid format
  148. [2018/09/13 16:14:44.089041, 3] ../source3/smbd/service.c:841(make_connection_snum)
  149. softest (ipv4:192.168.1.33:50402) connect to service IPC$ initially as user testshare (uid=1000000002, gid=1001) (pid 28699)
  150. [2018/09/13 16:14:44.105934, 3] ../source3/smbd/msdfs.c:1008(get_referred_path)
  151. get_referred_path: |testshare| in dfs path 192.168.1.20testshare is not a dfs root.
  152. [2018/09/13 16:14:44.106046, 3] ../source3/smbd/smb2_server.c:3171(smbd_smb2_request_error_ex)
  153. smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_NOT_FOUND] || at ../source3/smbd/smb2_ioctl.c:312
  154. [2018/09/13 16:14:44.124622, 0] ../lib/util/access.c:365(allow_access)
  155. Denied connection from 192.168.1.33 (192.168.1.33)
  156. [2018/09/13 16:14:44.124793, 3] ../source3/smbd/smb2_server.c:3171(smbd_smb2_request_error_ex)
  157. smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_ACCESS_DENIED] || at ../source3/smbd/smb2_tcon.c:138
  158. [2018/09/13 16:14:54.771887, 3] ../source3/smbd/service.c:1120(close_cnum)
  159. softest (ipv4:192.168.1.33:50402) closed connection to service IPC$
  160. [2018/09/13 16:14:54.806010, 3] ../source3/smbd/server_exit.c:236(exit_server_common)
  161. Server exit (NT_STATUS_CONNECTION_RESET)
  162.  
  163. $ ls -ld /testsharefolder/
  164. drwxr-xr-x 2 testshare nobody 6 Sep 13 13:51 /testsharefolder/
Add Comment
Please, Sign In to add comment