[Samba] Samba and Windows ACL Issue

Tony Earnshaw tonye at billy.demon.nl
Fri May 27 13:59:38 GMT 2005


fre, 27.05.2005 kl. 15.20 skrev Ross McInnes:

> Hi all got a bit of and odd problem with ACL. Ive read up on a few bits in
> the samba howto and read some threads on here about it.
> 
> Im not sure if this is a bug, something ive not done, doing wrong etc so
> anyone that could shed some light on it that would be great.
> 
> Basically the windows box handles all user account processing and during
> creating a script for all this it will attempt to change the permissions on
> the HOME directory to the user in question
> 
> (i.e C:\>cacls Z:\Students\2005\sb05 /G sb05:F /T /E)
> 
> But I always get Access is denied. Even tho its currently owned by
> administrator.
> 
> Trying the "manual" way, and the ways listed in the offical samba howto
> guide produces similar results.

Sounds as though you don't have POSIX ACLs enabled on the Samba share
mount.

> The only way I can change the owner is to go into linux and use the chown
> command.
> 
> After that its set to the correct user and all is well... Except by doing it
> by hand kinda rains on my lovely automatic user creation script!
> 
> Samba.log file shows me no errors, as do any of the others. If there a
> switch/option I need to enable?
> 
> Below is smb.conf
> 
> Im running RHES3, Samba 3.0.14a and Windows 2k3 AD in mixed Mode.

[...]

The OS has ACL support as standard, but it's not enabled by default.
What does /etc/fstab look like for the share mount?

--Tonni

-- 
mail: tonye at billy.demon.nl
http://www.billy.demon.nl

Eg er bergenser og, eg, men, Trondheims-ordfører Marvin Wiseth:
«Bergenserne er flinke til å gjøre mye ut av lite» (uttalte seg over 17.
mai feiringen iår, men gjelder sannsynligvis og dette mel mitt).



More information about the samba mailing list