reconnecting to mysql

2013-09-17 Thread Edgars Makņa
Hello, I just setup 2.2.0 from freebsd ports. In the testing environment it looks okey except this error: rlm_sql_mysql: MYSQL check_error: 2006, returning SQL_DOWN rlm_sql (sql): Attempting to connect rlm_sql_mysql #1 rlm_sql_mysql: Starting connect to MySQL server for #1 rlm_sql (sql): Co

Re: Ideal SO and hardware for FreeRadius+MySQL

2012-10-30 Thread Edgars Makņa
Oh my, any linux/bsd system with 128MB of RAM or you can even try a http://www.raspberrypi.org/ :) - Original Message - From: "fknet" To: freeradius-users@lists.freeradius.org Sent: Tuesday, October 30, 2012 12:31:54 PM Subject: Re: Ideal SO and hardware for FreeRadius+MySQL What v

freeradius +mpd

2011-02-13 Thread Edgars
Hello, I'm running freebsd 8.1 with mpd 5.5, authenticating users against freeradius. After some seccon uptime pppoe link is dropped. In radius.log i see this Auth: Login OK: [test/test] (from client mpd port 2 cli 000c2906911e) Error: Received Accounting-Request packet from 10.10.10.2 with

Re: cisco freeradius problems

2007-11-08 Thread Edgars Makņa
Nobbody changed that secret. it's same for both hosts. cisco iso is an almost freshest version. Ok, will try to dig in the cisco-nas mailing list Alan DeKok wrote: Edgars Makņa wrote: a) not possible b) with client you mean cisco or end user? RADIUS client. c) not pos

Re: cisco freeradius problems

2007-11-08 Thread Edgars Makņa
a) not possible b) with client you mean cisco or end user? c) not possible Alan DeKok wrote: Edgars Makņa wrote: No, shared secret was not wrong, for this case i used "special" secret, on both hosts in configuration - 1 From one works, from other no. Nothing more was changed.

Re: cisco freeradius problems

2007-11-08 Thread Edgars Makņa
No, shared secret was not wrong, for this case i used "special" secret, on both hosts in configuration - 1 From one works, from other no. Nothing more was changed. Alan DeKok wrote: Edgars Makņa wrote: Hello I have interesting problems with freeradius authentication. NAS -

cisco freeradius problems

2007-11-07 Thread Edgars Makņa
Hello I have interesting problems with freeradius authentication. NAS - cisco 2801 radius - freeradius running on freebsd with mysql db. I had a lot of such errors in radius.log: Auth: Login incorrect (rlm_pap: CRYPT password check failed): [1-102/D\014\003\222\374\267plaza port 0) In debug outpu

Re: 'authorize' module

2005-06-21 Thread Edgars Klavinskis
sorry, man! just googled for rlm_policy and found your tread about doc under raddb/, didn't look at one under man. Edgars Alan DeKok wrote: Edgars Klavinskis <[EMAIL PROTECTED]> wrote: ok, got it. Thanks. But it is still very unclear for me how to check attributes

Re: 'authorize' module

2005-06-20 Thread Edgars Klavinskis
ok, got it. Thanks. But it is still very unclear for me how to check attributes coming from rlm_passwd files in configure_items array. Any comments or example on this? Edgars Alan DeKok wrote: Edgars Klavinskis <[EMAIL PROTECTED]> wrote: any doc on rlm_policy? Have you

Re: 'authorize' module

2005-06-20 Thread Edgars Klavinskis
any doc on rlm_policy? Edgars Alan DeKok wrote: Edgars Klavinskis <[EMAIL PROTECTED]> wrote: it not required for me to check this in authenticate section, i just though it is the only place where I could check these passwd attributes. Can you please tell me how to check t

Re: 'authorize' module

2005-06-17 Thread Edgars Klavinskis
it not required for me to check this in authenticate section, i just though it is the only place where I could check these passwd attributes. Can you please tell me how to check them in authorize section assuming that they are added to config_items? Thanks. Edgars Alan DeKok wrote: Edgars

Re: 'authorize' module

