On Thu, 2 May 2002, Bjorn Nordbo wrote:

> Is it possible, with FreeRADIUS 0.5 and rlm_ldap, to put add check items
> by using profiles? Ie., if the user has:
>
> dn: uid=testuser,ou=users,dc=xyzzy,dc=net
> objectclass: radiusprofile
> objectclass: uidObject
> objectclass: simpleSecurityObject
> uid: testuser
> cn: test user #1
> radiusProfileDn: uid=testprofile,dc=xyzzy,dc=net
> userPassword: testing
>
> How can I add, say Called-Staion-Id =~ "^123", to the check items for
> this request? What does a profile like this look like?
>
> Examples are greatly appreciated. :)
>

A profile will look like this:

dn: uid=testprofile,dc=xyzzy,dc=net
objectclass: top
objectclass: uidObject
objectclass: simpleSecurityObject
uid: testprofile
cn: test profile #1
npSessionsAllowed: 1
radiusCallingStationId: 56735725

Unfortunately you can't do what you want right now. You could do something like
this in the users file though:

DEFAULT Called-Station-Id =~ "^123"
        Reply-Message: "Yes it worked"

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]      National Technical University of Athens, Greece
Work Phone:             +30 10 7721861
'Go back to the shadow' Gandalf


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

Reply via email to