Web lists-archives.com

Re: [Samba] Failed to enumerate objects in the container. Access is denied.




On Thu, 30 Mar 2017 16:25:46 +0200 (CEST)
osdc@xxxxxxxxxxx wrote:

> 
> > Rowland Penny <rpenny@xxxxxxxxx> hat am 30. März 2017 um 16:15
> > geschrieben:
> 
> > > 
> > > May it be possible, that the getent-problem has something to do
> > > with pam-auth-update? I never did that before.
> > 
> > Possibly
> 
> If so a hint in the Samba-Setup manual would be of help.

Problem is, the Samba wiki tries to be OS agnostic and
'pam-auth-update' is a Debian thing.

>  
> 
> Yes, I only asked if there is something special about the paths
> proposed by the setting in smb.conf. Some relation to security.

You can put a share anywhere you like, but it is up to you to secure it.

> 
> I would have, but it works only once. After the first time changing
> the settings it did not work a second time. Just once. There are
> differences, though:
> 
> drwxrwx---+  2 RUBENS\gf root 4096 Mär 30 14:09 gf
> drwxr-xr-x   2 root      root 4096 Mär 30 14:56 mrtx
> 
> The first share could be changed once, the second share could not.
> The changing of the owner for /fs/gf worked well, but when I wanted
> to change it back I was not allowed. Additionally I could not ever
> change /fs/mrtx. In the beginning they have all been identical in
> smb.conf:
> 
> [gf]
>     browseable = yes
>     path = /fs/gf
>     read only = no
> 
> [mrtx]
>     browseable = yes
>     path = /fs/mrtx
>     read only = no
> 
> And I created the folders as root with
> mkdir /fs/gf
> mkdir /fs/mrtx
> 
> So there is no difference. I rebooted the server and windows 10,
> still failing to enumerate objects in the container.

If you look here:

drwxrwx---+  2 RUBENS\gf root 4096 Mär 30 14:09 gf

There is a '+' sign after the permissions, this means that there are
ACLs set on the directory, try running 'getfacl /fs/gf'

Rowland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba