creating my own auth_module for saslauthd
francis joseph
pilotex2001 at hotmail.com
Tue Apr 13 11:58:09 EDT 2010
I did but saslauthd still says: set_auth_mech : unknown authentication mechanism: radius
In fact if we take a look in Makefile.am and Makefile.in all the auth_mechanisms .c and .h files are referreced although when you compile only 4 of them are being used by saslatuhd (pam rimap shadow ...). So this shows that to install a new mechanism you have to work out with Cyrus dependencies files.
The problem is to find where Cyrus check the dependencies like if got unix -> enable shadow, if got ldap -> auth_ldap enable.
I have seen some referrences to some file in /deps/md5.Po and maybe i need to write a radius.Po file, but i can't find that folder neither a .Po file in cyrus folder.
> Date: Tue, 13 Apr 2010 09:15:14 -0500
> From: dwhite at olp.net
> To: pilotex2001 at hotmail.com
> CC: cyrus-sasl at lists.andrew.cmu.edu
> Subject: Re: creating my own auth_module for saslauthd
>
> On 12/04/10 16:58 +0200, francis joseph wrote:
> >I am trying to create my own authentifying module for saslauthd plugins.
> >In fact my goal is to to authentificate thru a radius server (For specific needs, I can't use the PAM)
> >The problem is that when I put all my implementation of the authentification function in auth_shadow.c and auth_shadow.h it works fine but when i make my own files auth_radius.c and auth_radius.h it doesn't although i declared my module in mechanisms.h and mechanism.c.
> >
> >I found that the problem is during cyrus sasl compilation it checks the OS (unix for me) and install only the appropiate mechanisms (PAM GETPWENT SHADOW RIMAP). So auth_radius mechanism isn't being in account by saslauthd. How can I force cyrus sasl to include my own authentification mechanisms with saslauthd ?
> >
> >I was thinking about writting in hard a new lin in the mech_list instance. Anyone knows how to walkthough this problem ?
>
> You'll also need to modify Makefile.am/Makefile.in to include your new .c
> and .h files, and rerun configure.
>
> --
> Dan White
_________________________________________________________________
Consultez gratuitement vos emails Orange, Gmail, Free, ... directement dans HOTMAIL !
http://www.windowslive.fr/hotmail/agregation/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20100413/28e29a2f/attachment.html
More information about the Cyrus-sasl
mailing list