C
C
cat_crash2011-06-13 21:40:49
Samba
cat_crash, 2011-06-13 21:40:49

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

3 answer(s)
G
gaussgs, 2011-06-13
@cat_crash

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

G
gaussgs, 2011-06-13
@gaussgs

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

R
rasa, 2011-06-13
@rasa

~/.gvfs?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question