2005-06-16 Thread Edgars Klavinskis
x27;s because of the fact that someone could use not the correct realm when connecting to some box, I want to decline such persons. Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Accounting ReceiveQueue

2005-06-15 Thread Edgars Klavinskis
*:* Thanks in advance. Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: 'authorize' module

2005-06-15 Thread Edgars Klavinskis
st 0 rad_check_password: Found Auth-Type ACCEPT auth: type "ACCEPT" Processing the authenticate section of radiusd.conf modcall: entering group Auth-Type for request 0 WARNING! Asked to process empty group. Returning reject. modcall: group Auth-Type returns reject for request 0 auth: Fail

'authorize' module

2005-06-14 Thread Edgars Klavinskis
ould check NAS-IP-Address and Realm? My aim is to make it so that if the last mentioned returns "wrong", the whole request is wrong. Please assist me with ideas. Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: [Fwd: rlm_passwd & realms]

2005-06-08 Thread Edgars
rmat = "*Realm:~NAS-IP-Address:Autz-Type" } ...... edg_check Autz-Type mt { edg_pass } } Edgars Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: [Fwd: rlm_passwd & realms]

2005-06-07 Thread Edgars
returns ok for request 0 modcall[authorize]: module "chap" returns noop for request 0 modcall[authorize]: module "mschap" returns noop for request 0 rlm_realm: Looking up realm "mt" for User-Name = "[EMAIL PROTECTED]" rlm_realm: Found realm

Re: NAS info + MySQL

2005-06-06 Thread Edgars
be resend with the next accounting portion. You can send a HUP signal to make configuration files reloaded. Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: [Fwd: rlm_passwd & realms]

2005-06-06 Thread Edgars
quot;edg_check" returns ok for request 0 modcall: group authorize returns ok for request 0 auth: No authenticate method (Auth-Type) configuration found for the request: Rejecting the user auth: Failed to validate the user. Login incorrect: [edg/edg] (from client lalala port 0 cli 10.5.8.106) Th

Re: [Fwd: rlm_passwd & realms]

2005-06-02 Thread Edgars
sed > > for giving back reply attributes? > > Yes. Di dyou try it? yes, this is successfully done!Works great with two passwd files. I know that i could use also rlm_attr module.. Edgars > Alan DeKok. > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org

if statement in config file

2005-06-02 Thread Edgars
me of this rlm_passwd is placed before the one checking the password. How should i proceed in this situation. Maybe there is some IF statement allowed in the radiusd.conf? So I could write: 1stpasswd if result_of (1stpasswd) = 1 then 2ndpasswd Edgars - List info/subscribe/unsubscribe

Re: [Fwd: rlm_passwd & realms]

2005-06-02 Thread Edgars
connecting to some NAS with different realm than assigned to thi NAS) right ? Waiting for the advice! Thanks! Edgars Edgars wrote: Hello, 1)can i make so that each separate proxy.conf realm uses different rlm_passwd file? At the moment it works in a simply way - using one passwd file. 2

[Fwd: rlm_passwd & realms]

2005-06-02 Thread Edgars
anyone, please? Original Message Subject:rlm_passwd & realms Date: Wed, 01 Jun 2005 16:34:56 +0300 From: Edgars <[EMAIL PROTECTED]> To: Freeradius List Hello, 1)can i make so that each separate proxy.conf realm uses different rlm_passwd fil

Re: NAS info + MySQL

2005-06-02 Thread Edgars
/rlm_sql/drivers/rlm_sql_xxx for that. Regards, Edgars Marcin Jessa wrote: Hi Edgars. On Wed, 01 Jun 2005 16:41:15 +0300 Edgars <[EMAIL PROTECTED]> wrote: in the slq conf file set readclients=yes and make sure that nas_table=nas. In the first email I said I had that enabl

Re: NAS info + MySQL

2005-06-01 Thread Edgars
in the slq conf file set readclients=yes and make sure that nas_table=nas. Regards, Edgars Marcin Jessa wrote: Hi guys. I was wondering if the information read from the nas table is in any way used by freeradius or maybe I misread/misconfigured something? The sql.conf file has set

rlm_passwd & realms

2005-06-01 Thread Edgars
used for giving back reply attributes? Regards, Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: sequence

