[Samba] SAMBA + ACLs + QUOTAs + WINBIND = headache

Thierry ITTY thierry.itty at besancon.org
Tue May 14 05:11:02 GMT 2002


Hello

I'm trying to set up a samba server on linux that will have ACL capability
and QUOTA control.

I'm working on a customized 2.4.18 kernel patched for EAs and ACLs, and quotas
I've also customized a 2.2.3a samba with acls, winbind, quotas...

it's working fine from a pure unix point of vue, acl allow fine grained
access control, quotas limit use of space, and so on

with samba over, acls still work fine (even with winbind/nt
authentication), but quota don't

if i try to copy a big file from a windows client to the samba network
share, i get a message "insuffisent space" which is obviously generated by
quota control. but if i copy little files, it works even if the quota is
exceeded, and there is actually no limit

i looks like the patched kernel uses quota V1 system. I modified
smbd/quota.c to force LINUX_QUOTA_1, nothing changes

i had to recompile the quota package to avoid direct disk access, and force
the quota tools to go through kernel calls (and take care of eas and acls).
is there something like this to do with samba (and what ?)

another question : there is a smbcacls command to set acls on files. is
this a samba specific command that is not related to kernel acl, or is it
just another setfacl command ?

so any help will be much appreciated for using unix quota with samba in
unix acl context

tia
			- * - * - * - * - * - * -
Bien sûr que je suis perfectionniste !
Mais ne pourrais-je pas l'être mieux ?
	Thierry ITTY
eMail : Thierry.Itty at Besancon.org		FRANCE




More information about the samba mailing list