Re: trouble checking item value from ldap

2009-07-24 Thread Tony P.
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 := 9 (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 9
> radiusServiceType Framed-User
> radiusSimultaneousUse 1
> 
> and in my usertest exist this
> 
> cn=emperor,ou=users,dc=domain,dc=org
> radiusCallingStationId 838
> RadiusProfileDn cn=dialup,ou=radius,ou=services,dc=domain,dc=org
> userPassword xx
> 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 9 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



signature.asc
Description: OpenPGP digital signature
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

trouble checking item value from ldap

2009-07-24 Thread Tony P.
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 9
radiusServiceType Framed-User
radiusSimultaneousUse 1

and in my usertest exist this

cn=emperor,ou=users,dc=domain,dc=org
radiusCallingStationId 838
RadiusProfileDn cn=dialup,ou=radius,ou=services,dc=domain,dc=org
userPassword xx
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 9 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.




signature.asc
Description: OpenPGP digital signature
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html