Re: Oracle and pure-authd mechanism

Heiko Noordhof <[email protected]> Thu, 26 Jan 2006 14:38:16 +0100
Newsgroups gmane.network.pureftpd.user
Message-ID <[email protected]>
Aurelien Barrere wrote:

> So I am using the pure-authd method
>
> Do I need to write a shell or perl script to retrieve oracle password
> and store them into a file and pass it to the pure-authd daemon to
> authenticate or do i have the ability to directly pass the argument to
> pure-authd daemon ? 

Your script (or program) will be run automatically by the pure-authd
daemon. It will pass login name, password, local ip-address + port and
the remote IP-address by setting environment variables. Your script
should, in turn, print "auth_ok:1" to the standard output, as well as
the uid, gid and homedirectory for the account to use.

See "man pure-authd" for the names of the environment variables and the
exact format of the text to print to stdout.

    Heiko


---------------------------------------------------------------------
To post a new message, e-mail: [email protected]
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]