Re: [Dovecot] NFS rquota support

2007-08-09 Thread Nicolas STRANSKY
Le 09.08.2007 12:45, Timo Sirainen a écrit : >> Aug 7 19:34:36 rouge dovecot: IMAP(stransky): quota-fs: remote rquota >> call failed: RPC: Authentication error > > Did you include http://hg.dovecot.org/dovecot/rev/0f6d4f8dd587 You are right, this was not included, thanks ! Now I have included t

Re: [Dovecot] NFS rquota support

2007-08-09 Thread Timo Sirainen
On Thu, 2007-08-09 at 12:00 +0200, Nicolas STRANSKY wrote: > Le 07.08.2007 18:05, Mike Brudenell a écrit : > > > 0. Apply the patches. > > 1. cd to the top level of the distribution directory tree (above "src") > > 2. Run: autoconf > > 3. Run: autoheader > > 4. Run: automake > > 5. Run: conf

Re: [Dovecot] NFS rquota support

2007-08-09 Thread Nicolas STRANSKY
Le 07.08.2007 18:05, Mike Brudenell a écrit : > 0. Apply the patches. > 1. cd to the top level of the distribution directory tree (above "src") > 2. Run: autoconf > 3. Run: autoheader > 4. Run: automake > 5. Run: configure > 6. Compile Thanks, this seems to work at last ! But unfortunately

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Mike Brudenell
Greetings - On 7 Aug 2007, at 14:36, Nicolas STRANSKY wrote: In fact the patch applies well, dovecot compiles well, but rquota is still not functionnal. I have this in config.log: HAVE_RQUOTA_FALSE='#' HAVE_RQUOTA_TRUE='' #define HAVE_RQUOTA But there is no RPC string in quota-fs.o. Where am I

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Nicolas STRANSKY
In fact the patch applies well, dovecot compiles well, but rquota is still not functionnal. I have this in config.log: HAVE_RQUOTA_FALSE='#' HAVE_RQUOTA_TRUE='' #define HAVE_RQUOTA But there is no RPC string in quota-fs.o. Where am I wrong ? -- Nico

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Mike Brudenell
Greetings - On 7 Aug 2007, at 13:54, Stewart Dean wrote: Sorry to be so clueless, but all the activity about rquotad drives me to admit my puzzlement (or ignorance)... I run rquotad on my mail server that also runs DCrquotad is used by the other 3 hosts (a login/FTP server, a mailing lis

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Cor Bosman
> Sorry to be so clueless, but all the activity about rquotad drives me to > admit my puzzlement (or ignorance)... > I run rquotad on my mail server that also runs DCrquotad is used by > the other 3 hosts (a login/FTP server, a mailing list server and a user > mgmnt server) that NFS mount th

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Stewart Dean
Sorry to be so clueless, but all the activity about rquotad drives me to admit my puzzlement (or ignorance)... I run rquotad on my mail server that also runs DCrquotad is used by the other 3 hosts (a login/FTP server, a mailing list server and a user mgmnt server) that NFS mount the folder a

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Joseba Torre
It's also working here. In my RHEL4, make crashed because it didn't get any value for SED. export SED=/bin/sed before autoconf solved the issue, and now it up and running. Thanks a lot! Agur. El Martes, 7 de Agosto de 2007 13:17, Nicolas STRANSKY escribió: > Le 07.08.2007 12:37,

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Nicolas STRANSKY
Le 07.08.2007 12:37, Mike Brudenell a écrit : > Greetings - > > On 7 Aug 2007, at 11:28, Nicolas STRANSKY wrote: > >> OK, thanks for the answer, but unfortunately, these don't apply well to >> 1.0.3.. > > They applied just fine to 1.0.3 here. You are right, they applied just fine, I just couldn

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Mike Brudenell
Greetings - On 7 Aug 2007, at 11:28, Nicolas STRANSKY wrote: OK, thanks for the answer, but unfortunately, these don't apply well to 1.0.3.. They applied just fine to 1.0.3 here. I started off with pristine copies of the files from the 1.0.3 distribution then applied the patches using

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Nicolas STRANSKY
Le 07.08.2007 10:36, Timo Sirainen a écrit : > On Tue, 2007-08-07 at 10:29 +0200, Nicolas STRANSKY wrote: >> Le 06.08.2007 18:08, Timo Sirainen a écrit : >> >> So both http://hg.dovecot.org/dovecot/rev/078d9dde99c8 and >> http://hg.dovecot.org/dovecot/rev/abec53314897 are needed to have rquota >> s

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Timo Sirainen
On Tue, 2007-08-07 at 10:29 +0200, Nicolas STRANSKY wrote: > Le 06.08.2007 18:08, Timo Sirainen a écrit : > > So both http://hg.dovecot.org/dovecot/rev/078d9dde99c8 and > http://hg.dovecot.org/dovecot/rev/abec53314897 are needed to have rquota > support with 1.0.x or is there anything else ? http

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Nicolas STRANSKY
Le 06.08.2007 18:08, Timo Sirainen a écrit : So both http://hg.dovecot.org/dovecot/rev/078d9dde99c8 and http://hg.dovecot.org/dovecot/rev/abec53314897 are needed to have rquota support with 1.0.x or is there anything else ? Thanks -- Nico

Re: [Dovecot] NFS rquota support

2007-08-06 Thread Timo Sirainen
On Fri, 2007-08-03 at 20:10 -0700, Steven Luo wrote: > I've attached patches (against 1.0.3 with the rquota support applied) to > add auth support Applied directly. > and to build the necessary XDR bits with rpcgen; I did this a bit differently. http://hg.dovecot.org/dovecot/rev/abec53314897

Re: [Dovecot] NFS rquota support

2007-08-04 Thread Steven Luo
On Thu, Aug 02, 2007 at 05:12:07PM +0300, Timo Sirainen wrote: > The other rquota patches had authunix_create_default() call. Is this > needed/useful? Without this, we get (Solaris 8 client talking to Solaris 10 rquotad): > IMAP(xxx): quota-fs: permission denied to rquota service After adding a c

Re: [Dovecot] NFS rquota support

2007-08-03 Thread Mike Brudenell
Greetings - On 3 Aug 2007, at 01:00, Nicolas STRANSKY wrote: I think the configure failed to set HAVE_RQUOTA to config.h. But this is what I had from ./configure: checking rpcsvc/rquota.h usability... yes checking rpcsvc/rquota.h presence... yes checking for rpcsvc/rquota.h... yes Yup, I go

Re: [Dovecot] NFS rquota support

2007-08-02 Thread Nicolas STRANSKY
Le 02.08.2007 19:53, Timo Sirainen a écrit : > On Thu, 2007-08-02 at 19:47 +0200, Nicolas STRANSKY wrote: >> Le 02.08.2007 18:06, Mike Brudenell a écrit : >> >>> Nicolas Stransky: Have you actually got it running yet, or just compiled? >>> If running, did you have to do anything t

Re: [Dovecot] NFS rquota support

2007-08-02 Thread Timo Sirainen
On Thu, 2007-08-02 at 19:47 +0200, Nicolas STRANSKY wrote: > Le 02.08.2007 18:06, Mike Brudenell a écrit : > > > Nicolas Stransky: Have you actually got it running yet, or just compiled? > > If running, did you have to do anything to overcome this > > missing sy

Re: [Dovecot] NFS rquota support

2007-08-02 Thread Nicolas STRANSKY
Le 02.08.2007 18:06, Mike Brudenell a écrit : > Nicolas Stransky: Have you actually got it running yet, or just compiled? > If running, did you have to do anything to overcome this > missing symbol? Dovecot has compiled well and is running well. I don't get a m

Re: [Dovecot] NFS rquota support

2007-08-02 Thread Timo Sirainen
On Thu, 2007-08-02 at 17:34 +0100, Mike Brudenell wrote: > I've just tried #including the rquota_cdr.c file produced by running > rpcgen on the rquota.x file (as in the code I sent out a few days ago). > > That compiled and runs OK, and successfully returns a storage when > queries with the GE

Re: [Dovecot] NFS rquota support

2007-08-02 Thread Mike Brudenell
Sorry for the flurry of messages! ... On 2 Aug 2007, at 17:06, Mike Brudenell wrote: However there doesn't seem to be anything in the existing 1.0.3 source or the three patches that provides this function. Is there something missing from the patches at http://hg.dovecot.org/dovecot/diff/

Re: [Dovecot] NFS rquota support

2007-08-02 Thread Mike Brudenell
On 2 Aug 2007, at 16:56, Mike Brudenell wrote: What am I missing? (The especially annoying thing is that xdr_getquota_args is used in the test program included in the source code I sent out a few days ago and that worked... but I can't spot what is different in the linking/runtime.) Ah!

Re: [Dovecot] NFS rquota support

2007-08-02 Thread Mike Brudenell
AAARRGGH!! On 2 Aug 2007, at 16:19, Nicolas STRANSKY wrote: This applied and compiled well with v1.0.3. The patches applied (with fuzz and offsets) to 1.0.3 and compiled OK under Solaris 10 with Sun's C compiler. However when I try and start Dovecot I get: Edlopen(/usr/local/dovecot-1.0.

Re: [Dovecot] NFS rquota support

2007-08-02 Thread Nicolas STRANSKY
Le 02.08.2007 16:12, Timo Sirainen a écrit : > For v1.1, probably applies to v1.0 code pretty easily too: > > http://hg.dovecot.org/dovecot/rev/078d9dde99c8 > > The other rquota patches had authunix_create_default() call. Is this > needed/useful? > > The client is now always created+destroyed fo

[Dovecot] NFS rquota support

2007-08-02 Thread Timo Sirainen
For v1.1, probably applies to v1.0 code pretty easily too: http://hg.dovecot.org/dovecot/rev/078d9dde99c8 The other rquota patches had authunix_create_default() call. Is this needed/useful? The client is now always created+destroyed for each quota lookup. I'd think it would be faster if it was c