R: [Samba] problem with directory permission and access from windows
Gianluca Culot
gianlucaculot at dmsware.com
Mon Jul 9 07:36:49 GMT 2007
> -----Messaggio originale-----
> Da: Dale Schroeder [mailto:dale at BriannasSaladDressing.com]
> Inviato: venerdì 6 luglio 2007 18.56
> A: Gianluca Culot; samba at lists.samba.org
> Oggetto: Re: [Samba] problem with directory permission and
> access from windows
>
> Gianluca,
>
> What happens if you use
> valid users = DMSWARE\%S
>
> In my setup I have set posix directory permissions to 740,
> owned by DOMAIN\<username>:DOMAIN\"Domain Users", and set
> valid users as shown above.
>
> Dale
>
> Gianluca Culot wrote:
> > Hello list
> >
> > I've a problem giving exclusive access to home directory to
> the user
> > owning it via Samba 3.0.24
> >
> > I've setup access and user authentication and setup the share as
> > follow
> >
> > [Home]
> > path = /home
> > # valid users = %S
> > valid users = "@DMSWARE\domain users"
> >
> > Each home directory is owned by the AD user
> >
> > Drwx------ 4 gianlucaculot domain users 512 Jul 5 15:47
> > gianlucaculot
> >
> > If I set "valid users= "@DMSWARE\domain users"
> > I can get read only access to Home Directory, BUT NOT to the user
> > directory, Not even my own directory
> >
> > If I set " valid users = %S " I cannot get access to the Home Share.
> >
> > The ONLY way to read (and write) the home directory is to set
> > Drwxr-xr-x 4 gianlucaculot domain users 512 Jul 5 15:47
> > gianlucaculot
> > valid users = "@DMSWARE\domain users"
> >
> > But this is quite odd.....
> >
> > Please can any bodyu give me a hint ....
> > I'd like to give Exclusive access to eah owner to the Home Directory
> >
> >
> > ----------------------------------------------
> > Gianluca Culot
> > DMS Multimedia
> > Via delle Arti e dei Mestieri, 6
> > 20050 Sulbiate (Mi) - Italy
> > Tel: +39 039 5968925
> > Fax: +39 039 3309813
> > <mailto:gianlucaculot at dmsware.com>
> > www.dmsware.com <http://www.dmsware.com/>
> >
>
If I set
valid users = DMSWARE\%S
I cannot get access at all to the share
According to the samba manual %S is the System Machine Account
I tried with %U, User Account (as the users are authenticated on the AD
domain... But nothing changed
More information about the samba
mailing list