ASKER
cat smb.conf |grep -v -e global -e logon -e homes | grep -e '\[' -e 'path' >~/out.txt
Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.
TRUSTED BY
[11:28:02][s1gny@opteron.l
[/home/s1gny]$ smbclient -L localhost
Enter s1gny's password:
Domain=[SUPERNET] OS=[Unix] Server=[Samba 4.1.1]
Sharename Type Comment
--------- ---- -------
camera-archiv Disk
scan Disk
tmp Disk
raid5 Disk
daten Disk
root directory Disk
iX-6850 Printer Samsung CLX-6220 Series (samsung)
Stylus-Photo-R320 Printer EPSON Stylus Photo R320
clx6220 Printer clx6220
IPC$ IPC IPC Service (Opteron (4.1.1))
s1gny Disk Home Directories
Domain=[SUPERNET] OS=[Unix] Server=[Samba 4.1.1]
Server Comment
--------- -------
Workgroup Master
--------- -------