2005-05-27 Thread Edgars
example, rlm_passwd to modify the client's request (based on username, insert some additional attributes there), then one more rlm_passwd to check plain-text passwords, and then rlm_users to compose the reply? Thanks, Edgars Alan DeKok wrote: Edgars <[EMAIL PROTECTED]> wrot

sequence

2005-05-26 Thread Edgars
in the authentication module, what is happening if i have two sequential entries - 'sql' and after'file'. What is more prioritized? I'm asking because of i want to have non-plaintext passwords while keeping in the file or DB. Does this make sense? If there is no way then there is a plan to us

Re: radius crash

2005-05-16 Thread Edgars
've set all the permissions to the pid file. Let's see what'll happen. Edgars Lucas Aimaretto wrote: you mean radiusd -X? Can this full debug information somehow be saved in a file instead of dirrectly on the console? Edgars, you can try 'radiusd -X > radius.log

Re: radius crash

2005-05-13 Thread Edgars
you mean radiusd -X? Can this full debug information somehow be saved in a file instead of dirrectly on the console? Edgars Sebastian Wild wrote: Edgars wrote: Hello, is there any debug/error file where I could searh for the reason why the RADIUS server is stopping to work after some time

radius crash

2005-05-13 Thread Edgars
Hello, is there any debug/error file where I could searh for the reason why the RADIUS server is stopping to work after some time interval (radiusd is listed under 'ps axuf' but simply is not responding)? Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: strange Exec-Program problem

2005-05-09 Thread Edgars
okey, copied the same script file to the RADIUS server's box..the same problem occured: Error: Exec-Program: FAILED to execute Does someone have working setup similar to mine using Exec-Program attribute? DB_server<-->RADIUS_server<------>NAS Edgars Alan DeKok wrot

Re: strange Exec-Program problem

2005-05-03 Thread Edgars
from the debug mode i'm getting the following: radius_xlat: '/var/radius/scripts/count.php edgars 10.5.8.103' Exec-Program: /var/radius/scripts/count.php edgars 10.5.8.103 Exec-Program output: Exec-Program: FAILED to execute /var/radius/scripts/count.php: No such file or directo

strange Exec-Program problem

2005-05-02 Thread Edgars
: FAILED to execute /var: No such file or directory For users for which i've not set the Exec-Wait as a Reply attribute, everything work perfectly. Can someone point me could be the problem? Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

radcheck locally, radacct on another server

2005-04-28 Thread Edgars
setup. So, has anyone ideas? In the postgresql.conf i specify onlu one 'server', maybe there is some way to specify two of these and direct which query goes to which server? Thanks in advance! Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: No memory

2005-03-18 Thread Edgars
Thanks Alan! I switched back to the default freeradius dictionary and seems that that did it:) Everything is ok now. Thanks again. Edgars Alan DeKok wrote: Edgars <[EMAIL PROTECTED]> wrote: The error appears when using MSCHAPv1 or MSCHAPv2 on NAS. And the error appears insted of st

Re: No memory

2005-03-17 Thread Edgars
did some more testing on this. The error appears when using MSCHAPv1 or MSCHAPv2 on NAS. And the error appears insted of standart log message (Auth: Login OK...etc). No one hasn't similar behaviour? Edgars Edgars wrote: Hi list! still getting 'Error: No memory' in the radius.

No memory

2005-03-17 Thread Edgars
ything is ok. Can someone suggest something? Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Error: rlm_sql (sql)

2005-03-08 Thread Edgars
*Can someone tell me how to fight with the following error?: Error: rlm_sql (sql): failed after re-connect Thank you! Edgars * - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: reloading message

2005-02-28 Thread Edgars
reload the configuration files. > > > Before it there aren't any DB reloading or simi,ar messages, > > just simple authentication incorretness message. And after the above > > message apper my RADIUS server stoped to work. Any ideas? > > What version are you

reloading message

2005-02-28 Thread Edgars
tness message. And after the above message apper my RADIUS server stoped to work. Any ideas? Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Restart Freeradius when file "users" is updated

