[Samba] Re: Minimal Samba

John H Terpstra jht at Samba.Org
Tue Apr 26 14:31:23 GMT 2005


On Tuesday 26 April 2005 03:05, Graham Bentley wrote:
> Alex,
>
> I suspect you wont get far on this list with this
> type of question.
>
> Just reading the docs would have told you the answer
> to this ;
>pile
> http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#i
>d2463782
>
> What I wanted was a mix of share and user level
> security but I dont think thats possible.

It is possible.

Master smb.conf file:

[global]
	workgroup = FORTKNOX
	security = user
	netbios name = ARMEDGUARD
	netbios aliases = BANDIT
	include = /etc/samba/smb.conf.%L

[homes]
	read only = No




Now for the 'bandit' smb.conf:

[global]
	workgroup = FORTKNOX
	security = share
	netbios name = BANDIT
	guest ok = Yes

[cashpool]
	path = /money
	read only = yes
	guest only = yes



- John T.



-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.


More information about the samba mailing list