Guest User

Untitled

a guest
Oct 11th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. lz@air:/media$ smbclient -L //192.168.0.3
  2. WARNING: The "syslog" option is deprecated
  3. Enter WORKGROUPlz's password:
  4. OS=[Windows 6.1] Server=[Samba 4.5.12-Debian]
  5.  
  6. Sharename Type Comment
  7. --------- ---- -------
  8. Public Disk
  9. IPC$ IPC IPC Service (Samba 4.5.12-Debian)
  10. Connection to 192.168.0.3 failed (Error NT_STATUS_CONNECTION_REFUSED)
  11. NetBIOS over TCP disabled -- no workgroup available
  12.  
  13. pi@raspberrypi:~ $ smbclient -L localhost
  14. WARNING: The "syslog" option is deprecated
  15. Enter pi's password:
  16. Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.5.12-Debian]
  17.  
  18. Sharename Type Comment
  19. --------- ---- -------
  20. Public Disk
  21. IPC$ IPC IPC Service (Samba 4.5.12-Debian)
  22. Connection to localhost failed (Error NT_STATUS_CONNECTION_DISCONNECTED)
  23. NetBIOS over TCP disabled -- no workgroup available
  24.  
  25. RUN echo '[global]n
  26. socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536n
  27. smb ports = 445n
  28. max protocol = SMB2n
  29. min receivefile size = 16384n
  30. deadtime = 30n
  31. os level = 20n
  32. map to guest = bad usern
  33. printer = bsdn
  34. printcap name = /dev/nulln
  35. load printers = non
  36. create mask = 0644n
  37. force create mode = 0644n
  38. directory mask = 0755n
  39. force directory mode = 0755n
  40. browsable = yesn
  41. writable = yesn
  42. guest account = rootn
  43. force user = rootn
  44. force group = rootn
  45. [Public]n
  46. path = /data/sharen
  47. guest ok = yesn
  48. read only = no' > /etc/samba/smb.conf
Add Comment
Please, Sign In to add comment