Support for RFC4372 (Chargeable User Identity)

Maja Wolniewicz mgw at umk.pl
Mon Jan 21 18:49:32 CET 2008


Alan DeKok pisze:
> Maja Wolniewicz wrote:
>> Thanks. Now it works.
> 
>   That's good to hear.
> 
>> Yes, I want to add current realm to reply attribute
>> Chargeable-User-Identity which comes form LDAP.
>> When Chargeable-User-Identity attribute isn't present in request I want
>> to remove Chargeable-User-Identity from reply.
> 
>   There's a simple answer: don't add something if it's not needed.
> Adding it and then deleted it is complicated, and prone to errors.
> 
>   Instead, add it *only* if it's necessary.  This may involve update the
> LDAP maps to use a temporary attribute.  e.g. map the LDAP data to
> "My-Chargeable-User-Identity", and then map that to
> Chargeable-User-Identity only when necessary.
> 
>   See raddb/dictionary for how to define local attributes like this.
> 
That's right. Thanks for help,
Maja
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


-- 
Maja Gorecka-Wolniewicz          mgw at umk.pl
              http://www.umk.pl/~mgw
              PGP key: http://www.umk.pl/~mgw/pgp_pub_key.asc
Uczelniane Centrum               Information & Communication
Informatyczne                    Technology Centre
Uniwersytet Mikolaja Kopernika   Nicolaus Copernicus University
Coll. Maximum, pl. Rapackiego 1, 87-100 Torun, Poland
tel.: +48 56-611-27-40 fax: +48 56-622-18-50 tel. kom.: +48-693032574
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2916 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080121/fc1cb326/attachment.bin>


More information about the Freeradius-Users mailing list