file realms and Mysql
Hello, I use freeradius-0.3 and Mysql. Authenticate and accounting work ok. When I add records in file realms for certain domens there are not any changes. Remote by certain domen to another radius don't work too. The tail of my radiusd.conf looks like this: authorize { preprocess counter suffix sql } authtype SQL { sql } preacct { suffix preprocess } accounting { acct_unique detail counter radutmp sql } session { radutmp } The realms file looks like this: # Realm Remote server [:port] Options # - --- sss.com LOCAL nostrip vinnitsa.comLOCAL bum.com ip address1 nostrip ooo.com ip address2 nostrip If user connect with realm bum.com or ooo.com he must be remote to another radius (ip address1 or p address2 ) but it is not work and user has itsauthentication and accounting on LOCAL radius. Where is my mistake? Thanks, Sveta - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Filed to link to module 'rlm_counter'
Hi, I want use module 'rlm_counter' but when i start radiusd i have error: radiusd.conf[600] Filed to link to module 'rlm_counter': file not found . And i have configure.log in /modules/rlm_counter/ where i see that: configure:531: checking how to run the C preprocessor configure:614: checking for gdbm.h configure:628: cc -c -g -O2 -pthread -D_THREAD_SAFE -D_REENTRANT -Wall -D_GNU_SOURCE -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs conftest.c 1>&5 configure:622: gdbm.h: No such file or directory configure: failed program was: #line 621 "configure" #include "confdefs.h" #include int main() { int a = 1; ; return 0; } ..... What can I do? Thanks Sveta - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
About realms
Hi, I am currently installing freeradius-snapshot-20010709 and use it with Mysql. Freeradius and MySql run on a different servers. In realms file of radius inpit such lines realm1 IP-address-of-freeradiusnostrip realm2 IP-address-of-freeradiusnostrip ... In radcheck table user names look like username@realm1, username@realm2. It there possibility to accomplish such algorithm of authentication: If I receive user name without realm I should add to this name every realm in order from an table which contains list of realms till user will be authenticated in my radcheck table. And after authentication Mysql must writes in radacct table records for user with realm. Thanks for your help. Sveta - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
(no subject)
Hi David, I use freeradius with MySQL. What is it Value=encrypt('david','da')? I did not use radtest, I only configured radiusd.conf, sql.conf, clients file and added record in table user and table db of database mysql. Then I call via vpn on freeradius and MySQL work. In radchek I input record such insert into radchek (UserName,Attribute,Value) values("sveta","Crypt-Password",ENCRYPT("tttdfg90")); What say your radius.log and mysql.trace? Sveta - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
(no subject)
David Did you write sql in accounting module in radiusd.conf? I use freeradius with MySQL and call via vpn (use putch ppp for radius ). My radiusclient does only authentication. Sveta - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
proxy does not work(use freeradius+mysql)
Hello 1. I use two freeradiuses and mysql. First freeradius should send query to second (remote freeradius). And second radius must authentication and accounting via Mysql. If I use one freeradius and Mysql everything works exellent. Nothing works when I use two radiuses. I configurd according documentation doc/proxy the proxy.conf and clients files on first and second freeradiuses. 2. Is there any possibility to use only one radius which could forward query by realm to mysql which situated on another server? I would apreciate any help Svetlana - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html