Re: Samba Question -- Users cannot access home directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hey friends,

 i have setup the linux box (FC3) with samba with security = domain and 
password server = s1.sun.com(internal)

I have created one folder in which i have created some
directories.There are different types of users in  my company some in
development, some in administration , som e in top management.I have
created some folders in which users can put their data to share among
their colleagues or team.

What happens is that when somebody clicks on samba server all the
folders which i have explicitly mentioned in the smb.conf are shown
.Whereas what i want is that only those folders should come when the
user access the samba server on which he has the right to access it.

Suppose james is a user having access rights on folders cpms, manager.
Now when he clicks on the samba server he sees his home directory
where he can put his data, a cpms folder which is shared among the
other development team members(have set it with suid) and manager(have
set it this also with suid) and all other folders (specified in
smb.conf) on which he does not have the rights.He can't access those
folders  in which he don't have the rights but i don't want to show
the james those folders on which he does not have any kind of right.

Ideally is should be when james accesses the samba server he should
see his home directory,his cpms and manager folder nothing else.So
that he should know that he can access and only have access to these
folders.

 I tried with u% variable but this variable works for only primary
group not for secondary group.I hope that many of u have faced the
same problem.

Please anyone of you can give me solution.

Thanks & Regards

Ankush Grover






On Thu, 24 Feb 2005 09:37:57 +0530, Ankush Grover <ankush174@xxxxxxxxx> wrote:
> hey,
> 
> just create the same users on linux machine which are on windows
> machine.No need to give the linux users any password.But u need to
> create the accounts of the windows users on linux.
> 
> Like if there is an user on windows mark
> then you need to create an user mark on linux box.
> 
> Regards
> 
> Ankush
> 
> 
> On Wed, 23 Feb 2005 20:37:26 -0600, Paul <subsolar@xxxxxxxxxxxx> wrote:
> > On Wed, 2005-02-23 at 14:11 -0500, Tim Holmes wrote:
> > > >
> > > > > Thomas -- there are a variety of entries in that folder, so im not
> > > > > particularly sure what I should be looking for -- im kinda new at
> > > this
> > > > > stuff
> > > > >
> > > > > TIM
> > > > >
> > > > >
> > > > > Tim Holmes
> > > >
> > > > There should be a bunch of files in there called [machine].log where
> > > > [machine] is the name of a computer which is trying to access the
> > > Samba
> > > > server.
> > > >
> > > > So what you want to do is try to access your home share from a machine
> > > and
> > > > then look for that machine's logfile.  Look in there for anything that
> > > > looks
> > > > like an error.  Post it here.
> > > >
> > > > Thomas
> > > >
> > > [Tim Holmes wrote]
> > >
> > >
> > > Thomas -- Heres the contents of on the log file for my computer -- I
> > > don't see any obvious errors, but I also am very new at this so I may be
> > > missing something
> > >
> > > TIM
> > >
> > >
> > > [2005/02/21 14:12:48, 1] smbd/service.c:make_connection_snum(648)
> > >   mod3teacher (192.168.0.133) connect to service html initially as user
> > > tholmes (uid=500, gid=500) (pid 21422) [2005/02/21 14:13:08, 1]
> > > smbd/service.c:close_cnum(836)
> > >   mod3teacher (192.168.0.133) closed connection to service html
> > > [2005/02/21 14:15:40, 1] smbd/service.c:make_connection_snum(648)
> >
> > <SNIP>
> >
> > > MCASCHOOL\tholmes (uid=16777219, gid=16777216) (pid 5113) [2005/02/23
> > > 13:23:13, 1] smbd/service.c:make_connection_snum(648)
> > >   mod3teacher (192.168.0.133) connect to service www initially as user
> > > MCASCHOOL\tholmes (uid=16777219, gid=16777216) (pid 5113) [2005/02/23
> > > 13:23:23, 1] smbd/service.c:close_cnum(836)
> > >   mod3teacher (192.168.0.133) closed connection to service html
> > > [2005/02/23 13:23:23, 1] smbd/service.c:close_cnum(836)
> > >   mod3teacher (192.168.0.133) closed connection to service www
> > >
> > >
> >
> > Does the directory /home/MCASCHOOL/tholmes exist on the box and is it
> > owned by tholmes?
> >
> > If not and case is important, this could be your issue.
> >
> > Regards,
> > Paul Berger
> >
> >
> > --
> > fedora-list mailing list
> > fedora-list@xxxxxxxxxx
> > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> >
>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux