Passing information from authenticate to post-auth (was: Why Authorization before Authentication)

2011-11-25 Thread Edgar Fuß
I was probably too fuzzy about what I actually mean, sorry. Suppose I'm writing my own module or I'm using rlm_perl. Then, in authenticate, I gather some information. Later, in post-auth, I need this information for my authorization policy. So, as far as I can see, I'll have to put this

authorization policy based on cert issuer (was: Why Authorization before Authentication)

2011-11-25 Thread Edgar Fuß
Seems that I'm slowly getting it. To authorize subscriber you should make a decision based on both subscriber profile and authentication result. This is what post-auth section does. Put your authorization policies in this section. So do I understand this correctly: if I, for example, want to

Re: Why Authorization before Authentication?

2011-11-24 Thread Iliya Peregoudov
In general there are three steps in processing of Access-Request: - identify - authenticate - authorize First you need to identify subscriber. In general you should consult subscriber database (backend). To minimize number of round-trips with subscriber database it will be better to return

Re: Why Authorization before Authentication?

2011-11-24 Thread Edgar Fuß
- identify - authenticate - authorize Ah, thanks! I understand the process much better now, replacing the section names (authorize, authenticate, post-auth) with what you gave (identify, authenticate, authorize). Put your authorization policies in [the post-auth] section. OK, now it all

Re: Why Authorization before Authentication?

2011-11-24 Thread Alan Buxey
What are you going to send from authenticate? It should be simple, password correct or password wrong. Everything else should be in post auth, authorize or post proxy even alan -- Message may be brief as it has been sent from my mobile - List info/subscribe/unsubscribe? See

Re: Why Authorization before Authentication?

2011-11-24 Thread Fajar A. Nugraha
. from radcheck table, users file, whatever) populated during authorization phase. - request attributes (i.e. the attributes sent by NAS) - reply attributes (i.e. attributes that FR will send to the NAS as the result of previous authorization and authentication phase. Can contain data from radreply

Why Authorization before Authentication?

2011-11-23 Thread Edgar Fuß
A probably simple question I could not find explained in the FAQ or the Concepts section: Given that Authentication is proving who I am and Authorization is checking what I'm allowed to do, I naively would have expected a RADIUS server to first authenticate me an then check my authorization.

Re: Why Authorization before Authentication?

2011-11-23 Thread Arran Cudbard-Bell
On 23 Nov 2011, at 13:34, Edgar Fuß wrote: A probably simple question I could not find explained in the FAQ or the Concepts section: Given that Authentication is proving who I am and Authorization is checking what I'm allowed to do, I naively would have expected a RADIUS server to

Re: Why Authorization before Authentication?

2011-11-23 Thread Edgar Fuß
Thanks for the explanation. [This question] comes up from time to time So it may be nice if someone feeling comfortable enough to answer it could add an explanation to the wiki. If you're unhappy with the way the default configuration works, I'm not unhappy with it, it just sounded

Re: Why Authorization before Authentication?

2011-11-23 Thread Edgar Fuß
My recommendation to anybody who asks this question [...], is to think of authorisation being separate from generating the reply. Do I understand you correctly in that you only recommend to /think/ that way, not that it's actually /done/ that way? As I understand it, crucial parts of the reply

Re: Why Authorization before Authentication?

2011-11-23 Thread Fajar A. Nugraha
On Wed, Nov 23, 2011 at 11:21 PM, Edgar Fuß e...@math.uni-bonn.de wrote: My recommendation to anybody who asks this question [...], is to think of authorisation being separate from generating the reply. Do I understand you correctly in that you only recommend to /think/ that way, not that

Re: FreeRadius MAC address authorization (no authentication)

2008-08-10 Thread Ramot Lubis
I guess, Windows XP client has been able to communicate (EAP problem has been fixed) according to the following log. However, the client has not been authenticated because of username and password problem, but its OK since my purpose is to authenticate based on client MAC address rather than

Re: FreeRadius MAC address authorization (no authentication)

2008-08-10 Thread Alan DeKok
Ramot Lubis wrote: I guess, Windows XP client has been able to communicate (EAP problem has been fixed) according to the following log. However, the client has not been authenticated because of username and password problem, but its OK since my purpose is to authenticate based on client MAC

Re: FreeRadius MAC address authorization (no authentication)

2008-08-08 Thread Ramot Lubis
from Wireless Client. I would not use the checkval module. Try using another module. But my question is how can I use only Authorization where Authentication will always return Access-Accept. You can do MAC address checking in the authorization stage. Here is my radiusd -X output

Re: FreeRadius MAC address authorization (no authentication)

2008-08-08 Thread Alan DeKok
Ramot Lubis wrote: Yes, I aim not to install hotfix in Windows XP client. Good luck. My main purpose is to check valid MAC address of every Wireless Device (with Windows XP SP2). Based on radiusd -X log in my previous email, I tried to conclude that even in Authorization phase,

Re: FreeRadius MAC address authorization (no authentication)

2008-08-08 Thread A . L . M . Buxey
Authorization where Authentication will always return Access-Accept. you cant. if you're trying to use PEAP than you must follow all the specifications and return the correct stuff when and as needed. you cant just throw back an accept. if you want a noddy poor wireless infrastructure then just go

Re: FreeRadius MAC address authorization (no authentication)

2008-08-08 Thread Ramot Lubis
windows hotfixes for wireless supplicant bahaviour etc. is enough to verified valid MAC address from Wireless Client. But my question is how can I use only Authorization where Authentication will always return Access-Accept. you cant. if you're trying to use PEAP than you must follow all

Re: FreeRadius MAC address authorization (no authentication)

2008-08-08 Thread Stefan Winter
Hi, now I still got this clueless log messages. Please, help me. rlm_checkval: Item Name: Calling-Station-Id, Value: 00-21-00-0B-68-E3 rlm_checkval: Value Name: Calling-Station-Id, Value: 00-21-00-0B-68-E3 ++[checkval] returns ok rlm_pap: WARNING! No known good password found for the user.

Re: FreeRadius MAC address authorization (no authentication)

2008-08-08 Thread Alan DeKok
Ramot Lubis wrote: thanks Stefan. it's already uncommented by default. I didn't change any default value except the SQL authorization. I wonder what might be the problem? You haven't installed the OpenSSL libraries and header files. As a result, FreeRADIUS wasn't built with support for

Re: FreeRadius MAC address authorization (no authentication)

2008-08-08 Thread Ramot Lubis
Thanks Alan, it was my mistake. I have fixed the openssl trouble. Now PEAP is running. But I still have problem with authentication. I put the log here. Please, tell me what my next mistake is. rad_recv: Access-Request packet from host 10.0.0.2 port 1027, id=76, length=189 User-Name =

Re: FreeRadius MAC address authorization (no authentication)

2008-08-08 Thread Lech Karol Pawłaszek
Ramot Lubis wrote: Thanks Alan, it was my mistake. I have fixed the openssl trouble. Now PEAP is running. But I still have problem with authentication. I put the log here. Please, tell me what my next mistake is. [...] Sending Access-Challenge of id 76 to 10.0.0.2 port 1027 EAP-Message

Re: FreeRadius MAC address authorization (no authentication)

2008-08-08 Thread Yawar Hadi
hi siply go to raddb directory and explore users dictionery file... 2:see any example of user with password in that file 3:similerly add a user with password. and now try it. it will work.. On Fri, Aug 8, 2008 at 2:02 PM, Lech Karol Pawłaszek [EMAIL PROTECTED] wrote: Ramot Lubis wrote:

Re: FreeRadius MAC address authorization (no authentication)

2008-08-08 Thread Ramot Lubis
As you guess, now I am stucked in EAP problem as described in http://deployingradius.com/documents/configuration/eap-problems.html Problem: A lot of text scrolls by, the server sends an Access-Challenge, and then prints out a message saying Cleaning up request After that, nothing more

Re: FreeRadius MAC address authorization (no authentication)

2008-08-08 Thread Alan DeKok
Ramot Lubis wrote: Problem: A lot of text scrolls by, the server sends an Access-Challenge, and then prints out a message saying Cleaning up request After that, nothing more happens. Which OS are you using as a client? Are you using the default certificates that are created with the

Re: FreeRadius MAC address authorization (no authentication)

2008-08-08 Thread Ramot Lubis
Yes, I am using Windows XP as client. I have followed these steps: 1. Creating production certificate as described in http://deployingradius.com/documents/configuration/certificates.html 2. update hotfix as described in http://support.microsoft.com/kb/885453/en-us 3. Install certificate ca.der

FreeRadius MAC address authorization (no authentication)

2008-08-07 Thread Ramot Lubis
to search hotfix for EAP/TLS compatibility with FreeRadius. After digging more, I realize that Authorization using checkval module is enough to verified valid MAC address from Wireless Client. But my question is how can I use only Authorization where Authentication will always return Access-Accept

Re: Authorization?? pb Authentication against AD

2008-06-27 Thread Ivan Kalik
First question: is EAP system mandatory to authenticate against Active Directory? No. EAP is there to increase security. 2. Exec-Program output: winbind client not authorized to use winbindd_pam_auth_crap. Ensure permissions on /var/lib/samba/winbindd_privileged are set correctly.

Re: Re : Authorization?? pb Authentication against AD

2008-06-27 Thread Ivan Kalik
i think the point error in the log is (see below), and i wonder (if i understood well) how to fix that : rlm_mschap: No Cleartext-Password configured. Cannot create LM-Password. rlm_mschap: No Cleartext-Password configured. Cannot create NT-Password. No, ntlm_auth is

Re : Re : Authorization?? pb Authentication against AD

2008-06-27 Thread Reveal MAP
the result of ntlm_auth in command line: -- aaa:/var/lib/samba #ntlm_auth --username glouglou --domain pluton password: NT_STATUS_OK: Success (0x0) aaa:/var/lib/samba #

Re: Re : Re : Authorization?? pb Authentication against AD

2008-06-27 Thread A . L . M . Buxey
Hi, the result of ntlm_auth in command line: -- aaa:/var/lib/samba #ntlm_auth --username glouglou --domain pluton password: NT_STATUS_OK: Success (0x0) aaa:/var/lib/samba #

Re : Re : Re : Authorization?? pb Authentication against AD

2008-06-27 Thread Reveal MAP
I am Sorry, I have a little problem with english, and i know it might be annoying for you! but i am not sure to understand what you are adcing me right now. 1- um.. using mschap:User-Name (how can i do that? in radiusd.conf, mschap section? or in ntlm_ath configuration files?) 2-

Re: Re : Re : Re : Authorization?? pb Authentication against AD

2008-06-27 Thread Ivan Kalik
# You can also try setting the user name as: # #... --username=%{mschap:User-Name} ... # Did you read what you copied? Replace username bit in ntml_auth with that. Your problem is that you are sending DOMAIN\username and not just username. Ivan Kalik Kalik

Re : Re : Re : Re : Authorization?? pb Authentication against AD

2008-06-27 Thread Reveal MAP
@lists.freeradius.org Envoyé le : Vendredi, 27 Juin 2008, 16h18mn 32s Objet : Re: Re : Re : Re : Authorization?? pb Authentication against AD # You can also try setting the user name as: # #... --username=%{mschap:User-Name} ... # Did you read what you copied

Re: how to use LDAP for authorization and authentication while using EAPmethod!!!!!!

2007-08-06 Thread shantanu choudhary
well sorry for confusing... i was asking for changes so as to work in the way: RADIUS--SAMBA--LDAP so that it can work for those EAP passwords thanx for your support and suggestion regards shantanu - Once upon a time there was 1 GB storage in your

Re: how to use LDAP for authorization and authentication while usingEAPmethod!!!!!!

2007-08-06 Thread tnt
What password encryption are you using? If it's not NT hash MSCHAP won't work with or without samba and ntlm_auth. Ivan Kalik Kalik Informatika iSP Dana 6/8/2007, shantanu choudhary [EMAIL PROTECTED] piše: well sorry for confusing... i was asking for changes so as to work in the way:

Re: how to use LDAP for authorization and authentication while using EAPmethod!!!!!!

2007-08-06 Thread shantanu choudhary
so what changes we have to make so that it works as you have suggested?? - Why delete messages? Unlimited storage is just a click away.- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: how to use LDAP for authorization and authentication while usingEAPmethod!!!!!!

2007-08-06 Thread tnt
Install SecureW2 on Windows PCs and set it to use EAP-TTLS-PAP. Enable ttls and change default eap protocol to pap (in ttls section). Ivan Kalik Kalik Informatika ISP Dana 6/8/2007, shantanu choudhary [EMAIL PROTECTED] piše: so what changes we have to make so that it works as you have

Re: how to use LDAP for authorization and authentication while using EAPmethod!!!!!!

2007-08-05 Thread shantanu choudhary
so what changes we have to make so that it works as you have suggested?? - Once upon a time there was 1 GB storage in your inbox. Click here for happy ending.- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: how to use LDAP for authorization and authentication while usingEAPmethod!!!!!!

2007-08-05 Thread tnt
If passwords in Ldap are encrypted in anything apart from NT hash, MSCHAP won't work. Only EAP that you can use is EAP-TTLS-PAP. For that you need to use SecureW2 as a suppicant on Windows PCs and configure ttls in eap.conf. I assume that you have configured tls since you have tried PEAP before.

Re: how to use LDAP for authorization and authentication while using EAPmethod!!!!!!

2007-08-03 Thread Turbo Fredriksson
[EMAIL PROTECTED] writes: If I understand you well, passwords in LDAP are encrypted, so PEAP won't work. And you want to keep them that way. Your only option is to use SecureW2 and EAP-TTLS-PAP. Or do as I managed to get it working yesterday - put a Samba server in between.

how to use LDAP for authorization and authentication while using EAP method!!!!!!

2007-08-02 Thread shantanu choudhary
hello all, i have ldap server installed, i am using it to cross check user-name and password provided by the client!! now for doing this i have to configure my radius server for using LDAP for authorization and authentication. Now when i configure accordingly server cant understand any EAP

Re: how to use LDAP for authorization and authentication while using EAPmethod!!!!!!

2007-08-02 Thread tnt
installed, i am using it to cross check user-name and password provided by the client!! now for doing this i have to configure my radius server for using LDAP for authorization and authentication. Now when i configure accordingly server cant understand any EAP method. But my client is windows which i

Integrate freeradius v1.1.6 and openLADP v2.3.32 for authorization and authentication

2007-05-24 Thread robin gong
, I am new user and want to integrate freeradius v1.1.6 and openLADP v2.3.32 for authorization and authentication. Our operating system is Fedora 5 Linux. (1)Install freeRadius-1.1.6 After following the instruction of installation in http://.freeradius.org, install freeRadius-1.1.6

Integrate freeradius v1.1.6 and openLADP v2.3.32 for authorization and authentication

2007-05-24 Thread xuebin gong
kind regards Pshem On 22/05/07, xuebin gong [EMAIL PROTECTED] wrote: Hi, All, I am user and want to integrate freeradius v1.1.6 and openLADP v2.3.32 for authorization and authentication. Our operating system is Fedora 5 Linux. (1)Install freeRadius-1.1.6 After following

Re: Integrate freeradius v1.1.6 and openLADP v2.3.32 for authorization and authentication

2007-05-22 Thread robin gong
am user and want to integrate freeradius v1.1.6 and openLADP v2.3.32 for authorization and authentication. Our operating system is Fedora 5 Linux. (1)Install freeRadius-1.1.6 After following the instruction of installation in http://.freeradius.org, install freeRadius-1.1.6 on Fedora

Integrate freeradius v1.1.6 and openLADP v2.3.32 for authorization and authentication

2007-05-21 Thread xuebin gong
Hi, All, I am user and want to integrate freeradius v1.1.6 and openLADP v2.3.32 for authorization and authentication. Our operating system is Fedora 5 Linux. (1)Install freeRadius-1.1.6 After following the instruction of installation in http://.freeradius.org, install freeRadius-1.1.6

Re: Integrate freeradius v1.1.6 and openLADP v2.3.32 for authorization and authentication

2007-05-21 Thread Pshem Kowalczyk
Freeradius expects exactly one answer: rlm_ldap: object not found or got ambiguous search result kind regards Pshem On 22/05/07, xuebin gong [EMAIL PROTECTED] wrote: Hi, All, I am user and want to integrate freeradius v1.1.6 and openLADP v2.3.32 for authorization and authentication. Our

Re: FreeRadius different authorization and authentication methods

2005-08-31 Thread Jason Carr
Alan DeKok wrote: Jason Carr [EMAIL PROTECTED] wrote: I grepped for local in the raddb directory, and I'm not seeing anything related to Auth-Type := Local in any config file. Did you set it in the SQL database? I saw that I'm not supposed to explicitly define Auth-Type := EAP, but

Re: FreeRadius different authorization and authentication methods

2005-08-31 Thread Alan DeKok
Jason Carr [EMAIL PROTECTED] wrote: Against recommendations, I've added DEFAULT Auth-Type := EAP and the server still says it's trying to use local authentication. Does the server fall back to local if it doesn't know which method to use or if there's an error? It uses Auth-Type = Local in

FreeRadius different authorization and authentication methods

2005-08-30 Thread Jason Carr
Hello, I'm attempting to use a FreeRadius server for authentication of wireless using 802.1x. I would also like to use a SQL database for authorization. I've done some limited testing without success. It looks like the authorization method also is the authentication method, for example if I

Re: FreeRadius different authorization and authentication methods

2005-08-30 Thread Alan DeKok
Jason Carr [EMAIL PROTECTED] wrote: I'm attempting to use a FreeRadius server for authentication of wireless using 802.1x. I would also like to use a SQL database for authorization. I've done some limited testing without success. It looks like the authorization method also is the

Re: FreeRadius different authorization and authentication methods

2005-08-30 Thread Jason Carr
Alan DeKok wrote: Jason Carr [EMAIL PROTECTED] wrote: I'm attempting to use a FreeRadius server for authentication of wireless using 802.1x. I would also like to use a SQL database for authorization. I've done some limited testing without success. It looks like the authorization method also

Re: FreeRadius different authorization and authentication methods

2005-08-30 Thread Alan DeKok
Jason Carr [EMAIL PROTECTED] wrote: I grepped for local in the raddb directory, and I'm not seeing anything related to Auth-Type := Local in any config file. Did you set it in the SQL database? I saw that I'm not supposed to explicitly define Auth-Type := EAP, but perhaps this is what I

Re: FreeRadius different authorization and authentication methods

2005-08-30 Thread Jason Carr
Alan DeKok wrote: Jason Carr [EMAIL PROTECTED] wrote: I grepped for local in the raddb directory, and I'm not seeing anything related to Auth-Type := Local in any config file. Did you set it in the SQL database? I saw that I'm not supposed to explicitly define Auth-Type := EAP, but

Re: Authorization and authentication

2004-04-30 Thread James
Hi Alan, sorry if I bother you again but I need some explanation... Briefly the point is: can I take authorization decisions based on the realm (for instance to block the access to my local ftp server for user of a specified realm) info BEFORE proxying the authentication? If the answer is

Re: Authorization and authentication

2004-04-29 Thread James
Hi, first of all thank you for your answer. reading my post, i noticed that i was not so clear so i try to describe in more detail my problem. Let suppose we have two companies, A and B, with some traffic agreement. Now, an user belonging to the network A moves into the network B. Network B can

Re: Authorization and authentication

2004-04-29 Thread Alan DeKok
James [EMAIL PROTECTED] wrote: Let suppose we have two companies, A and B, with some traffic agreement. Now, an user belonging to the network A moves into the network B. Network B can not authenticate him, so it proxies the request to the radius server of the network A. That's the normal

Authorization and authentication

2004-04-28 Thread James
Hello, I have the following problem: how can I remote authenticate (in his home network) a user and, at the same time, authorize him locally? Basically my scenario is as follows: A mobile user belonging to the network A moves to the network B. The network B proxies the authentication request to