[Samba] Denying access to a same document by different users ?

Florent Gilain fgilain at directmedica.com
Fri Jun 7 06:49:03 GMT 2002

Hi all,

On our development plateform, we need to deny access at the same time for
modification to a document to more than 1 user...

I have tryied the "strict loking" parameter, but nothing happens...

We are using ultraedit or textpad text editors to open theses documents over
the lan...

Has anyone a solution to prevent a document shared in a Samba share, to be
modifyed by more than 1 user at the same time ?
Being open in read only mode would be good...

Ps : here is an extract of my smb.conf file :

# Samba config file created using SWAT
# from (
# Date: 2002/04/11 11:08:14

# Global parameters
	workgroup = MYWORKGROUP
	netbios name = dm-e250-02
	server string = Samba on dm-e250-02
	security = SHARE
	encrypt passwords = Yes
	update encrypted = Yes
	min passwd length = 3
	log file = /usr/local/samba/var/log.%m
	max log size = 50
	character set = ISO8859-1
	hosts allow = 192.168.1.
	case sensitive = Yes
	hide dot files = No
	strict locking = Yes

	comment = Perso Florent
	path = /usr/local/samba/shares/protected/fgilain
	username = fgilain
	valid users = fgilain
	force user = fgilain
	read only = No
	only user = Yes

	comment = Espace pour fichiers temporaires
	path = /tmp
	read only = No
	guest ok = Yes

thank you and sorry for my English..

Florent GILAIN from FRANCE.

More information about the samba mailing list