1 message in net.sourceforge.lists.courier-users[courier-users] custom authentication...
FromSent OnAttachments
CcR Nothing's ImpossibleAug 21, 2007 12:33 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] custom authentication linking with external radius library.Actions...
From:CcR Nothing's Impossible (lafi@hotmail.com)
Date:Aug 21, 2007 12:33:33 am
List:net.sourceforge.lists.courier-users

Hello all,

I am attempting to build a custom authentication handler for radius server. I download the radiusclinet moudle, installed it and include it on preauthcustom.c file. I have installed automke and autoconf as well.

i append following lines in the Makefile.am in sbin_PROGRAMS authcustom

authcustom.libsdep= libradiusclient.la authcustom_LDADD=libradiusclient.la

libradiusclient.la is a link file of '/usr/local/lib/libradiusclient.la' located on the courier-authlib.

When i do automake following messages appers : Makefile.am: object `authcustom.$(OBJEXT)' created both with libtool and without.

I did ./configure -> no error make -> no error make install -> no error

But when i tried to authenticate from authdaemon using courier-imap it give me following error :

authdaemond: /usr/local/libexec/courier-authlib/authdaemond: symbol lookup error: /usr/local/lib/courier-authlib/libauthcustom.so.0: undefined symbol: rc_conf_str

rc_conf_str is the function used in the preauthcustom.c whose defination is present in the library /usr/local/lib/libradiusclient.la.

Please someone help me out and let me know how to fix this error..!!

Best Regards Shishir

_________________________________________________________________ Find a local pizza place, movie theater, and more http://maps.live.com/default.aspx?v=2&ss=yp.bars~yp.pizza~yp.movie%20theater&cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=950607&encType=1&FORM=MGAC01