2005-02-14 Thread Edgars
*Is there any way to configure Freeradius so that the updated file "users" is read without restarting Freeradius?* use DB * * ** *If not, do we need to configure Freeradius to obtain authorized users in the database instead?* yes Edgars All help is appreciated. Thanks

Re: Expire attribute

2005-01-27 Thread Edgars
why this Expiration attribute is not mentioned in the link below?: http://www.freeradius.org/rfc/attributes.html Edgars Julius Igugu wrote: N3DERJID Max-All-Session := 18000, User-Password=="7US7VZBH", Expiration == "Sep 11 2004" Service-Type = Framed-User, Framed-Proto

unexpected message in the radius.log

2005-01-24 Thread Edgars
Hello, today figured out that on FR 1.0.1 the following Info message appears if the user enter an incorrect password: Info: rlm_sql (sql): No matching entry in the database for request from user [edgars] In the previous versions i think it was like usual - Login incorrect bla bla bla. Has this

rlm_expr error

2005-01-18 Thread Edgars
suggestions on this? Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

strange message

2004-12-30 Thread Edgars
Hi list! strange word appeared tomorrow when starting Freeradius (it was stopped for unknown reason): Thu Dec 30 10:45:10 2004 : Info: Starting - reading configuration files ... Hangup Was the RADIUS server hanged up? Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list

Re: Administration.

2004-12-17 Thread Edgars
you can try http://moon.mt.lv/radius/ But it's MikroTik orientied application. Edgars Julius Igugu wrote: Dialup Admin. It's bundled with freeradius. --- tekchip <[EMAIL PROTECTED]> wrote: Is there an administration application, possibly a web based one that will do the a

Re: Client can't get IP Address from DHCP

2004-12-09 Thread Edgars
and I don't understand '==' for Service-Type and just '=' for Framed-MTU... what's the difference ? take a look in rlm_sql under doc section. Edgars robert saab a écrit : Hi all, please give me any idea, I have installed the latest version of Freeradius and my

Error: No memory

2004-12-09 Thread Edgars
adius.log file. Any comments on this? Thanks! Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Freeradius installation problem

2004-12-08 Thread Edgars
mn - whether it's valid or not. Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

NAS behind public firewall

2004-12-02 Thread Edgars
which is unreal). I'm checking this in authorize_check_query. Is it possible to use not '%{Nas-IP-Address}' variable but something like '%{Host}' which is the IP of the public router? Thanks! Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

NAS behind Public firewall

2004-12-01 Thread Edgars
which is unreal). I'm checking this in authorize_check_query. Is it possible to use not '%{Nas-IP-Address}' variable but something like '%{Host}' which is the IP of the public router? Thanks! Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

nasipaddress as DNS name

2004-11-30 Thread Edgars
is it possible in some way to keep the NAS ip address in for of DNS name in the postgresql DB? i can add the DNS name to the 'nas' table but how will freeradius respond to this - will it automatically resolve it to IP address? It's all necessary in case of dynamic IPs.. Edga

Re: sqltrace an other logs

2004-11-30 Thread Edgars
Hello, If the 'radutmp' and 'radutmp sradutmp' sections ar completely commented, the radius server wouldn't start. If only the content of these modules are commented then anyway, the logs are written to all three files. Any other idea? Edgars Thor Spruyt wrote: Edgars

sqltrace an other logs

2004-11-26 Thread Edgars
Hello! can i disable the subj. logging. I want to disable writeing in sqltrace.sql, radutmp and radwtmp files. Can someone tell me where can i do that? I saw in radiusd.conf there radutmp section, could that be commented? Thank you anyway! Edgars - List info/subscribe/unsubscribe? See http

feature request

2004-11-26 Thread Edgars
st, i must go through all the file. Thanks! Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

to Kostas Kalevras!

2004-11-15 Thread Edgars
doesn't this project recall something? dialpup-admin2? www.dmasoftlab.com <http://www.dmasoftlab.com> Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

'nas' table structure

