Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a reference for what goes under the share name... I feel like there are about 6 dozen different options but I can't find a good reference anywhere... someone help me out?

    path = /export/myshare
    valid users = mydomain\user1 mydomain\user2
    public = no
    writable = yes
    browseable = No
share|improve this question
Almost all options but a few can be placed under a share name. The global section is for setting defaults for all shares. There is official documentation and a complete reference in the manual pages. It would be more appropriate to ask how to solve a specific problem. – forcefsck May 13 '11 at 18:32

The smb.conf(5) man page covers this. It lists all the parameters and says

The letter G in parentheses indicates that a parameter is specific to the [global] section. The letter S indicates that a parameter can be specified in a service specific section. All S parameters can also be specified in the [global] section - in which case they will define the default behavior for all services.

share|improve this answer

Have you seen SWAT?

It is started from xinetd. Have a look for something like /etc/xinetd.d/swat and set disabled = no, then restart xinetd. This does assume that you have xinetd installed and SWAT is included with your Samba. Also you may want to change the only from line to for remote access. Disable it again after use ...

You should be able to point your browser at http://localhost:901 and then login. You may want to run #smbpasswd -a root to add an account that can can edit smb.conf.

The docs are all linked into SWAT including an HTML version of the man page.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.