On Monday 15 September 2003 06:15, Brian Reichholf wrote:
> Actually, let me rephrase that:
>
> Logon works quite fine, but what do I use for `valid users'?
> %U is a bit harsh, also that didn't turn out to work (so far)
>
> trying to share /tmp as an attempt to get general shares working I
> entered these values in the smb.conf:
>
> [tmp]
> comment = TMP Directory
> path = /tmp
> browseable = Yes
> read only = No
> create mask = 0664
> directory mask = 0775
> valid users = %U
>
> no, it didn't work
> yes, %U was a bad idea, but what else is `good' for domain users then???
>
> Tia,
> Cheers,
> -Brian
My Samba server is the PDC so it is a little different but other than that
it should operate the same as yours.
I use the following:
[temp]
path = /usr/local/share/data/temp
public = yes
writable = no
printable = no
write list = @smbusers
smbusers is a group in /etc/groups and I have all the WIndows users in this
group. AFAIK this is the only way you can limit writing to the temp
directory to a group of users. Also, last time I checked the users had to
exists in the local password file /etc/passwd.
--
[EMAIL PROTECTED] mailing list