Sorry, I see that you are using ldap, so you probably don't want to list
the users in the users file as well.  If you enable compare_check_items,
then all the check items that come in should match what's in the ldap
directory.

So if you add radiusCalledStationId to the check items, then it must match
what is in the ldap directory.  You may be getting rejected because
another attribute is in the check items, but not in ldap.

So for example, you may have Calling-Station-Id in check items, but if
that doesn't exist in the LDAP directory for the user, then it would fail.

Maybe you could show a debug with the attributes that come in and a copy
of your ldap.attrmap file.




On Mon, 31 Mar 2003, Dustin Doris wrote:

>
>
> On Mon, 31 Mar 2003, Brian Leung wrote:
>
> > hi all,
> > i wanna to add some rules in freeradius so the user just can access the system 
> > from the Calledstationid 123456, for example
> > my ldif is like that:
> >
>
> add it in the users file.
>
> example,
>
> user  User-Password == "password", Called-Station-ID == "12345"
>
>
>
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>



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

Reply via email to