Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //192.168.0.2/media/TerraBreiter /media/TerraBreiter cifs username=felix,password=password 0 0
- [TerraBreiter]
- path = /media/TerraBreiter
- valid users = felix
- read only = no
- mount -a
- Retrying with upper case share name
- mount error(6): No such device or address
- Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
- smbclient '\192.168.0.2mediaTerraBreiter' -U felix
- Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.5.8-Debian]
- tree connect failed: NT_STATUS_BAD_NETWORK_NAME
- [2017/09/04 17:25:12.799794, 0]
- ../source3/param/loadparm.c:3244(process_usershare_file)
- process_usershare_file: stat of /var/lib/samba/usershares/media failed.
- Permission denied
- [2017/09/04 17:25:12.800752, 0]
- ../source3/param/loadparm.c:3225(process_usershare_file)
- process_usershare_file: share name media/terrabreiter contains invalid
- characters (any of %<>*?|/+=;:
- root@felixlaptop:~# smbclient -U felix -L 192.168.0.2
- WARNING: The "syslog" option is deprecated
- Enter felix's password:
- Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.5.8-Debian]
- Sharename Type Comment
- --------- ---- -------
- TerraBreiter Disk
- Stuff Disk
- Upload Disk
- Musik Disk
- Filme und Serien Disk
- Videos Disk
- Zeug Disk
- Dokus Disk
- IPC$ IPC IPC Service (Samba 4.5.8-Debian)
- felix Disk Home Directories
- Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.5.8-Debian]
- Server Comment
- --------- -------
- NAS Samba 4.5.8-Debian
- Workgroup Master
- --------- -------
- WORKGROUP NAS
- root@nas:~# pdbedit -L -v
- ---------------
- Unix username: felix
- NT username:
- Account Flags: [U ]
- User SID: S-1-5-21-215949273-1893126470-3788067552-1001
- Primary Group SID: S-1-5-21-215949273-1893126470-3788067552-513
- Full Name: felix
- Home Directory: \nasfelix
- HomeDir Drive:
- Logon Script:
- Profile Path: \nasfelixprofile
- Domain: NAS
- Account desc:
- Workstations:
- Munged dial:
- Logon time: 0
- Logoff time: Mi, 06 Feb 2036 16:06:39 CET
- Kickoff time: Mi, 06 Feb 2036 16:06:39 CET
- Password last set: Mo, 06 Mär 2017 02:17:53 CET
- Password can change: Mo, 06 Mär 2017 02:17:53 CET
- Password must change: never
- Last bad password : 0
- Bad password count : 0
- Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
- root@nas:~# namei -l /media/TerraBreiter
- f: /media/TerraBreiter
- drwxr-xr-x root root /
- drwxr-xr-x root root media
- drwxr-xr-x felix root TerraBreiter
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement