RE: access reject replies

2006-08-16 Thread Hasan Ovuc
 

>-Original Message-
>From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
dius.org] On Behalf Of Alan DeKok
>Sent: Tuesday, August 15, 2006 5:47 PM
>To: FreeRadius users mailing list
>Subject: Re: access reject replies 

>"Hasan Ovuc" <[EMAIL PROTECTED]> wrote:
>> I am using FR-1.0.1, unixODBC 2.2.11, Sybase ODBC-12_5 drivers on
FC5. 
>>I have problem version of FR because of I couldn't upgrade it. New 
>> versions of FR does not send cisco attributes in access reject
replies.

  See src/main/util.c, function rfc_clean().  You will have to edit &
recompile.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


 
 Bu e-posta mesaji ve ekleri sadece gonderildigi kisi veya kuruma ozeldir. Eger 
dogru kisiye ulasmadigini dusunuyorsaniz, bu mesajin yonlendirilmesi, 
kopyalanmasi veya herhangi bir sekilde kullanilmasi yasaktir.Mesaj iceriginde 
bulunan fikir ve yorumlar, SUPERONLINE'a degil sadece gondericiye aittir. Bu 
mesaj bilinen tum viruslere karsi test edilmistir.

 This e-mail and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you are not the intended recipient you are hereby notified that any 
dissemination, copying or use of the information is prohibited. The opinions 
expressed in this message belong to sender alone. There is no implied 
endorsement by SUPERONLINE.This e-mail has been scanned for all known computer 
viruses.

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


RE: access reject replies

2006-08-16 Thread Hasan Ovuc

Dear Alan, 
I added below line after line 458 in src/main/util.c and everything is
OK.  

pairmove2(&vps, &(packet->vps), PW_VENDOR_SPECIFIC);

Thank you...
Hasan Ovuc & Levent Kurt
Superonline.net



>-Original Message-
>From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
dius.org] On Behalf Of Alan DeKok
>Sent: Tuesday, August 15, 2006 5:47 PM
>To: FreeRadius users mailing list
>Subject: Re: access reject replies 
>
>"Hasan Ovuc" <[EMAIL PROTECTED]> wrote:
>> I am using FR-1.0.1, unixODBC 2.2.11, Sybase ODBC-12_5 drivers on
FC5. 
>>I have problem version of FR because of I couldn't upgrade it. New 
>> versions of FR does not send cisco attributes in access reject
replies.
>
>  See src/main/util.c, function rfc_clean().  You will have to edit &
recompile.
>
> Alan DeKok.
>--
>  http://deployingradius.com   - The web site of the book
>  http://deployingradius.com/blog/ - The blog
>-
>List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


 
 Bu e-posta mesaji ve ekleri sadece gonderildigi kisi veya kuruma ozeldir. Eger 
dogru kisiye ulasmadigini dusunuyorsaniz, bu mesajin yonlendirilmesi, 
kopyalanmasi veya herhangi bir sekilde kullanilmasi yasaktir.Mesaj iceriginde 
bulunan fikir ve yorumlar, SUPERONLINE'a degil sadece gondericiye aittir. Bu 
mesaj bilinen tum viruslere karsi test edilmistir.

 This e-mail and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you are not the intended recipient you are hereby notified that any 
dissemination, copying or use of the information is prohibited. The opinions 
expressed in this message belong to sender alone. There is no implied 
endorsement by SUPERONLINE.This e-mail has been scanned for all known computer 
viruses.

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


Re: access reject replies

2006-08-15 Thread Alan DeKok
"Hasan Ovuc" <[EMAIL PROTECTED]> wrote:
> I am using FR-1.0.1, unixODBC 2.2.11, Sybase ODBC-12_5 drivers on FC5. I
> have problem version of FR because of I couldn't upgrade it. New
> versions of FR does not send cisco attributes in access reject replies.

  See src/main/util.c, function rfc_clean().  You will have to edit &
recompile.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: access reject replies

2006-08-15 Thread Lawrence Shafer
Step 1, Read!!!
http://wiki.freeradius.org/index.php/Main_Page
http://wiki.freeradius.org/index.php/FreeRADIUS_Wiki:FAQ
http://www.onlamp.com/pub/a/onlamp/excerpt/radius_5/index1.html  --this
is a good read.
Do a google search for radius install howto for your distro.
Once installed read through all the configuration files and try to
understand whats going on.
Find a howto for the type of setup you are doing and follow it

When you finally think you're ready, run it in debug mode so you can see
whats going on.
radiusd -sfxxyz -l stdout

If it doesn't work, read the debug! you can probably see what the
problem is yourself. If not, post it here along with the symptoms.

If you have any additional questions, google first, try it, and lastly
post back here. But make sure it is a detailed question so you will get
some answers. And remember the debug mode.

Good luck!

Lawrence Shafer



affora deeb wrote:
> hi guys
> i have problem and hope u help me if u can and i'll be really so
> thankfull.
> i have to use free radius on linux to connect to switch and do
> authentication and authorization
> so please can any one tell me the steps of doing this mission cuz i
> didn't treat it before
> as soon as possible .
> thank u
>  
> 
>
> - 
> 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: access reject replies

2006-08-15 Thread affora deeb
hi guys
i have problem and hope u help me if u can and i'll be really so thankfull.
i have to use free radius on linux to connect to switch and do authentication and authorization 
so please can any one tell me the steps of doing this mission cuz i didn't treat it before
as soon as possible .
thank u 
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

access reject replies

2006-08-15 Thread Hasan Ovuc

Hello Members, 
I am using FR-1.0.1, unixODBC 2.2.11, Sybase ODBC-12_5 drivers on FC5. I
have problem version of FR because of I couldn't upgrade it. New
versions of FR does not send cisco attributes in access reject replies.
I can only work with FR-1.0.1. I want to the attribute Cisco AVPair +=
-1 in access reject reply like below sample. 

Has anyone any thought ? 




Related setting in my sql.conf;

authorize_reply_query = "EXEC ra_authentication_reply
'%{SQL-User-Name}', '%{User-Password}', '%{Called-Station-Id}'"


Return of Sample Query

SQL> EXEC ra_authentication_reply 'A02165554149', '1', ''

++---+--
---+-+-+
||   | query_attribute
| query_value | query_op|
++---+--
---+-+-+
| -1 | A02165554149  | Cisco-AVPair
| h323-return-code=1  | +=  |
++---+--
---+-+-+
SQLRowCount returns 0
1 rows fetched
SQL>



Thank you, 



 
 Bu e-posta mesaji ve ekleri sadece gonderildigi kisi veya kuruma ozeldir. Eger 
dogru kisiye ulasmadigini dusunuyorsaniz, bu mesajin yonlendirilmesi, 
kopyalanmasi veya herhangi bir sekilde kullanilmasi yasaktir.Mesaj iceriginde 
bulunan fikir ve yorumlar, SUPERONLINE'a degil sadece gondericiye aittir. Bu 
mesaj bilinen tum viruslere karsi test edilmistir.

 This e-mail and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you are not the intended recipient you are hereby notified that any 
dissemination, copying or use of the information is prohibited. The opinions 
expressed in this message belong to sender alone. There is no implied 
endorsement by SUPERONLINE.This e-mail has been scanned for all known computer 
viruses.

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