Re: Freeradius 1.0.1 build problems on RH9

2004-12-23 Thread L.C. (Laurentiu C. Badea)
Install zlib-devel If you are building vanilla 1.0.1 you should instead rebuild it from Fedora 3 src rpm. Just download freeradius-1.0.1-1.src.rpm and rpmbuild --rebuild freeradius-1.0.1-1.src.rpm -- L.C. (Laurentiu C. Badea) [EMAIL PROTECTED] wrote: I am attempting to build FR 1.0.1 on a RH9

Re: rlm_ldap configuration error

2004-12-17 Thread L.C. (Laurentiu C. Badea)
Someone sent a more plausible explanation - look for the email about the order-sensitive linker. -- L.C. kevin J wrote: I don't know the reason but it still has a problem. I double checked all links but couldn't find any lber link in sys. I am not sure if there is any version dependency in

Re: discarding duplicate request - but duplicate it is not

2004-12-16 Thread L.C. (Laurentiu C. Badea)
forever. That's why the problem is easily reproducible with /bin/true or any non-existent path, but not with /bin/sleep 0.01 (for example). I can't reproduce this in a standalone program without threads, so I am guessing threads have something to do with this. Hmm. -- L.C. (Laurentiu C. Badea

Re: discarding duplicate request - but duplicate it is not

2004-12-15 Thread L.C. (Laurentiu C. Badea)
Alan DeKok wrote: Ah. From what I recall, it's a Linux kernel bug when threads semaphores are used together. Using a 2.4.x kernel solves the problem. With Red Hat 9 and the 2.4.20-8 kernel it does the same thing (same freeradius as before but rebuilt for RH 9 from the src.rpm). So it seems

Re: authorize ?

2004-12-15 Thread L.C. (Laurentiu C. Badea)
or nothing here, but where you would you rather take a small loss ? -- L.C. (Laurentiu C. Badea) - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: authorize ?

2004-12-15 Thread L.C. (Laurentiu C. Badea)
I am not sure why I even wrote that. Sidetrack nullified, we shall leave it at authentication. :) -- L.C. (Laurentiu C. Badea) - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: discarding duplicate request - but duplicate it is not

2004-12-15 Thread L.C. (Laurentiu C. Badea)
unblocking SIG_CHLD (threads.c:1058). Not sure if this is intentional or not. Neither of these affect my issue, unfortunately, so I'll keep looking. -- L.C. Alan DeKok wrote: L.C. (Laurentiu C. Badea) [EMAIL PROTECTED] wrote: With Red Hat 9 and the 2.4.20-8 kernel it does the same thing (same freeradius

Re: authorize ?

2004-12-15 Thread L.C. (Laurentiu C. Badea)
Alan DeKok wrote: L.C. (Laurentiu C. Badea) [EMAIL PROTECTED] wrote: There's no reason to separate those two sections. They're exactly the same thing. I believe they are functionally different I still don't see why. Processing of the two sections would happen after authentication, and you

Re: krb5 errors when compiling on Fedora Core 3

2004-12-15 Thread L.C. (Laurentiu C. Badea)
} \ --with-rlm-krb5-include-dir=/usr/kerberos/include -- L.C. (Laurentiu C. Badea) E. Dean Sahutske wrote: Is there no one whose seen this or had this happen to them? Is Fedora not an appropriate platform for Freeradius? dean [EMAIL PROTECTED] wrote: Has anyone seen this when trying

Re: rlm_ldap configuration error

2004-12-14 Thread L.C. (Laurentiu C. Badea)
Looks like it's loading a newer libldap with an older liblber. Make sure you do not have liblber.so/liblber.a somewhere else on the system where the linker could pick it up instead of the one you compiled. -- L.C. (Laurentiu C. Badea) kevin J wrote: Somebody tried to help me out but I am still

Re: authorize ?

2004-12-14 Thread L.C. (Laurentiu C. Badea)
Alan DeKok wrote: L.C. (Laurentiu C. Badea) [EMAIL PROTECTED] wrote: 3) authorize/authorization for restrictions on validated users. 4) post-auth to allocate IPs and add other attributes to the reply There's no reason to separate those two sections. They're exactly the same thing. I believe

Re: authorize ?

2004-12-14 Thread L.C. (Laurentiu C. Badea)
-case deadlines and reality insists on diverging significantly from that ideal. -- L.C. (Laurentiu C. Badea) Alan DeKok wrote: L.C. (Laurentiu C. Badea) [EMAIL PROTECTED] wrote: On the other hand, it is well-known that generally an authorization stage immediately follows authentication, which

discarding duplicate request - but duplicate it is not

2004-12-14 Thread L.C. (Laurentiu C. Badea)
= user2\nPassword = p2\nNAS-Port = 2\nNAS-IP-Address = 127.0.0.2\n' | radclient localhost auth testing123 echo -e 'User-Name = user3\nPassword = p3\nNAS-Port = 3\nNAS-IP-Address = 127.0.0.3\n' | radclient localhost auth testing123 [rinse and repeat for 4,5,6...] Any ideas ? -- L.C. (Laurentiu C

Re: installaion problem

2004-12-08 Thread L.C. \(Laurentiu C. Badea\)
I'm afraid to point the obvious, but I believe there is no need to compile freeradius on Fedora 2, seeing as it comes with it. Am I missing something ? While installing Freeradius 1.0.1, i managed to run ./configure, however.. I'm unable to run 'make' in my Fedora Core 2. gives me error Any idea

Re: migrating external programs from xtradius to freeradius

2004-12-08 Thread L.C. \(Laurentiu C. Badea\)
Thank you Alan and Paul for your replies. Freeradius converts the attribute names to make them more like standard sh variables. It also wraps the string values in double quotes, such that echo ${USER_NAME} yields username. The first issue is a result of deciding that '-' is a magic

authorize ?

2004-12-08 Thread L.C. (Laurentiu C. Badea)
everything else together in that section makes the config file difficult to parse due to known concepts being given different meanings. -- L.C. (Laurentiu C. Badea) - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: authorize ?

2004-12-08 Thread L.C. (Laurentiu C. Badea)
with it :) -- L.C. (Laurentiu C. Badea) - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

migrating external programs from xtradius to freeradius

2004-12-07 Thread L.C. \(Laurentiu C. Badea\)
As the subject says, I am currently using xtradius in production with external programs for authentication and accounting. Freeradius is very similar in its handling of external scripts, but has its own peculiarities which made things a bit more complicated than they should be: Xtradius puts