[Samba] Re: Samba access denied or only shows top level directories

Tom Schaefer tom at umsl.edu
Tue Apr 15 13:31:25 GMT 2003

Cool, somebody else besides me putting some of the more exotic features of samba to use, like the include = /opt/samba/lib/smb.conf.%L and the force user.  I do those same things myself, I use force user extensively, and sometimes I feel all alone in the world.  

Anyway, to your problem though, my first thought was its a permissions problem and that error message "file does not exist" isn't a very accurate error message.  In my experience, explanations given in Windows error messages may or may not bear any resemblence to the real cause of the problem.

Are you sure smb.conf.webdev is ever being included?  In this line:
include = /opt/samba/lib/smb.conf.%L
the %L means the netbios name of the server and the only netbios names I see you using are peewing, accesslist, and mydev.  (webdev is curiously absent)

I see you aren't forcing the group, the group is going to end up being wes64's default group (not wduser's).  Maybe its a group permissions problem?

Are the clients that do work Win95 as well?  Do maybe these directories he can't get into have really long names or weird characters in the names?

So, there you go, just a few things to think about.

Tom Schaefer

On Tue, 15 Apr 2003 13:51:05 +0100
"G.J.Francis" <G.J.Francis at open.ac.uk> wrote:

> When ONE PARTICULAR user connects to \\mydev\oubsgout <\\mydev\oubsgout>
> the user (running win95) connects( from windows explorer) but only sees top
> level directories in the share. Any ideas as to why only one user should be
> affected?The network between the client PC and the server checks out ok.
> When the user attempts to expand one of these top level directories a
> messagebox appears stating that the requested file does not exist.
> [global]
>         security = DOMAIN
>         workgroup = SERVICES
>         password server = serv1 serv2 serv3
>         encrypt passwords = true
>         netbios name = peewing
>         netbios aliases = accesslist mydev 
>         server string = Samba %v on (%L)
>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>         log file = /opt/samba/logs/%L.log
>         log level = 3
>         max log size = 512
>         load printers = No
>         guest ok = no
>         browsable = yes
>         include = /opt/samba/lib/smb.conf.%L
>         comment = "\\%L\%S <\\%L\%S>  [%v]"
>         oplocks = no
>         mangled names = no
>         preserve case = yes
>         case sensitive = yes
> In the smb.conf.webdev file  we have:
> [oubsgout]
>         path = /fs1/oubs-goutime
>         valid users = wes64
>         force user = wduser
>         writable = yes
> Thanks
> G.j.francis at open.ac.uk
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list