2004-11-09 Thread Edgars
Hello, does the order of colums in the 'nas' table make sense? I asking because, when i dropped 2nd column then added it, the radius 'stopped' to work. Errors like below are appearing in the logs: Tue Nov 9 18:28:13 2004 : Auth: Login incorrect: [edgars/,\314\334xv\023\216

accounting file question

2004-10-25 Thread Edgars
can someone tell me what kind of information is kept in the 'radutmp' and 'radwtmp' files? Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

pid question

2004-10-22 Thread Edgars
iguration files ... radiusd Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: user lost connectivity

2004-10-18 Thread Edgars
Kyriaki, your help will be gratly appreciated! Edgars Kyriaki Gali wrote: yes i think it will work. see sql.conf if you can do something like that. i don't think to have any problem if i'll try it i'll tell you. Kyriaki Gali, IT Applications Specialist Kinetix Tele.com Support Ce

Re: user lost connectivity

2004-10-18 Thread Edgars
i know that my nas is sending Lost_Carrier as Acct-Terminate-Cause value. So in some way i should put that stoptime in the radacct table manually when this happens. Maybe some trigger on accounting_update_query? Edgars Kyriaki Gali wrote: yes i know it is a problem and i don't know if we c

[Fwd: Re: user lost connectivity]

2004-10-15 Thread Edgars
i already have such a filed in radacct and it's staying to NULL value if this happens. Edgars Kyriaki Gali wrote: This is a problem i don't know if there is a way to fix this but I suggest in radacct table to insert a field to get the disconnect cause, so if you haven't AcctStopTim

user lost connectivity

2004-10-15 Thread Edgars
Hello, is there anyway how to write acctstoptime when the user is loosing connectivity with his NAS? After this happens the user is promted to login again but the previous acctstoptime stays blank. Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

postgresql port

2004-10-14 Thread Edgars
Hi! can someone tell me where in freeradius config/source files i can change subj.? Thanks! Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: radius.log question

2004-10-13 Thread Edgars
but the user is using a password for authentication.. Edgars Anson Rinesmith wrote: Most likely, the user did not enter a password to be sent. Thus no User-Password attribute. -Original Message- From: [EMAIL PROTECTED] [mailto:freeradius- [EMAIL PROTECTED] On Behalf Of Edgars Sent

radius.log question

2004-10-13 Thread Edgars
Hello! i can't find out why the following sentance is appearing in the line below - ...: Auth: Login OK: [a/] (from client uz galda port 12534 cli 1.1.1.2) Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

double echo from script-file

2004-10-12 Thread Edgars
ything's ok. So can someone suggest how to solve the problem? Thanks! Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: exec-program & exec-program-wait

2004-10-07 Thread Edgars
ok, thanks a lot for the information! Edgars Thor Spruyt wrote: Edgars wrote: can someone tell me what is the difference between these attributes? Exec-Program executes a program without waiting for any output from the program. Exec-Program executes a program and waits for any output from

exec-program & exec-program-wait

2004-10-07 Thread Edgars
Hello, can someone tell me what is the difference between these attributes? Does the first one call for a script before authentication, the second one after? Thanks! Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

rlm_sql error

2004-10-06 Thread Edgars
Hello, what could cause such errors appear? Wed Oct 6 15:22:25 2004 : Error: rlm_sql (sql): failed after re-connect Wed Oct 6 15:22:25 2004 : Error: rlm_sql_getvpdata: database query error Wed Oct 6 15:22:25 2004 : Error: No memory Wed Oct 6 15:22:25 2004 : Auth: Login OK: [edgars/] (from

No memory error

2004-10-04 Thread Edgars
Hello, i'm finding in logs such errors. But i know that there is 40MB free memory on the radius server, so how it could be explained? Mon Oct 4 17:02:58 2004 : Error: No memory Mon Oct 4 17:02:58 2004 : Auth: Login OK: [edgars/] (from client Test port 46 cli 1.1.1.2) Mon Oct 4 17:04:05

Re: Exec-Program help

2004-10-04 Thread Edgars
Hello, see what's written in logs. Try Exec-Program-Wait instead. Edgars Ivo Petrov wrote: Hi all, I have a problem using Exec-Program. I've put the line in radreply table (4,'test1','Exec-Program',':=','/path/script') but the script was not execu

Re: Kill online user

2004-10-04 Thread Edgars
Hello, RouterOS will have such a feature that you can kick user from radius server off while he is online. Edgars Nurul Faizal Bin M.Shukeri wrote: Hi again, How am I going to kill online users other than radkill, may be ucd-snmp. Anyone can help me.. **Nurul Faizal Bin M.Shukeri** Pusat

Re: Counter module

2004-09-30 Thread Edgars
for me Max-Daily-Session and Max-Monthly-Session acts as simple Session-Timeout (someone has got them to work as they are made for?), but Max-All-Session works as it should. Edgars Alan DeKok wrote: [EMAIL PROTECTED] wrote: Processing the autenticate section of radiusd.conf modcall: entering

Re: SQL db failover

2004-09-30 Thread Edgars
ok, thanks for the input. So, what can someone suggest what configuration should i add only for such a case: if sql1 is down then go and search for the user to sql2? Edgars Alan DeKok wrote: "Cris Boisvert" <[EMAIL PROTECTED]> wrote: $INCLUDE ${confdir}/sql.conf $INCLUDE

Re: SQL db failover

2004-09-29 Thread Edgars
radiusd.conf[11] Failed to link to module 'rlm_sql1': rlm_sql1.so: cannot open shared object file: No such file or directory where could be the problem? thanks! Edgars Kostas Kalevras wrote: On Tue, 28 Sep 2004, Paul wrote: What i need is failover for accounting and session tracking. Aut

Re: another error in logs

2004-09-21 Thread Edgars
Alan, there is nothing wrong in debug mode, everythings goes flawesly.But in radius logs there are a plenty of these. Approximately every 10 seconds: Tue Sep 21 15:02:34 2004 : Auth: Login OK: [edgars/edgars] (from client edgara_tests port 1483 cli 1.1.1.2) Tue Sep 21 15:03:09 2004 : Error

negative value under acctsessiontime

2004-09-20 Thread Edgars
Hello list! sometimes i'm having problems with the subj. in the 'radacct' table,but it's for a little while,then it's again OK with timing. Any known issues about this? Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: another error in logs

2004-09-17 Thread Edgars
Thanks Thor! would you be so kind and telll me how exactly is named this arameter in the radiusd.conf? there are some delays, but not sure that i'll change the correct one:) Edgars Thor Spruyt wrote: Edgars wrote: Error: Dropping conflicting packet from client Hotspot:2461 - ID: 24 d

another error in logs

2004-09-17 Thread Edgars
sorry to bother but how can i fight with this error which is appearing al the time an is 95% of all log content? Error: Dropping conflicting packet from client Hotspot:2461 - ID: 24 due to unfinished request 3186 Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list

Re: error in logs

2004-09-17 Thread Edgars
i realized where was the problem. nasportid type by default was integer,i suggest to put it as bigint in that ready db structure file. Edgars Edgars wrote: Hello, can someone explain what does this error below mean? Error: rlm_sql (sql): Couldn't insert SQL accounting ALIVE record -

error in logs

2004-09-17 Thread Edgars
Hello, can someone explain what does this error below mean? Error: rlm_sql (sql): Couldn't insert SQL accounting ALIVE record - ERROR: value "2152726759" is out of range for type integer Thank you! Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: exec-program-wait attribute to script

2004-09-08 Thread Edgars
Cheers Jerlique! it works now:) Edgars Jerlique Ban wrote: Hi, can't figure out how the attributes are sent to my PHP script,how do hey look in this file. Can someone help on this issue? I'm sending 2 attributes Exec-Program-Wait='/usr/local/sbin %C{User-Name} %C{Nas-IP-Address

exec-program-wait attribute to script

2004-09-08 Thread Edgars
Hello, can't figure out how the attributes are sent to my PHP script,how do hey look in this file. Can someone help on this issue? I'm sending 2 attributes Exec-Program-Wait='/usr/local/sbin %C{User-Name} %C{Nas-IP-Address}' So how they are called now under my PHP file? Th

Re: auth-type:=reject problem

2004-09-08 Thread Edgars
no i tried with routers - one is connecting to other one via PPTP connection. Thanks! Edgars Paul Argentoff wrote: Dear Edgars , Let E = "Edgars " in written_by E => E> any known issues why the subj. doesn't work when specified in the DB? With win clients? -

Re: exec-program as unknown attribute

2004-09-07 Thread Edgars
thnks Alan! i've already found that i had a space after the attribute which has been written in the DB. Edgars Alan DeKok wrote: Edgars <[EMAIL PROTECTED]> wrote: rlm_sql: unknown attribute Exec-Program-Wait rlm_sql (sql): Error getting data from database Odds are your SQ

Re: Allowing users from one NAS and not another.

2004-09-07 Thread Edgars
you can also modify radcheck query adding also '%{NAS-IP-Address}' checking from specific table. Edgars Kostas Kalevras wrote: On Tue, 7 Sep 2004, Raymond Myren wrote: Hi group, I'm currently in the process of testing FreeRadius with MySQL backend. Is it possible by some Attr

exec-program as unknown attribute

2004-09-06 Thread Edgars
: ATTRIBUTE Exec-Program502 string ATTRIBUTE Exec-Program-Wait 503 string Where could be the problem? Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

auth-type:=reject problem

2004-09-06 Thread Edgars
any known issues why the subj. doesn't work when specified in the DB? Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Exec-Program doesn't execute the program

2004-09-06 Thread Edgars
Thanks Kostas million times!!! It works now:) Edgars Kostas Zorbadelos wrote: On Mon, Sep 06, 2004 at 04:25:48PM +0300, Edgars wrote: got it to work:)i was putting this attribute in the radcheck table not radreply. Ok, so you were using an sql db backend... But now another problem is

Re: Exec-Program doesn't execute the program

2004-09-06 Thread Edgars
the current authentication try. But the php script is only adding the timeout but it will be given to user only at the next login. How to workaround this? Should i use rlm_sql instead of exec-program attribute? Edgars Edgars wrote: nope, the same. Edgars Kostas Zorbadelos wrote: On Mon, Sep 06

Re: Exec-Program doesn't execute the program

2004-09-06 Thread Edgars
nope, the same. Edgars Kostas Zorbadelos wrote: On Mon, Sep 06, 2004 at 03:12:47PM +0300, Edgars wrote: with permissions there are no problems, i tried also your chmod options. The same:/ Maybe something else? Edgars Perhaps you should create an executable wrapper shell script containing

Re: Exec-Program doesn't execute the program

2004-09-06 Thread Edgars
with permissions there are no problems, i tried also your chmod options. The same:/ Maybe something else? Edgars Kostas Zorbadelos wrote: On Mon, Sep 06, 2004 at 02:27:29PM +0300, Edgars wrote: Hello, in some way this attribute does not execute my PHP program. I have data base insert query

Exec-Program doesn't execute the program

2004-09-06 Thread Edgars
Where could be the problem? Can't tell anything from the debugging mode.. Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

exec module

2004-09-03 Thread Edgars
iated! Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: please assist in time limit

