Guest User

Untitled

a guest
Oct 19th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. [global]
  2. dos charset = CP437
  3. netbios name = REDACTED
  4. server string = Lab
  5. server role = standalone server
  6. map to guest = Bad User
  7. obey pam restrictions = Yes
  8. smb passwd file = /var/etc/private/smbpasswd
  9. private dir = /var/etc/private
  10. max log size = 51200
  11. server min protocol = SMB2
  12. time server = Yes
  13. deadtime = 15
  14. max open files = 11070
  15. hostname lookups = Yes
  16. load printers = No
  17. printcap name = /dev/null
  18. disable spoolss = Yes
  19. dns proxy = No
  20. pid directory = /var/run/samba
  21. panic action = /usr/local/libexec/samba/samba-backtrace
  22. idmap config * : backend = tdb
  23. acl allow execute always = Yes
  24. create mask = 0666
  25. directory mask = 0777
  26. directory name cache size = 0
  27. kernel change notify = No
  28. map archive = No
  29. map readonly = no
  30. store dos attributes = Yes
  31. strict locking = No
  32.  
  33. [common]
  34. comment = Lab Common share
  35. path = /mnt/pool/common
  36. read only = No
  37. inherit acls = Yes
  38. hosts allow = XXX.XXX.XX.X/24, XXX.XX.XX.X/24 <-- redacted
  39. hide dot files = No
  40. veto files = /.snap/.windows/.zfs/
  41. vfs objects = zfsacl, streams_xattr, aio_pthread
  42. zfsacl:acesort = dontcare
  43. nfs4:chown = yes
  44. nfs4:acedup = merge
  45. nfs4:mode = special
  46. recycle:subdir_mode = 0700
  47. recycle:directory_mode = 0777
  48. recycle:touch = yes
  49. recycle:versions = yes
  50. recycle:keeptree = yes
  51. recycle:repository = .recycle/%U
  52.  
  53. [as@localhost ~]$ sudo mount -t cifs -o username=removed,password=removed //server.ip.address/common /media/windowsshare/
  54. mount error(95): Operation not supported
  55.  
  56. [237179.795551] fs/cifs/cifsfs.c: Devname: //132.239.27.172/common flags: 0
  57. [237179.795563] fs/cifs/connect.c: Username: lauria
  58. [237179.795565] fs/cifs/connect.c: file mode: 0x1ed dir mode: 0x1ed
  59. [237179.795600] fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 44 with uid: 0
  60. [237179.795600] fs/cifs/connect.c: UNC: \132.239.27.172common
  61. [237179.795605] fs/cifs/connect.c: Socket created
  62. [237179.795606] fs/cifs/connect.c: sndbuf 16384 rcvbuf 87380 rcvtimeo 0x1b58
  63. [237179.795897] fs/cifs/fscache.c: cifs_fscache_get_client_cookie: (0xffff8803e0aa4800/0xffff880035d25580)
  64. [237179.795898] fs/cifs/connect.c: Demultiplex PID: 25817
  65. [237179.795902] fs/cifs/connect.c: CIFS VFS: in cifs_get_smb_ses as Xid: 45 with uid: 0
  66. [237179.795903] fs/cifs/connect.c: Existing smb sess not found
  67. [237179.795907] fs/cifs/cifssmb.c: Requesting extended security.
  68. [237179.795910] fs/cifs/transport.c: For smb_command 114
  69. [237179.795912] fs/cifs/transport.c: Sending smb: smb_len=78
  70. [237179.801062] fs/cifs/connect.c: RFC1002 header 0x25
  71. [237179.801067] fs/cifs/misc.c: checkSMB Length: 0x29, smb_buf_length: 0x25
  72. [237179.801090] fs/cifs/transport.c: cifs_sync_mid_result: cmd=114 mid=1 state=4
  73. [237179.801093] fs/cifs/cifssmb.c: Dialect: 65535
  74. [237179.801094] fs/cifs/cifssmb.c: negprot rc -95
  75. [237179.801097] fs/cifs/connect.c: CIFS VFS: leaving cifs_get_smb_ses (xid = 45) rc = -95
  76. [237179.801100] fs/cifs/fscache.c: cifs_fscache_release_client_cookie: (0xffff8803e0aa4800/0xffff880035d25580)
  77. [237179.801262] fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 44) rc = -95
  78. [237179.801263] CIFS VFS: cifs_mount failed w/return code = -95
  79.  
  80. smbclient //132.239.27.172/common -U username%password
  81. protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE
  82.  
  83. mount -t cifs "//192.168.92.25/shared" -o username=administrator,password=<your_password>,domain=<YOUR DOMAIN IN CAPS>,vers=3.0 /root/tmp
  84.  
  85. mount -t cifs
  86. -o username=USERNAME,vers=3.0
  87. //server/share
  88. /mnt/point
  89.  
  90. smblcient -L server -U username -m SMB2
Add Comment
Please, Sign In to add comment