AW: AW: AW: sasl-canonuser-plugin via sql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dan,

Thanks for your hints. I didn't thought you can do both canon and auxprop
plugin in one file.
Is there any documentation on what canon_client is supposed to do? (In the
named ldap-plugin it doesn?t do anything except testing for all-whitespace
and copying user to out...)

I'll combine both and get back to the list when it is done.

Lars

-----Ursprüngliche Nachricht-----
Von: Dan White [mailto:dwhite@xxxxxxx] 
Gesendet: Montag, 26. April 2010 19:34
An: Lars Duesing
Cc: cyrus-sasl@xxxxxxxxxxxxxxxxxxxx
Betreff: Re: AW: AW: sasl-canonuser-plugin via sql

On 26/04/10 16:11 +0200, Lars Duesing wrote:
>Hi Dan,
>
>have you any improvements or such found? I'm quite curious, because I 
>hacked all together due to lack of official documentation of
canonuser-plugins.
>(only docs I found was the stripplus-demo)

I didn't get a chance to compile your code but I took a look at it.

I'd grab a copy of 2.1.24rc1 and examine the ldapdb plugin, which is a
combined auxprop and canon user plugin.

An approach I would recommend is to combine your code with the existing sql
auxprop plugin and add the appropriate canonuser_plug_init code to that
file, which should make your patch a bit smaller.

You could reuse the existing sql_* parameters for your canonuser code and
create a new parameter, i.e. sql_canon_select, that would be used to return
the canonized user.

You should also update docs/options.html with any new parameters you
introduce and some explanation of how to make use of your sql canon code.

Thanks,
--
Dan White




[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux