Hello Javier -
>
> I have a Radiator with the Calling-Station-Id Check Item for several
> Users,
> and I�m trying to allow some of them to access from different numbers, so I
> need to insert the same users twice or more in the flat text users file I
> use, but it doesn�t work.
>
> It seems the Auth process looks for the first entry in the users file, and
> if rejects the user, not seaching for any other entry with the
> Calling-Station-Id he�s using just in that access.
>
> Wed Nov 15 18:31:27 2000: INFO: Access rejected for NOVAD2: Check item
> Calling-Station-Id expression '456841583' does not match '456841591' in
> request
> Wed Nov 15 18:33:07 2000: INFO: Access rejected for NOVAD2: Check item
> Calling-Station-Id expression '456841583' does not match '456841591' in
> request
> Wed Nov 15 18:33:17 2000: INFO: Access rejected for NOVAD2: Check item
> Calling-Station-Id expression '456841583' does not match '456841591' in
> request
>
You will need to use cascaded AuthBy clauses to do it - something like this:
# configuration to check Calling-Station-Id's
<AuthBy FILE>
Identifier CheckCallingStationId
Filename %D/users.callingstationid
</AuthBy>
<AuthBy FILE>
Identifier CheckUsers
Filename %D/users
</AuthBy>
<Realm .....>
AuthBy CheckCallingStationId
NoDefaultIfFound
</Realm>
Then in the file %D/CheckCallingStationId:
# file to check Calling-Station-Id
DEFAULT User-Name = user1, Calling-Station-Id = nnnnnn, Auth-Type = CheckUsers
DEFAULT User-Name = user1, Calling-Station-Id = mmmmm, Auth-Type = CheckUsers
DEFAULT User-Name = user2, Calling-Station-Id = oooooo, Auth-Type = CheckUsers
.....
DEFAULT Auth-Type = CheckUsers
And in the fle CheckUsers:
# file to check users
user1 Password = aaaaaa
........
user2 Password = bbbbbb
.....
.......
hth
Hugh
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.