Hello Keith -
On Friday 23 March 2001 03:57, Keith Olmstead wrote:
> Hello,
>
> I am new to this and trying to figure this out, but here is my situation
> that I have. What we are trying to do is put our customers in UNIX groups
> based on codes instead of using a users file. For instance code
> 1234=dial-up, and 1233=static dial-up and so on.
>
> I am needing some ideas on how we can do this. We have groups in our users
> file that tell what a user is, ie ISDN, DSL, dialup but nothing that has
> the codes.
>
I suggest you consider using an SQL database for your users, either directly
from an AuthBy SQL clause, or in conjunction with a commercial billing system.
If you do want to use UNIX groups, you can do group checking like this:
# configure AuthBy clauses
<AuthBy UNIX>
Identifier CheckUNIX
Filename .....
</AuthBy>
<AuthBy FILE>
Identifier CheckUsers
Filename %D/users
</AuthBy>
# configure Realms or Handlers
<Realm ....>
AuthBy CheckUsers
</Realm>
Then in your users file you would have something like this:
# users file checking UNIX password file and Groups
DEFAULT Auth-Type = CheckUNIX, Group = ....
......
DEFAULT Auth-Type = CheckUNIX, Group = ....
.....
......
hth
Hugh
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
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.