#ifdef HAVE_SYS_QUOTA missing in source3/smbd/smb2-getinfo.c
nopower at suse.com
Tue Aug 7 09:41:58 UTC 2018
On 06/08/18 22:25, Christopher O Cowan via samba-technical wrote:
> Presently, when I configure and compile on AIX, HAVE_SYS_QUOTA is not set.
> I haven't had time to look into deeply into the wscripts, but the main
> quota header is /usr/include/sys/fs/quota_common.h, rather
> than /usr/include/sys/quota.h (like Linux).
> Noel Power's commit b8802e2 introduced an #ifdef HAVE_SYS_QUOTA wrapper
> around the declaration of smbd_do_query_getinfo_quota() and some other
> functions, in source3/smbd/proto.h. When I attempted to run the latest
> smbd, it was failing to load.
Thanks for spotting this, sounds like 2 separate problems, don't handle
the undetected quota support and quota support isn't detected on all
platforms. I'll look into these.
More information about the samba-technical