Dear all, i'm using freeradius-1.1.0-1 i need to make a default action if a user is not found . i need to make this action ( allow) for a while, i mean if the radius searched the LDAP and didn't find the user reply to the router with OK. i didn't find anything in the docs. any ideas ?? Regards Amr Ali
Amr el-Saeed wrote:
i'm using freeradius-1.1.0-1
Why? 1.1.6 has been out for months.
i need to make a default action if a user is not found . i need to make this action ( allow) for a while, i mean if the radius searched the LDAP and didn't find the user reply to the router with OK. i didn't find anything in the docs.
doc/configurable_failover Alan DeKok.
Dear Mr. Alan, Thanks a lot for your help. i need to do so as i have many ADSL customers connect without authentication, and i need to make them authenticate without calling them, they are more than 100,000 user . another question , can freeRdaius authenticate any one with a different attribute than the User-Name ?? i need to authenticate the customers with NasPortID or Calling StationID , is that possible ?? regards, Alan DeKok wrote:
Amr el-Saeed wrote:
i'm using freeradius-1.1.0-1
Why? 1.1.6 has been out for months.
i need to make a default action if a user is not found . i need to make this action ( allow) for a while, i mean if the radius searched the LDAP and didn't find the user reply to the router with OK. i didn't find anything in the docs.
doc/configurable_failover
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Amr el-Saeed wrote:
another question , can freeRdaius authenticate any one with a different attribute than the User-Name ?? i need to authenticate the customers with NasPortID or Calling StationID , is that possible ??
Yes. Set Auth-Type := accept. It's one of the few cases where it's reasonable to set Auth-Type. Alan DeKok.
ok i'm using LDAP module , and it can't accept empty User-Name. so, i used the users file beside the LDAP to allow an empty user to login and i made the order in the radius.conf files module then ldap module. but i still get the message ( rlm_ldap: Attribute "User-Name" is required for authentication ) i guess it must check the users file first then the LDAP module , am i right ?? regards, Alan DeKok wrote:
Amr el-Saeed wrote:
another question , can freeRdaius authenticate any one with a different attribute than the User-Name ?? i need to authenticate the customers with NasPortID or Calling StationID , is that possible ??
Yes. Set Auth-Type := accept. It's one of the few cases where it's reasonable to set Auth-Type.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi, i did that, remove ( Auth-Type := LDAP ) now i got that error : Auth: Invalid user: [<no User-Name attribute>/test] when trying to authenticate with an empty username i have this in the user file ( DEFAULT NAS-Port-Id = "0/0/3/1", Auth-Type := Accept ), and the user come with that nas-port-id but with empty user-name ?? regards, Alan DeKok wrote:
Amr el-Saeed wrote: ...
but i still get the message ( rlm_ldap: Attribute "User-Name" is required for authentication )
Then you've set Auth-Type := LDAP.
Don't do that.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Can we see the whole radiusd -X conversation. Ivan Kalik Kalik Informatika ISP Dana 8/7/2007, "Amr el-Saeed" <amr.elsaeed@tedata.net> piše:
Hi,
i did that, remove ( Auth-Type := LDAP ) now i got that error : Auth: Invalid user: [<no User-Name attribute>/test] when trying to authenticate with an empty username i have this in the user file ( DEFAULT NAS-Port-Id = "0/0/3/1", Auth-Type := Accept ), and the user come with that nas-port-id but with empty user-name ??
regards,
Alan DeKok wrote:
Amr el-Saeed wrote: ...
but i still get the message ( rlm_ldap: Attribute "User-Name" is required for authentication )
Then you've set Auth-Type := LDAP.
Don't do that.
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
participants (3)
-
Alan DeKok -
Amr el-Saeed -
tnt@kalik.co.yu