[Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-29 Thread Ralf G. R. Bergs
On Wed, 29 May 2002 08:51:06 +1000, Nathan Scott wrote: [...] Compiling smbd/quotas.c smbd/quotas.c: In function `get_smb_linux_vfs_quota': smbd/quotas.c:111: storage size of `D' isn't known make[1]: *** [smbd/quotas.o] Error 1 make[1]: Leaving directory `/usr/src/samba-2.2.4/source' make:

Re: [Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-29 Thread Christoph Hellwig
On Tue, May 28, 2002 at 04:23:05PM -0700, Jeremy Allison wrote: Ok I see. What alternative do you propose for Samba ? Should we just disable quota support on Linux and tell people to use an OS with real quota support ? This would not be good for many of our users. That's one option - you'll

Re: [Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-29 Thread Jan Kara
Hello, On Wed, May 29, 2002 at 08:51:06AM +1000, Nathan Scott wrote: Known problem, with no fix yet AFAIK. It is not really related to XFS at all, you're tripping it in XFS because we include some quite recent quota patches in the XFS CVS trees (ie. the patches that've just

Re: [Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-29 Thread Jeremy Allison
On Wed, May 29, 2002 at 10:17:02AM +0100, Christoph Hellwig wrote: The other option would be to just copy the quota headers from the Linux quota package instead of relying on changing kernels. This is not a viable solution (IMHO). Some kernels (the Linus ones) just have broken 32 bit uid

Re: [Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-29 Thread Jeremy Allison
On Wed, May 29, 2002 at 04:18:47PM +0200, Jan Kara wrote: When I was implementing user space tools handling quota I was thinking where to get the headers and finally I decided that having own local include is the easiest way (this way quota tools are able to handle all existing kernels

Re: [Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-29 Thread Christoph Hellwig
On Wed, May 29, 2002 at 11:47:45AM -0700, Jeremy Allison wrote: If you have such an include file that works across all distributions and kernels please post it. I already told you that is is part of Jan's quota tools. -- To unsubscribe from this list go to the following URL and read the

Re: [Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-29 Thread Jeremy Allison
On Wed, May 29, 2002 at 07:48:28PM +0100, Christoph Hellwig wrote: On Wed, May 29, 2002 at 11:47:45AM -0700, Jeremy Allison wrote: If you have such an include file that works across all distributions and kernels please post it. I already told you that is is part of Jan's quota tools. If

Re: [Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-29 Thread Christoph Hellwig
On Wed, May 29, 2002 at 12:17:17PM -0700, Jeremy Allison wrote: If this is the magic include file that is guarenteed to work across all Linux distributions and kernels why isn't in in /usr/include/quota.h ? Glibc politics :P You must understand I don't care about the glibc or Linux

Re: [Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-29 Thread Jeremy Allison
On Wed, May 29, 2002 at 08:45:07PM +0100, Christoph Hellwig wrote: Is this constructive enough? Much more so - thanks ! :-). I'll look at merging this in for 2.2.5. I may move around some of the header locations (we normally keep all include files in include/, or at least that's the plan :-),

Re: [Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-29 Thread Christoph Hellwig
On Wed, May 29, 2002 at 12:56:44PM -0700, Jeremy Allison wrote: On Wed, May 29, 2002 at 08:45:07PM +0100, Christoph Hellwig wrote: Is this constructive enough? Much more so - thanks ! :-). I'll look at merging this in for 2.2.5. I may move around some of the header locations (we normally

Re: [Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-29 Thread Christoph Hellwig
Here's a better patch - it also handles another linux quota interface that samba didn't yet handle at all.. Yikes, that was still borked. diff -uNr samba-2.2.4/source/configure.in samba-2.2.4-hch/source/configure.in --- samba-2.2.4/source/configure.in Fri May 3 03:02:46 2002 +++

[Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-28 Thread Nathan Scott
On Tue, May 28, 2002 at 12:59:33PM +0200, Ralf G. R. Bergs wrote: Hi there, hey Ralf. sorry for being semi-off-topic, but since this has at least *soemthing* to do with XFS I hope you forgive me. :-) I'm trying to compile Samba 2.2.4 under Debian 2.2 (stable). I'm running a kernel

Re: [Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-28 Thread Jeremy Allison
On Wed, May 29, 2002 at 08:51:06AM +1000, Nathan Scott wrote: Known problem, with no fix yet AFAIK. It is not really related to XFS at all, you're tripping it in XFS because we include some quite recent quota patches in the XFS CVS trees (ie. the patches that've just recently gone into

Re: [Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-28 Thread Christoph Hellwig
On Tue, May 28, 2002 at 04:04:47PM -0700, Jeremy Allison wrote: Why should we have to have a local quota header file ? Why can't it work on Linux like every other UNIX system - we don't need a local quota.h for them ? This is not a Samba problem IMHO., but a Linux one. Samba is including

Re: [Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-28 Thread Jeremy Allison
On Wed, May 29, 2002 at 12:04:43AM +0100, Christoph Hellwig wrote: Samba is including Kernel headers. That is a Samaba problem. Ok I see. What alternative do you propose for Samba ? Should we just disable quota support on Linux and tell people to use an OS with real quota support ? This

Re: [Samba] Re: Problems compiling Samba 2.2.4 with quota under Debian stable

2002-05-28 Thread Nathan Scott
hi Jeremy, On Tue, May 28, 2002 at 04:04:47PM -0700, Jeremy Allison wrote: On Wed, May 29, 2002 at 08:51:06AM +1000, Nathan Scott wrote: Known problem, with no fix yet AFAIK. It is not really related to XFS at all, you're tripping it in XFS because we include some quite recent quota