[PATCH] Fix getting quota on BSD

Jeremie Courreges-Anglas jca at wxcvbn.org
Tue May 24 11:33:40 UTC 2016


Uri Simchoni <uri at samba.org> writes:

> Hi,
> This patch fixes non-Darwin use of sysquotas_4B interface for getting
> user/group quota.

Looks fine on OpenBSD, fwiw.

BTW, quotas don't really work out of the box on OpenBSD because our
quotactl(2) has strict permissions checks, the kind of checks that lead
to the HFS_QUOTACTL_WAR "hack".  I'm not proposing to extend the use of
this define yet, though.

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



More information about the samba-technical mailing list