On Wed, 02 Feb 2000, [EMAIL PROTECTED] wrote:
> Greetings,
> 
> I made a C program that asks an LDAP server for authentication.
> I run it like this /usr/local/bin/radauth login_name login_password.
> It returns 0 if ok, and 1 if bad authentication. Not sure how
> to use it with AuthBy EXTERNAL since I did not see in the 
> documentation how to pass the password to the external program.
> 

Have a look at section 6.22 in the Radiator 2.14.1 reference manual:

6.22 <AuthBy EXTERNAL>

AuthBy EXTERNAL passes all requests to an eternal program, 
which is responsible for determining how to handle the request. It is
implemented in AuthEXTERNAL.pm . When the external command is run, all the
attributes in the request will be formatted and passed to its standard input
(stdin), one per line, in the format:

                          
        <tab>   Attribute-Name = attribute_value

Each line output by the command on stdout is interpreted as a list of 
comma separated attribute-value pairs in the format:

                          
        Attribute-Name = attribute_value

hth

Hugh

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to