Thanks for the reply ... I solved this problem by making some changes in Makefile. added below lines in Makefile to solve Faulty module pam_radius_auth.so error.<div><br></div><div><div>md5.o: md5.c md5.h</div><div> $(cc) $(CFLAGS) -c md5.c -o md5.o</div><br>On Mon, 31 Jan 2011 17:12:49 , freeradius-users-request@lists.freeradius.org wrote<br>Send Freeradius-Users mailing list submissions to<br>
freeradius-users@lists.freeradius.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
http://lists.freeradius.org/mailman/listinfo/freeradius-users<br>
or, via email, send a message with subject or body 'help' to<br>
freeradius-users-request@lists.freeradius.org<br>
<br>
You can reach the person managing the list at<br>
freeradius-users-owner@lists.freeradius.org<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Freeradius-Users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Treating octets as string (Alan DeKok)<br>
2. Faulty module pam_radius_auth.so (vijay s sheelavantar)<br>
3. Re: Faulty module pam_radius_auth.so (Peter Lambrechtsen)<br>
4. Exec Module FreeRADIUS Version 2.1.8 (hollman.diaz)<br>
5. Re: deny access with huntgroups (tragus)<br>
6. max_requests and db connection and oracle issues? (Omer Faruk SEN)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 30 Jan 2011 17:09:41 +0100<br>
From: Alan DeKok <aland@deployingradius.com><br>
Subject: Re: Treating octets as string<br>
To: FreeRadius users mailing list<br>
<freeradius-users@lists.freeradius.org><br>
Message-ID: <4D458D45.5090705@deployingradius.com><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
Brian Candler wrote:<br>
> OK, I've had a go at a patch. You can find it at<br>
> https://github.com/candlerb/freeradius-server/tree/candlerb/string_expansion<br>
> <br>
> Aside: I guess you can't use this if you have an 'octets' value with an<br>
> embedded null. If I set<br>
<br>
That's easy enough to fix, and the server already includes code to<br>
handle non-printable characters in a string.<br>
<br>
> Also, while doing this I also discovered a bug in the %{integer:...}<br>
> expansion: it will cause freeradius to segfault if the vp is known in the<br>
> dictionary but is not present in the request (radius_get_vp will return true<br>
> but set vp to NULL). The fix is also in that branch, but I'll post it here<br>
> too:<br>
<br>
Whoops. That needs fixing, yes.<br>
<br>
I've pushed fixes to the git repository.<br>
<br>
Alan DeKok.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: 31 Jan 2011 01:07:54 -0000<br>
From: "vijay s sheelavantar" <s_vijay65@rediffmail.com><br>
Subject: Faulty module pam_radius_auth.so<br>
To: "freeradius-users" <freeradius-users@lists.freeradius.org><br>
Message-ID: <20110131010754.9001.qmail@f4mail211.rediffmail.com><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello Friends,<br>
I have compiled pam_radius_auth.so for MIPS architecture. I am linking the libraries as follows. $(LD) -Bshareable pam_radius_auth.o md5.o -lpam -o pam_radius_auth.soI tried by linking (-lc) also. but authentication is failing. I have captured the log from /var/log/auth.log. and it says the error as below.<br>
Jan 31 10:11:10 (none) sshd[25680]: PAM unable to dlopen(/lib/security/pam_radius_auth.so)Jan 31 10:11:10 (none) sshd[25680]: PAM [dlerror: /lib/security/pam_radius_auth.so: undefined symbol: pra_MD5Init]Jan 31 10:11:10 (none) sshd[25680]: PAM adding faulty module: /lib/security/pam_radius_auth.so<br>
kindly help me to solve this problem.<br>
Thanks and Regards,<br>
VIJAY S.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <https://lists.freeradius.org/pipermail/freeradius-users/attachments/20110131/d0e03a41/attachment.html><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 31 Jan 2011 14:50:25 +1300<br>
From: Peter Lambrechtsen <plambrechtsen@gmail.com><br>
Subject: Re: Faulty module pam_radius_auth.so<br>
To: FreeRadius users mailing list<br>
<freeradius-users@lists.freeradius.org><br>
Message-ID:<br>
<AANLkTinPWP8pZYQtA=gg-7OswJzXNQ5nLe+sP4FPaH3X@mail.gmail.com><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
You may have the same problem as we did with how UNIT4 was defined.<br>
<br>
http://lists.freeradius.org/pipermail/freeradius-users/2010-September/msg00637.html<br>
<br>
In the radius.h<br>
<br>
-typedef unsigned long UINT4;<br>
+typedef uint32_t UINT4;<br>
<br>
Cheers<br>
<br>
Peter<br>
<br>
On Mon, Jan 31, 2011 at 2:07 PM, vijay s sheelavantar <<br>
s_vijay65@rediffmail.com> wrote:<br>
<br>
> Hello Friends,<br>
><br>
> I have compiled pam_radius_auth.so for MIPS architecture. I am linking the<br>
> libraries as follows.<br>
> * $(LD) -Bshareable pam_radius_auth.o md5.o -lpam -o pam_radius_auth.so*<br>
> I tried by linking (-lc) also. but authentication is failing. I have<br>
> captured the log from /var/log/auth.log. and it says the error as below.<br>
><br>
> Jan 31 10:11:10 (none) sshd[25680]: PAM unable to<br>
> dlopen(/lib/security/pam_radius_auth.so)<br>
> Jan 31 10:11:10 (none) sshd[25680]: PAM [dlerror:<br>
> /lib/security/pam_radius_auth.so: undefined symbol: pra_MD5<br>
> Init]<br>
> Jan 31 10:11:10 (none) sshd[25680]: PAM adding faulty module:<br>
> /lib/security/pam_radius_auth.so<br>
><br>
> kindly help me to solve this problem.<br>
><br>
> Thanks and Regards,<br>
> VIJAY S.<br>
><br>
><br>
> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?><br>
> -<br>
> List info/subscribe/unsubscribe? See<br>
> http://www.freeradius.org/list/users.html<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <https://lists.freeradius.org/pipermail/freeradius-users/attachments/20110131/a3f64a46/attachment.html><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Sun, 30 Jan 2011 17:50:32 -0800 (PST)<br>
From: "hollman.diaz" <hollman.diaz@gmail.com><br>
Subject: Exec Module FreeRADIUS Version 2.1.8<br>
To: freeradius-users@lists.freeradius.org<br>
Message-ID: <1296438632053-3363953.post@n5.nabble.com><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
<br>
Hi everybody<br>
<br>
I'm trying to change the Auth-Type attribute with an external application.<br>
I'm using FreeRADIUS Version 2.1.8 and Ubuntu 10.04<br>
<br>
What files do I should modify?<br>
I have tried with:<br>
<br>
/etc/freeradius/radiusd.conf:<br>
...<br>
instantiate {<br>
#<br>
# Allows the execution of external scripts.<br>
# The entire command line (and output) must fit into 253 bytes.<br>
#<br>
# e.g. Framed-Pool = `%{exec:/bin/echo foo}`<br>
exec ven{<br>
wait = yes<br>
program = "/etc/disconnect/php return.php<br>
%{Calling-Station-Id}"<br>
input_pairs = request<br>
output_pairs = reply<br>
shell_escape = yes<br>
}<br>
<br>
/etc/freeradius/sites-enabled/default<br>
post-auth {<br>
...<br>
exec ven{<br>
wait = yes<br>
program = "/etc/disconnect/php return.php<br>
%{Calling-Station-Id}"<br>
input_pairs = request<br>
output_pairs = reply<br>
shell_escape = yes<br>
}<br>
<br>
/etc/freeradius/modules/exec<br>
...<br>
# See also "echo" for more sample configuration.<br>
#<br>
exec ven{<br>
wait = yes<br>
program = "/etc/disconnect/php return.php<br>
%{Calling-Station-Id}"<br>
input_pairs = request<br>
output_pairs = reply<br>
shell_escape = yes<br>
}<br>
<br>
And /etc/freeradius/users:<br>
...<br>
DEFAULT Auth-Type := '%{exec:/etc/disconnect/php return.php<br>
%{Calling-Station-Id}}'<br>
Fall-Through = No<br>
<br>
External application is /etc/disconnect/return.php and it returns Accept or<br>
Reject values.<br>
<br>
I have read several forums but I do not understand the procedure. I would<br>
appreciate a step by step procedure :)<br>
<br>
<br>
Running freeradius -X, I get (with no modifications in<br>
/etc/freeradius/users):<br>
...<br>
Module: Checking session {...} for more modules to load<br>
Module: Checking post-proxy {...} for more modules to load<br>
Module: Checking post-auth {...} for more modules to load<br>
/etc/freeradius/sites-enabled/default[464]: Failed to find module "exec".<br>
/etc/freeradius/sites-enabled/default[435]: Errors parsing post-auth<br>
section. <br>
<br>
Line 464 is <br>
exec ven{<br>
<br>
and line 435 is<br>
post-auth {<br>
<br>
Thanks in advance,<br>
<br>
Hollman Diaz<br>
-- <br>
View this message in context: http://freeradius.1045715.n5.nabble.com/Exec-Module-FreeRADIUS-Version-2-1-8-tp3363953p3363953.html<br>
Sent from the FreeRadius - User mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Sun, 30 Jan 2011 23:27:11 -0800 (PST)<br>
From: tragus <francois.michaud91@laposte.net><br>
Subject: Re: deny access with huntgroups<br>
To: freeradius-users@lists.freeradius.org<br>
Message-ID: <1296458831303-3364120.post@n5.nabble.com><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
<br>
hello, I read your talks and I have the same problem, what you said help me,<br>
but I can't find the right request to make in<br>
/etc/raddb/sites-enabled/default in the section authorize just under<br>
preprocess, can you send to me the request you have made. I will be so<br>
thanksfull. <br>
-- <br>
View this message in context: http://freeradius.1045715.n5.nabble.com/deny-access-with-huntgroups-tp2780330p3364120.html<br>
Sent from the FreeRadius - User mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Mon, 31 Jan 2011 09:58:05 +0200<br>
From: Omer Faruk SEN <omerfsen@gmail.com><br>
Subject: max_requests and db connection and oracle issues?<br>
To: FreeRadius users mailing list<br>
<freeradius-users@lists.freeradius.org><br>
Message-ID:<br>
<AANLkTikjcHvJv+PeWL9Hnf+=T=FgUY_61zmTkL0iMF8Y@mail.gmail.com><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
Hi,<br>
<br>
How can I see the online radius sessions on a certain time? Btw I am<br>
having db connection issues but there is no log at radius.log about db<br>
connection reset or connection problems. How can i see active db<br>
sessions used by radiusd? I want to correlate radiusd connections and<br>
db connections<br>
<br>
Also my db connection string is :<br>
<br>
RADIUSDB=(DESCRIPTION=(LOAD_BALANCE=yes)(FAILOVER=on)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=XXX.YYY.ZZZ.TTT)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=AAA.BBB.CCC.DDD)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=QQQ.WWW.RRR.TTT)(PORT=1521)))(CONNECT_DATA=(SERVER=dedicated)(SERVICE_NAME=RADIUSDB)(failover_mode=<br>
(type = session) (method = basic)(RETRIES=180)(DELAY=5))))<br>
<br>
Is this a supported method for FreeRadius Daemon? I have 3 servers<br>
with failover. Does radiusd support failover method used here?<br>
<br>
regards.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
-<br>
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html<br>
<br>
<br>
End of Freeradius-Users Digest, Vol 69, Issue 104<br>
*************************************************<br>
</div><br><A HREF="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><IMG SRC="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></A>