I read everything I could get my hands on. Windows domain user authenticates into linux. RHEL4.6 looks at the AD for authentication and allows them to see the samba shared folders. Using winbind and samba. Now that it is functioning and I can set a samba shared folder , HOW do I make that folder so that only the members in a certain group can see the folder. Seems everyone can see it, but only the group members have access to it the way I have it setup now. [ADMINS] comment = Testing Auth public = no writeable = yes path = /SHAREDDRIVE/ADMINFOLDER force group = DOMAIN/admin I don't want anyone to see the samba share folder but the group members. Am I just in the wrong location on where I should set the view on the folder. Also if I change the smb.conf file and restart the smb I have to restart the windows box before it can see new shared files/folders is there anyway around that issue. I would like the shares to be more dynamic and on the fly changeable.
On Tue, Mar 18, 2008 at 12:28 PM, Richard Buskirk <rbuskirk@planettele.com> wrote:> I read everything I could get my hands on. > > > > Windows domain user authenticates into linux. > > RHEL4.6 looks at the AD for authentication and allows them to see the > samba shared folders. > > Using winbind and samba. > > > > Now that it is functioning and I can set a samba shared folder , HOW do > I make that folder so that only the members in a certain group can see > the folder. > > Seems everyone can see it, but only the group members have access to it > the way I have it setup now. > > > > [ADMINS] > > comment = Testing Auth > > public = no > > writeable = yes > > path = /SHAREDDRIVE/ADMINFOLDER > > force group = DOMAIN/admin > >Have you tried hide unreadable = yes John
set the group perms in linux so only that group has files to it. samba obeys unix file permissions. try chmod 660 on the directory? Richard Buskirk wrote:> I read everything I could get my hands on. > > > > Windows domain user authenticates into linux. > > RHEL4.6 looks at the AD for authentication and allows them to see the > samba shared folders. > > Using winbind and samba. > > > > Now that it is functioning and I can set a samba shared folder , HOW do > I make that folder so that only the members in a certain group can see > the folder. > > Seems everyone can see it, but only the group members have access to it > the way I have it setup now. > > > > [ADMINS] > > comment = Testing Auth > > public = no > > writeable = yes > > path = /SHAREDDRIVE/ADMINFOLDER > > force group = DOMAIN/admin > > > > I don't want anyone to see the samba share folder but the group members. > Am I just in the wrong location on where I should set the view on the > folder. > > Also if I change the smb.conf file and restart the smb I have to restart > the windows box before it can see new shared files/folders is there > anyway around that issue. I would like the shares to be more dynamic and > on the fly changeable. > > > > > >