[Samba] Cannot set permissions from Windows: "Failed to Enumerate Objects in the Container. Access is denied."

L.P.H. van Belle belle at bazuin.nl
Thu Sep 16 07:42:55 UTC 2021


Whats wrong here 

> > 
> > chown root:"${DOMAINNAME}\\Domain Admins" /share/samba/${VOLUME}
> > chmod 0770 /share/samba/${VOLUME}

Its missing right on the /share/samba folder most probely.. 
Imagine usersX wants to enter /share/samba/${VOLUME} thats not working now. 
Unless userX is member of "Domain Admins"

Dont use chmod 0770 only root can access it now. 
Try 2771 

But better is show the output of all folders.. 

getfacl /share
getfacl /share/samba 
getfacl /share/samba/volume 

Then we can see whats off. 

Greetz, 

Louis





> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Rowland Penny via samba
> Verzonden: woensdag 15 september 2021 21:20
> Aan: sambalist
> Onderwerp: Re: [Samba] Cannot set permissions from Windows: 
> "Failed to Enumerate Objects in the Container. Access is denied."
> 
> On Wed, 2021-09-15 at 15:11 -0400, cpierre at coreweave.com wrote:
> > AppArmor is disabled for testing. 
> > 
> > Yes, I've reviewed the Windows ACL docs - I've used chown according
> > to that
> > page: 
> > 
> > chown root:"${DOMAINNAME}\\Domain Admins" /share/samba/${VOLUME}
> > chmod 0770 /share/samba/${VOLUME}
> 
> I take it that libpam-winbind libnss-winbind libpam-krb5 are installed
> and 'getent passwd username' & 'getent group groupname' produces
> output.
> 
> Rowland
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 




More information about the samba mailing list