Re: (no subject).. compiling freeradius with mysql.... solved

2002-04-02 Thread Aqeel Anwar

Hi
Thanks NN for your cooperation. I have found the
problem. the env variable LD_LIBRARY_PATH was not
working properly as it was not defined in proper login
script. After adding the following line in .profile,
everything worked fine.

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

A small mistake but big problem.

Thanks again
Aqeel
-- Nikodim Nikodimov [EMAIL PROTECTED] wrote:
 Well I don't know how is it with shared libraries in
 Solaris...:((
 see this information in the beginning of the
 rasius.conf file
 
 #
 # libdir: Where to find the rlm_* modules.
 #
 #   This should be automatically set at
 configuration time.
 #
 #   If the server builds and installs, but fails at
 execution time
 #   with an 'undefined symbol' error, then you can
 use the libdir
 #   directive to work around the problem.
 #
 #   The cause is usually that a library has been
 installed on your
 #   system in a place where the dynamic linker
 CANNOT find it.  When
 #   executing as root (or another user), your
 personal environment MAY
 #   be set up to allow the dynamic linker to find
 the library.  When
 #   executing as a daemon, FreeRADIUS MAY NOT have
 the same
 #   personalized configuration.
 #
 #   To work around the problem, find out which
 library contains that symbol,
 #   and add the directory containing that library to
 the end of 'libdir',
 #   with a colon separating the directory names.  NO
 spaces are allowed.
 #
 #   e.g. libdir = /usr/local/lib:/opt/package/lib
 #
 #   If that does not work, then you can re-configure
 and re-build the
 #   server to NOT use shared libraries, via:
 #
 #   ./configure --disable-shared
 #   make
 #   make install
 #
 
 NN
 - Original Message -
 From: Aqeel Anwar [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, April 02, 2002 2:56 PM
 Subject: Re: (no subject).. compiling freeradius
 with mysql.
 
 
  I am using freeradius on solaris 2.7. There is no
  /etc/ld.so.conf file and also there is no ldconfig
  file. I have installed gnu binutil but still these
  files are not avaiable.
 
  Thanks for your reply.
  Aqeel
 
  --- Nikodim Nikodimov [EMAIL PROTECTED]
 wrote:
   Do you have in /etc/ld.so.conf
   /usr/local/lib
  
   this file tells where to search for shred
   libraries...if you don't put it
   and make ldconfig...to update ld.so.cache
  
   NN
  
   - Original Message -
   From: Aqeel Anwar [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Tuesday, April 02, 2002 1:21 PM
   Subject: Re: (no subject).. compiling freeradius
   with mysql.
  
  
I installed mysql from source and mysql.h is
 there
   in
include directory . With ./configure command i
   also
provided this include directory. But still I
 dont
   know
whether rlm_sql_mysql has been compiled or
 not. In
/usr/local/lib i have the following files
 related
   to
sql.
   
rlm_sql.a, rlm_sql.so.0.0.0,
 rlm_sql_mysql.so.0
rlm_sql.la, rlm_sql_mysql.a,
   rlm_sql_mysql.so.0.0.0
rlm_sql.so, rlm_sql_mysql.la, rlm_sql.so.0
rlm_sql_mysql.so
   
Thanks for your reply.
Aqeel
--- Nikodim Nikodimov [EMAIL PROTECTED]
   wrote:
 This happens probably because you don't have
 rlm_sql_mysql compiled. How did
 you install mysql?
 from source or rpm...I had the same problem,
   because
 first I had mysql from
 rpm...and I didn't have mysql.h...and some
 other
 header files...so I
 installed mysql from source...and after then
 I
 reinstalled freeradius and
 after that I had rlm_sql_mysql.

 NN

 - Original Message -
 From: Aqeel Anwar [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, April 02, 2002 12:24 PM
 Subject: (no subject)


  HI all
  I am trying to run radius with mysql. when
 i
   start
  radius the following error message is
 shown.
 
  Starting - reading configuration files ...
  Module: Loaded SQL
  rlm_sql: Could not link driver
 rlm_sql_mysql:
   file
 not
  found
  rlm_sql: Make sure it (and all its
 dependent
  libraries!) are in the search path
  of your system's ld.
  radiusd.conf[4]: sql: Module instantiation
   failed.
 
  what should i do in this case.
 
  Thanks for your help.
  Aqeel
 
 
 
 
  
 __
  Do You Yahoo!?
  Yahoo! Tax Center - online filing with
   TurboTax
  http://http://taxes.yahoo.com/
 
  -
  List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html
 


 -
 List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
   
   
   
 __
Do You Yahoo!?
Yahoo! Tax Center - online filing with
 TurboTax
http://http://taxes.yahoo.com/
   
-
List info/subscribe/unsubscribe? See
   http://www.freeradius.org/list/users.html

Re: FreeRadius and MySQL - notes...

2001-09-15 Thread Mike Machado

You asked about mysql replication. Here is a link to a guy using 
IC-RADIUS (same as FreeRADIUS as far as MySQL is concerned) and how he 
does his replication. http://www.ls-l.net/mysql/

freeradius-users wrote:
 Not wanting to jump the gun, foil any faqs, or steal any thunders, but... 
 
 Lots of people seem to be asking about FreeRadius and (My)SQL integration
 etc.  
 
 Until there's some more coherent docs, or until someone does a proper FAQ
 on it, and just in case on the off-chance someone out there finds them
 useful, I've posted some (very loose, very incomplete) note's which I
 cobbled together about how I managed to prise the two into life. They're
 at http://www.frontios.com/freeradius.html.  
 
 Regards,
 
 Scott Bartlett
 BTA Limited
 http://www.bta.com
 
 
 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
 


-- 
Mike Machado
[EMAIL PROTECTED]
InnerCite Inc.
Engineering Director / CTO


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



FreeRadius and MySQL - notes...

2001-09-13 Thread freeradius-users

Not wanting to jump the gun, foil any faqs, or steal any thunders, but... 

Lots of people seem to be asking about FreeRadius and (My)SQL integration
etc.  

Until there's some more coherent docs, or until someone does a proper FAQ
on it, and just in case on the off-chance someone out there finds them
useful, I've posted some (very loose, very incomplete) note's which I
cobbled together about how I managed to prise the two into life. They're
at http://www.frontios.com/freeradius.html.  

Regards,

Scott Bartlett
BTA Limited
http://www.bta.com


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: FreeRadius and MySQL - notes...

2001-09-13 Thread Joey Smith

I think this is the single most useful line of your entire document:

There is a file which describes this and  is  actually a SQL script
file. It can be found at freeradius/src/modules/rlm_sql/drivers/
rlm_sql_mysql/db_mysql.sql.  This  is  the  bit that isn't really 
documented anywhere (like in the FAQ) and is the thing most people 
seem to be asking.

Is there anyone out there listening who can make website updates? This
be a really good addendum to the FAQ. 

On Thu, Sep 13, 2001 at 05:56:08PM +0100, freeradius-users wrote:
 Not wanting to jump the gun, foil any faqs, or steal any thunders, but... 
 
 Lots of people seem to be asking about FreeRadius and (My)SQL integration
 etc.  
 
 Until there's some more coherent docs, or until someone does a proper FAQ
 on it, and just in case on the off-chance someone out there finds them
 useful, I've posted some (very loose, very incomplete) note's which I
 cobbled together about how I managed to prise the two into life. They're
 at http://www.frontios.com/freeradius.html.  
 
 Regards,
 
 Scott Bartlett
 BTA Limited
 http://www.bta.com
 
 
 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



FreeRadius 0.2, MySQL - Accept mode and Realms

2001-09-11 Thread freeradius-users

Greetings all,

I'm kinda new to this list and to FreeRadius (and to installing/compiling
stuff), so if this is old list news  I apologise now. ;-)

I've been playing with FreeRadius on a test box and test NAS, and so far
so good: I'm running 0.2 on Redhat 6.2 Intel authenticating to MySQL
(3.23.42). I've got FreeRadius doing basic authentication OK, although the
lack of any docs was a bit of a hinderance (where does everything go in
the database? Oh... there... etc).

But, two things: I can't get realm authentication to work (I need it to
notice and strip any @bta.com which users might have on the end of the
user names they send in), and I can't see how to to an auth-type=accept
kind of authentication (which I need too... don't ask...).

Anyone done these two things in a FreeRadius/MySQL (or other database?)
setup?

Regards,
 
Scott Bartlett
BTA Limited
http://www.bta.com



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



<    1   2