Samba Question -- Users cannot access home directories

Craig White craigwhite at azapple.com
Wed Feb 23 19:22:04 UTC 2005


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)
>   mod3teacher (192.168.0.133) connect to service html initially as user
> tholmes (uid=500, gid=500) (pid 21423) [2005/02/21 14:16:00, 1]
> smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service html
> [2005/02/21 14:16:41, 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 21424) [2005/02/21 14:16:57, 1]
> smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service html
> [2005/02/21 14:20:07, 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 21426) [2005/02/21 14:20:29, 1]
> smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service html
> [2005/02/21 14:21:34, 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 21428) [2005/02/21 14:21:54, 1]
> smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service html
> [2005/02/23 07:52:12, 1] smbd/service.c:make_connection_snum(648)
>   mod3teacher (192.168.0.133) connect to service html initially as user
> MCASCHOOL\tholmes (uid=16777219, gid=16777216) (pid 4312) [2005/02/23
> 07:52: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 4312) [2005/02/23
> 07:52:32, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service www
> [2005/02/23 07:52:32, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service html
> [2005/02/23 07:56:17, 0] smbd/service.c:make_connection(800)
>   mod3teacher (192.168.0.133) couldn't find service var [2005/02/23
> 07:56:20, 0] smbd/service.c:make_connection(800)
>   mod3teacher (192.168.0.133) couldn't find service var [2005/02/23
> 07:56:29, 0] smbd/service.c:make_connection(800)
>   mod3teacher (192.168.0.133) couldn't find service var [2005/02/23
> 07:57:19, 0] smbd/service.c:make_connection(800)
>   mod3teacher (192.168.0.133) couldn't find service var [2005/02/23
> 07:57:23, 0] smbd/service.c:make_connection(800)
>   mod3teacher (192.168.0.133) couldn't find service var [2005/02/23
> 07:57:23, 0] smbd/service.c:make_connection(800)
>   mod3teacher (192.168.0.133) couldn't find service var [2005/02/23
> 07:57:26, 0] smbd/service.c:make_connection(800)
>   mod3teacher (192.168.0.133) couldn't find service var [2005/02/23
> 07:57:28, 0] smbd/service.c:make_connection(800)
>   mod3teacher (192.168.0.133) couldn't find service var [2005/02/23
> 07:57:29, 0] smbd/service.c:make_connection(800)
>   mod3teacher (192.168.0.133) couldn't find service var [2005/02/23
> 07:57:31, 0] smbd/service.c:make_connection(800)
>   mod3teacher (192.168.0.133) couldn't find service var [2005/02/23
> 08:52:59, 1] smbd/service.c:make_connection_snum(648)
>   mod3teacher (192.168.0.133) connect to service html initially as user
> MCASCHOOL\tholmes (uid=16777219, gid=16777216) (pid 4359) [2005/02/23
> 08:53:19, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service html
> [2005/02/23 08:53:19, 1] smbd/service.c:make_connection_snum(648)
>   mod3teacher (192.168.0.133) connect to service html initially as user
> MCASCHOOL\tholmes (uid=16777219, gid=16777216) (pid 4361) [2005/02/23
> 08:53:32, 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 4361) [2005/02/23
> 08:53:39, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service www
> [2005/02/23 08:53:39, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service html
> [2005/02/23 08:53:53, 1] smbd/service.c:make_connection_snum(648)
>   mod3teacher (192.168.0.133) connect to service html initially as user
> MCASCHOOL\tholmes (uid=16777219, gid=16777216) (pid 4364) [2005/02/23
> 08:53:53, 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 4364) [2005/02/23
> 08:54:03, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service html
> [2005/02/23 08:54:03, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service www
> [2005/02/23 10:17:43, 1] smbd/service.c:make_connection_snum(648)
>   mod3teacher (192.168.0.133) connect to service html initially as user
> MCASCHOOL\tholmes (uid=16777219, gid=16777216) (pid 4521) [2005/02/23
> 10:17:44, 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 4521) [2005/02/23
> 10:17:53, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service html
> [2005/02/23 10:17:53, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service www
> [2005/02/23 10:18:04, 1] smbd/service.c:make_connection_snum(648)
>   mod3teacher (192.168.0.133) connect to service html initially as user
> MCASCHOOL\tholmes (uid=16777219, gid=16777216) (pid 4524) [2005/02/23
> 10:18:04, 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 4524) [2005/02/23
> 10:18:14, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service html
> [2005/02/23 10:18:14, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service www
> [2005/02/23 13:03:43, 0] smbd/service.c:make_connection_snum(620)
>   '/home/MCASCHOOL/tholmes' does not exist or is not a directory, when
> connecting to [tholmes] [2005/02/23 13:03:43, 0]
> smbd/service.c:make_connection_snum(620)
>   '/home/MCASCHOOL/tholmes' does not exist or is not a directory, when
> connecting to [tholmes] [2005/02/23 13:08:45, 1]
> smbd/service.c:make_connection_snum(648)
>   mod3teacher (192.168.0.133) connect to service html initially as user
> MCASCHOOL\tholmes (uid=16777219, gid=16777216) (pid 5083) [2005/02/23
> 13:08:45, 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 5083) [2005/02/23
> 13:08:56, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service html
> [2005/02/23 13:08:56, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service www
> [2005/02/23 13:09:06, 1] smbd/service.c:make_connection_snum(648)
>   mod3teacher (192.168.0.133) connect to service html initially as user
> MCASCHOOL\tholmes (uid=16777219, gid=16777216) (pid 5086) [2005/02/23
> 13:09:06, 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 5086) [2005/02/23
> 13:09:16, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service html
> [2005/02/23 13:09:16, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service www
> [2005/02/23 13:22:52, 1] smbd/service.c:make_connection_snum(648)
>   mod3teacher (192.168.0.133) connect to service html initially as user
> MCASCHOOL\tholmes (uid=16777219, gid=16777216) (pid 5109) [2005/02/23
> 13:22:53, 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 5109) [2005/02/23
> 13:23:02, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service html
> [2005/02/23 13:23:02, 1] smbd/service.c:close_cnum(836)
>   mod3teacher (192.168.0.133) closed connection to service www
> [2005/02/23 13:23:13, 1] smbd/service.c:make_connection_snum(648)
>   mod3teacher (192.168.0.133) connect to service html initially as user
> 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
----
you are going to need to fix your service definitions in smb.conf for a
start

You really want to look at Samba 'HOW-TO' at www.samba.org

testparm -sv will give you a clue where the problems are...

testparm -sv > /tmp/samba-config.txt  # will output this to a text file
that you can review

Craig




More information about the fedora-list mailing list