How to set permissions correctly ?

Stephan Lauffer lauffer at
Tue Jun 20 09:53:06 GMT 2000

Hi Matthias!

Have a look at 
username = usera, userb (...)
force user = unix_user
force group  = unix_group

With the combination of this parameters you should be able to to a lot of nice 

Example with a webserver:

        comment = WWW-Root
        path = /usr/local/httpd/htdocs
	only user = Yes
        browsable = No
	# windows-users: 
	username = duffner, nagel, lauffer
	# unix user:
	force user = wwwrun
	force group = nogroup
        comment = WWW-Service
        path = /usr/local/httpd/htdocs/service
	only user = Yes
        browsable = No
	# windows-users: 
	username = lauffer, walz
	# unix user
	force user = wwwservice
	force group = nogroup

Remember, it´s just an example!
if you dont have local accounts for windows users, you´re able to
check the accounts with another PDC:

	# our pdc
	password server = wwwpdc

But you can do several other things... just have a look to the man pages
from force... username... username map... valid users... and invalid users...

"Using Samba", one of the many book around samba, is online availabe!
Have a look at:
Chapter 6 is what you need! ;-)

Liebe Gruesse,
Stephan Lauffer

[ Paedagogische Hochschule Freiburg - Systemtechnik - Germany    ]
[ Abteilung ZIK: <a href="">WWW</a> ]
[ Tel.: 0761 - 682 459                    Mobil: 0172 - 7145 197 ]

More information about the samba-ntdom mailing list