Re: [Dovecot] New %%h variable for shared namespaces

2008-11-02 Thread Sascha Wilde
Sascha Wilde <[EMAIL PROTECTED]> writes: > Timo Sirainen <[EMAIL PROTECTED]> writes: >> On Fri, 2008-10-31 at 17:12 +0200, Timo Sirainen wrote: >>> > See >>> > http://hg.intevation.org/kolab/dovecot-1.2_kolab-branch/rev/e83efa40a1dc >>> >>> The auth connection could be kept alive longer than for

Re: [Dovecot] New %%h variable for shared namespaces

2008-11-01 Thread Sascha Wilde
Timo Sirainen <[EMAIL PROTECTED]> writes: > On Fri, 2008-10-31 at 17:12 +0200, Timo Sirainen wrote: >> > See >> > http://hg.intevation.org/kolab/dovecot-1.2_kolab-branch/rev/e83efa40a1dc >> >> The auth connection could be kept alive longer than for one lookup if >> you put the auth_connection to

Re: [Dovecot] New %%h variable for shared namespaces (was: New generic userdb lookup api)

2008-11-01 Thread Timo Sirainen
On Fri, 2008-10-31 at 17:12 +0200, Timo Sirainen wrote: > > See http://hg.intevation.org/kolab/dovecot-1.2_kolab-branch/rev/e83efa40a1dc > > The auth connection could be kept alive longer than for one lookup if > you put the auth_connection to shared_storage. That'd require creating > struct share

Re: [Dovecot] New %%h variable for shared namespaces (was: New generic userdb lookup api)

2008-11-01 Thread Timo Sirainen
On Fri, 2008-10-31 at 17:12 +0200, Timo Sirainen wrote: > Hmm. The auth-master.h API could use a small change too: > auth_master_init() shouldn't try to connect to auth socket yet (so it > would never fail). auth_master_user_lookup() instead would try to > connect there if the connection is missin

Re: [Dovecot] New %%h variable for shared namespaces (was: New generic userdb lookup api)

2008-10-31 Thread Timo Sirainen
On Tue, 2008-10-28 at 14:11 +0100, Sascha Wilde wrote: > Sascha Wilde <[EMAIL PROTECTED]> writes: > > Ok, as discussed I have made some changes (hopefully improvements) in > > the new "auth-master" API for userdb requests... > > And using this new I finally put a first alpha version of the missing

Re: [Dovecot] New %%h variable for shared namespaces (was: New generic userdb lookup api)

2008-10-28 Thread Sascha Wilde
Sascha Wilde <[EMAIL PROTECTED]> writes: > Ok, as discussed I have made some changes (hopefully improvements) in > the new "auth-master" API for userdb requests... And using this new I finally put a first alpha version of the missing %%h variable for shared name spaces together. See http://hg.int