Thanks, Steve.

It turned out all i needed to do was add an adduser script to the global
section, that creates the users after checking with the PDC (haven't tried
the `worst case' - logging in with a user not added to the domain) anyway,
it works (for now).

Thanks anyway.

Best regards,
-brian

-----Urspr�ngliche Nachricht-----
Von: Steven Elling [mailto:[EMAIL PROTECTED] 
Gesendet: 16 September 2003 03:32
An: [EMAIL PROTECTED]
Betreff: Re: [gentoo-user] Samba & NT Domain

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

--
[EMAIL PROTECTED] mailing list

Reply via email to