trouble checking item value from ldap

Tony P. emperor at infomed.sld.cu
Fri Jul 24 20:49:24 CEST 2009


ok ok.. i solve my trouble :D

to setup the monthlycounter to check-in not mut be add new attribute
i see a radiusCheckItem in the scheme and i try with this so
i have to make this to works cool!!!

radiusCheckItem Max-Monthly-Session := 90000 (as write into mysql)

Thanxs any way

Tony P. escribió:
> hi, have this problem now...
> 
> i set into profile of users some items to check
> 
> cn=dialup,ou=radius,ou=services,dc=domain,dc=org
> radiusCalledStationId 160110
> radiusCalledStationId 60110
> radiusCalledStationId 8314949
> radiusFramedIpNetmask 255.255.255.255.255
> radiusFramedProtocol PPP
> radiusHint userdefault
> radiusMaxMonthlySession 90000
> radiusServiceType Framed-User
> radiusSimultaneousUse 1
> 
> and in my usertest exist this
> 
> cn=emperor,ou=users,dc=domain,dc=org
> radiusCallingStationId 8380000
> RadiusProfileDn cn=dialup,ou=radius,ou=services,dc=domain,dc=org
> userPassword xxxxxx
> and when freeradius start in debug mode i see when Access-Request to process
> authorize section in debug out this.
> 
> in the freeradius -X debug mode show this when i try to authorized
> 
> rlm_ldap: Adding radiusCalledStationId as Called-Station-Id, value 8314949 & op=21
> rlm_ldap: Adding radiusCalledStationId as Called-Station-Id, value 60110 & op=21
> rlm_ldap: Adding radiusCalledStationId as Called-Station-Id, value 160110 & op=21
> rlm_ldap: Adding radiusSimultaneousUse as Simultaneous-Use, value 1 & op=21
> rlm_ldap: Adding radiusFramedIPNetmask as Framed-IP-Netmask, value
> 255.255.255.255.255 & op=11
> rlm_ldap: Adding radiusFramedProtocol as Framed-Protocol, value PPP & op=11
> rlm_ldap: Adding radiusServiceType as Service-Type, value Framed-User & op=11
> 
> so. when i make radclient authorize works fine and receive Access-Accept but in
> the freeradius not load radiusMaxMonthlySession 90000 as i wrote above either
> radiusHint userdefault
> 
> why radiusMonthlySession and radiusHint not is loaded in debug mode when radiusd
> load all attributes from profile when Access-Request came.????
> 
> note:
> 
> 1- radiusHint came in the scheme by default
> 
> 2- radiusMaxMonthlySession was wrote by me because not exist in the
> freeradius.scheme, i added new attribute and including in the class of
> freeradius so is posible to setup into user profile.
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090724/60906295/attachment.pgp>


More information about the Freeradius-Users mailing list