Compilation fail on NetBSD, when --with-quotas is specified..
..problem is, that file smbd/quotas.c don't mention about nbsd in any definition,
and compilation failed on line 932, where is condition:
#else /* !__FreeBSD__ && !AIX && !__OpenBSD__ */
..this is of course in linux case only..
I soluted this just only with adding this to begining of file:
..and everything works fine..
it's a bit stupid solution, I think, in places, where OpenBSD is mentioned
should be NetBSD added too..
I think this is not a problem anymore at least since the sysquota code was extended some years ago. Luke, can you confirm that NetBSD quotas compile find with 4.x ?
NetBSD has two quota interface implementations - a (deprecated) syscall based one and a library base one. I can find not a single project which supports any of the NetBSD quota implementations. Neither we. I'm afraid also nobody misses them in Samba?
(In reply to Björn Jacke from comment #2)
Given both your comments, I don't think it is reasonable to keep this bug open.
Closing as most likely fixed, it can be re-opened if someone has a need and active ability to reproduce.