Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. net use k: \ip.ip.ip.ipshared password /user:username
  2.  
  3. System Error 53 has occured.
  4. The network path was not found.
  5.  
  6. sudo smbpasswd -a username
  7. sudo net usershare add shared /home/user/shared "Shared Files" username:f
  8.  
  9. sudo smbclient -L ip.ip.ip.ip
  10.  
  11. Load smb config files from /etc/samba/smb.conf
  12. rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
  13. Processing section "[homes]"
  14. Processing section "[printers]"
  15. Processing section "[print$]"
  16. Loaded services file OK.
  17. Server role: ROLE_STANDALONE
  18. [global]
  19. server string = %h server
  20. map to guest = Bad User
  21. obey pam restrictions = Yes
  22. pam password change = Yes
  23. passwd program = /usr/bin/passwd %u
  24. passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
  25. unix password sync = Yes
  26. syslog = 0
  27. log file = /var/log/samba/log.%m
  28. max log size = 1000
  29. dns proxy = No
  30. usershare allow guests = Yes
  31. panic action = /usr/share/samba/panic-action %d
  32. idmap config * : backend = tdb
  33.  
  34. [homes]
  35. comment = Home Directories
  36. valid users = %S
  37. create mask = 0700
  38. directory mask = 0700
  39. browseable = No
  40.  
  41. [printers]
  42. comment = All Printers
  43. path = /var/spool/samba
  44. create mask = 0700
  45. printable = Yes
  46. print ok = Yes
  47. browseable = No
  48.  
  49. [print$]
  50. comment = Printer Drivers
  51. path = /var/lib/samba/printers
  52.  
  53. [shared]
  54. path=/home/username/shared
  55. comment=Shared Files
  56. usershare_acl=V220110897556081username:F,
  57. guest_ok=n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement