Re: override ldap reply attribute

2007-04-24 Thread Kostas Kalevras
O/H [EMAIL PROTECTED] έγραψε:
 Here is the full debug-log.

 Airespace-Interface-Name
 value in ldap: 310
 vlaue in users-file: 777

 as you can see, it doesnt override :-(

 users-file line 54, which matches:

 DEFAULT Called-Station-Id == 00-1A-30-2E-C9-60:Test99, 
 Airespace-Interface-Name := 777
   

Airespace-Interface-Name is a reply item while you are seting it as a check 
item. Correct way:

DEFAULT Called-Station-Id == 00-1A-30-2E-C9-60:Test99
 Airespace-Interface-Name := 777

 radiusd.conf authorize section:

 authorize {
 preprocess
 eap
 ldap_wlan
 files
 }

 as you can see, its wlan-authentication with EAP on SSID:Test99

 dont know what i can try else :-(

 thanks in advance for your help!

   

-- 
Kostas Kalevras - Network Operations Center
National Technical University of Athens
http://kkalev.wordpress.com

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

Re: override ldap reply attribute

2007-04-24 Thread tschaos
Kostas Kalevras wrote

 O/H [EMAIL PROTECTED] έγραψε:
  Here is the full debug-log.
 
  Airespace-Interface-Name
  value in ldap: 310
  vlaue in users-file: 777
 
  as you can see, it doesnt override :-(
 
  users-file line 54, which matches:
 
  DEFAULT Called-Station-Id == 00-1A-30-2E-C9-60:Test99,
 Airespace-Interface-Name := 777

 
 Airespace-Interface-Name is a reply item while you are seting it as a
 check item. Correct way:
 
 DEFAULT   Called-Station-Id == 00-1A-30-2E-C9-60:Test99
Airespace-Interface-Name := 777

IT WORKS! thanks a LOT :-)

 
  radiusd.conf authorize section:
 
  authorize {
  preprocess
  eap
  ldap_wlan
  files
  }
 
  as you can see, its wlan-authentication with EAP on SSID:Test99
 
  dont know what i can try else :-(
 
  thanks in advance for your help!
 

 
 -- 
 Kostas Kalevras - Network Operations Center
 National Technical University of Athens
 http://kkalev.wordpress.com
 
 - 
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html

-- 
Feel free - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: override ldap reply attribute

2007-04-23 Thread Kostas Kalevras
O/H [EMAIL PROTECTED] έγραψε:
 Hi Guys,

 I have maybe a quite simple question:

 is there any way to override the default ldap-reply attribute with an other 
 value than there is in ldap.

 i.e.:

 users-file:

 Default Called-Station-Id = 00-1A-30-2F-11-50:Test, 
 Airespace-Interface-Name := 777

 ldap.attrmap:

 replyItem   Airespace-Interface-NameradiusCallingStationId

 wanted result:

 if the users-file doesnt match, use vlaue of ldap-attribute: 
 radiusCallingStationId,  otherwise use vlaue: 777


 in this type of configuration it seems i cant override the ldap-reply 
 attribute-value with the users-file.
   
Check the order in which the files and ldap module appear in the 
authorize section. If you want to override an ldap value then you need 
to have the files moduel after the ldap module.

 is there any possible way to do this?

 thanks in advance :-)

 freeradiusver: 1.1.4


   


-- 
Kostas Kalevras - Network Operations Center
National Technical University of Athens
http://kkalev.wordpress.com

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

Re: override ldap reply attribute

2007-04-23 Thread Chaos Commander
Kostas Kalevras wrote:

 O/H [EMAIL PROTECTED] έγραψε:
  Hi Guys,
 
  I have maybe a quite simple question:
 
  is there any way to override the default ldap-reply attribute with an
 other value than there is in ldap.
 
  i.e.:
 
  users-file:
 
  Default Called-Station-Id = 00-1A-30-2F-11-50:Test,
 Airespace-Interface-Name := 777
 
  ldap.attrmap:
 
  replyItem   Airespace-Interface-NameradiusCallingStationId
 
  wanted result:
 
  if the users-file doesnt match, use vlaue of ldap-attribute:
 radiusCallingStationId,  otherwise use vlaue: 777
 
 
  in this type of configuration it seems i cant override the ldap-reply
 attribute-value with the users-file.

 Check the order in which the files and ldap module appear in the 
 authorize section. If you want to override an ldap value then you need 
 to have the files moduel after the ldap module.
 

unfortunately the problem still persists, also if i change the order :-(

any other ideas?

  is there any possible way to do this?
 
  thanks in advance :-)
 
  freeradiusver: 1.1.4
 
 

 
 
 -- 
 Kostas Kalevras - Network Operations Center
 National Technical University of Athens
 http://kkalev.wordpress.com
 
 - 
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html

-- 
Feel free - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: override ldap reply attribute

2007-04-23 Thread Kostas Kalevras
O/H Chaos Commander έγραψε:
 Kostas Kalevras wrote:

   
 O/H [EMAIL PROTECTED] έγραψε:
 
 Hi Guys,

 I have maybe a quite simple question:

 is there any way to override the default ldap-reply attribute with an
   
 other value than there is in ldap.
 
 i.e.:

 users-file:

 Default Called-Station-Id = 00-1A-30-2F-11-50:Test,
   
 Airespace-Interface-Name := 777
 
 ldap.attrmap:

 replyItem   Airespace-Interface-NameradiusCallingStationId

 wanted result:

 if the users-file doesnt match, use vlaue of ldap-attribute:
   
 radiusCallingStationId,  otherwise use vlaue: 777
 
 in this type of configuration it seems i cant override the ldap-reply
   
 attribute-value with the users-file.
 
   
   
 Check the order in which the files and ldap module appear in the 
 authorize section. If you want to override an ldap value then you need 
 to have the files moduel after the ldap module.

 

 unfortunately the problem still persists, also if i change the order :-(

 any other ideas?
   
Run in debug mode (radiusd -X) and POST the output.

   
 is there any possible way to do this?

 thanks in advance :-)

 freeradiusver: 1.1.4


   
   
 -- 
 Kostas Kalevras - Network Operations Center
 National Technical University of Athens
 http://kkalev.wordpress.com

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

   


-- 
Kostas Kalevras - Network Operations Center
National Technical University of Athens
http://kkalev.wordpress.com

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