Advertisement
Guest User

Untitled

a guest
Sep 4th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. //192.168.0.2/media/TerraBreiter /media/TerraBreiter cifs username=felix,password=password 0 0
  2.  
  3. [TerraBreiter]
  4. path = /media/TerraBreiter
  5. valid users = felix
  6. read only = no
  7.  
  8. mount -a
  9. Retrying with upper case share name
  10. mount error(6): No such device or address
  11. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
  12.  
  13.  
  14. smbclient '\192.168.0.2mediaTerraBreiter' -U felix
  15. Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.5.8-Debian]
  16. tree connect failed: NT_STATUS_BAD_NETWORK_NAME
  17.  
  18. [2017/09/04 17:25:12.799794, 0]
  19. ../source3/param/loadparm.c:3244(process_usershare_file)
  20. process_usershare_file: stat of /var/lib/samba/usershares/media failed.
  21. Permission denied
  22. [2017/09/04 17:25:12.800752, 0]
  23. ../source3/param/loadparm.c:3225(process_usershare_file)
  24. process_usershare_file: share name media/terrabreiter contains invalid
  25. characters (any of %<>*?|/+=;:
  26.  
  27. root@felixlaptop:~# smbclient -U felix -L 192.168.0.2
  28. WARNING: The "syslog" option is deprecated
  29. Enter felix's password:
  30. Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.5.8-Debian]
  31.  
  32. Sharename Type Comment
  33. --------- ---- -------
  34. TerraBreiter Disk
  35. Stuff Disk
  36. Upload Disk
  37. Musik Disk
  38. Filme und Serien Disk
  39. Videos Disk
  40. Zeug Disk
  41. Dokus Disk
  42. IPC$ IPC IPC Service (Samba 4.5.8-Debian)
  43. felix Disk Home Directories
  44. Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.5.8-Debian]
  45.  
  46. Server Comment
  47. --------- -------
  48.  
  49. NAS Samba 4.5.8-Debian
  50.  
  51. Workgroup Master
  52. --------- -------
  53. WORKGROUP NAS
  54.  
  55. root@nas:~# pdbedit -L -v
  56. ---------------
  57. Unix username: felix
  58. NT username:
  59. Account Flags: [U ]
  60. User SID: S-1-5-21-215949273-1893126470-3788067552-1001
  61. Primary Group SID: S-1-5-21-215949273-1893126470-3788067552-513
  62. Full Name: felix
  63. Home Directory: \nasfelix
  64. HomeDir Drive:
  65. Logon Script:
  66. Profile Path: \nasfelixprofile
  67. Domain: NAS
  68. Account desc:
  69. Workstations:
  70. Munged dial:
  71. Logon time: 0
  72. Logoff time: Mi, 06 Feb 2036 16:06:39 CET
  73. Kickoff time: Mi, 06 Feb 2036 16:06:39 CET
  74. Password last set: Mo, 06 Mär 2017 02:17:53 CET
  75. Password can change: Mo, 06 Mär 2017 02:17:53 CET
  76. Password must change: never
  77. Last bad password : 0
  78. Bad password count : 0
  79. Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
  80.  
  81. root@nas:~# namei -l /media/TerraBreiter
  82. f: /media/TerraBreiter
  83. drwxr-xr-x root root /
  84. drwxr-xr-x root root media
  85. drwxr-xr-x felix root TerraBreiter
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement