Answer the question
In order to leave comments, you need to log in
Ubuntu 10.04 and smb.conf (Share setup via console)
I am a fairly advanced *nix user, but setting up one of the servers honestly put me in a complete stupor.
So what we have:
Ubuntu 10.04 server with folders shared via Samba. According to the previous admin, he rummaged through folders using the GUI without bothering: Right click on the folder - Share ... and here it is happiness.
This method is good for everyone except:
- It is impossible to remove the balls. When you right-click on the shared folder, it offers to share it again :(
- No information is added to /etc/samba.conf (!!!)
Now the question is:
- Where can records about shared folders be stored, if not samba.conf ?? ?Includes are also all commented out, as there are no traces on other files
I've ripped through the entire server but can't find any information. Google - also zero. Perhaps someone has already stepped on such a rake?
Alternatively, how can I get samba to report all loaded .conf files?
Answer the question
In order to leave comments, you need to log in
This mechanism is called UserShares, you can read more about it in man smb.conf
All user share settings are stored in /var/lib/samba/usershares
In addition, you can manage these shares from the console using the net usershare command.
Examples:
net usershare add sharename /path/to/share
net usershare delete sharename
net usershare list
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question