2004-09-03 Thread Edgars
if i could:/ maybe you know how to do that? i mean in the time when user is already logged in. Edgars Thor Spruyt wrote: Edgars wrote: ok, will it work also in sucha case - at 16.59 user is still logged in and browsing the internet with full power. Will this you described stop his nicely

Re: please assist in time limit

2004-09-03 Thread Edgars
Keith, thak you so much!i didn't know anything about such an attribute. But in the log file i'm getting "unknown attribute Lgin-Time..." Should i manuaaly ad it to dictionary file?like this ATTRIBUTE *Login-Time* 1042 string Edgars Keith Yoder wrote: Edgars escreveu: ok, will i

Re: please assist in time limit

2004-09-03 Thread Edgars
ok, will it work also in sucha case - at 16.59 user is still logged in and browsing the internet with full power. Will this you described stop his nicely browsing at 17? this is the second type of time counter i want to made:) Edgars Simon Bryden wrote: You could use rlm_exec to call a script

Re: kill user connection

2004-09-02 Thread Edgars
is valid for one hour. So at this stop time i'm putting false in that file,but i am checking this file only at authentication, so i should somehow send to this user session-timeout=1s or some other way stop him for a while to make him authenticate again. Thanks! Edgars Simon Bryden wrot

  1   2   >