Hello Jamie,

On Apr 14,  5:33pm, Jamie Orzechowski wrote:
> Subject: (RADIATOR) another prob
>
> I got radiator to work with /etc/passwd now so it authenticates from there
... but I also have a users file with a few accounts setup to get static IP's
... I checked my users file and it's fine but I always get a rejected for a
user in the users file .... any ideas???

Im not very clear on exactly waht you want to do, but...

If you want radiator to authenticate both from the /etc/password file _and_ get
some additional users and reply items from a flat file, you will need a
slightly more complicated setup, with something like this:

<Realm DEFAULT>
        AuthByPolicy ContinueWhileReject
        <AuthBy UNIX>
                Filename whatever
        </AuthBy>
        <AuthBy FILE>
                Filename users
        </AuthBy>
</Realm>

The file users would have somthing liek this in it:

# This applies to all users except the ones that have specific intries below

user1
        reply_item_3=value,
        reply_item_4=value
        etc etc etc


user2
        etc etc etc

This will first check if they are in teh unix password file. If so they will be
accepted. If not, it will then look in the users file fore some additional
users and their reply items.

-----------
If on the other hand you have everyone in the Unix password file, and just a
few of your users have extra reply items, try this:

<AuthBy UNIX>
        Identifier System
        Filename /etc/passwd
</AuthBy>

<Realm DEFAULT>
        <AuthBy FILE>
                Filename ./users
        </AuthBy>
</Realm>

and in ./users:

DEFAULT Auth-Type=System
        reply-item-1=value

user1 Auth-Type=System
        reply-item-2=value


If you need more assistance with you configs, it will help us if you post your
entire Radiator config file (no secrets), plus a complete trace level 4
transcript of what happens to each request.


Cheers.

>
> it says
> DEBUG: Handling request with Handler 'Realm='
> DEBUG: Handling with Radius::AuthUNIX
> DEBUG: Radius::AuthUNIX look for match with megah
> INFO: Access rejected for megah: no such user
>
> looks like it's not read my users file in /usr/local/etc/raddb ....
>
>
> [ Attachment (text/x-html): 1116 bytes
>   Character set: iso-8859-1
>   Encoded with "quoted-printable" ]
>-- End of excerpt from Jamie Orzechowski



-- 
Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, external, etc etc on Unix, Win95/8, NT, Rhapsody
===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to