Does anyone know the file in which the entries for the samba shares are stored? For instance the drives or folders I am sharing.
3 Answers
If not defined in /etc/samba/smb.conf
try folder /var/lib/samba/usershares/
and you will find files for each share you setup via GUI. (Ubuntu 17.10)
If you insist, you can edit /etc/samba/smb.conf
I recommend that you make a backup copy or use gedit
which will make one (and only one) for you.
Further information regarding this file can be found here.
-
-
But seriously.. where is the information for a shared location stored? smb.conf doesn't list my shares.– JoshApr 7, 2017 at 3:09
-
I'm quite certain we can help you provided you respond to the requests to edit your post with the information requested. For instance this request Apr 7, 2017 at 17:04
smbstatus --shares
lsb_release -a
the content of/etc/samba/smb.conf
and the output ofll /var/lib/samba/usershares/..
as at this point it's unclear what you are asking. Please also review askubuntu.com/help/how-to-ask for future reference. Thank you for helping us help you!