Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

[myshare]
    path = /export/myshare
    valid users = mydomain\user1 mydomain\user2
    public = no
    writable = yes
    browseable = No
share|improve this question
1  
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
add comment

2 Answers

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
add comment

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 0.0.0.0 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
add comment

Your Answer

 
discard

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.