[Samba] configuring Shares, Users with Samba 4.0.5 as an AD DC

wong lmark lmark1834 at gmail.com
Sat May 18 08:53:01 MDT 2013


Hi Steve,

I used "rpm -qa | grep winbind"
I saw that tools are installed in my environment.

   - samba-winbind-clients-3.6.9-151.el6.x86_64
   - samba-winbind-3.6.9-151.el6.x86_64

Is it I need to install more?




2013/5/18 steve <steve at steve-ss.com>

> On Sat, 2013-05-18 at 16:31 +0200, steve wrote:
> > On Sat, 2013-05-18 at 12:51 +0200, Ulrich Schneider wrote:
> > > Maybe I should rephrase the question (and use a more suitable topic)
> > >
> > > I have Samba 4.0.5. as an active domain controller.
> > > I want to know how to set up shares e.g. this way:
> > >
> > > share1      accessible r/w for users in the active directory user
> group group1
> >
> > You can choose cryptic stuff in smb.conf or go with a 2 liner smb.conf
> > and use the equally cryptic acl method. The latter is quicker:
> >
> > [share1]
> > path = /path/to/share1
> >
> > setfacl -d -Rm g:group1:rw /path/to/share2
> >
> > I think that's what smb.conf does anyway but don't quote me.
> >
> > I'm sure that it can't be as simple as that but it works perfectly
> > without having to know anything about smb.conf
> > hth
> > Steve
> >
>
> Oh, forgot to say, you need winbind or sssd running on the DC to map AD
> users to uid/gid.
> Sorry.
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list