Johnny Lam writes:

The script takes an "AUTH" request, checks the username/password using the "chkpw_pam" program, then makes a separate connection to authdaemond to make a "PRE" request to return the account data. Since authProg simply sends "FAIL" for a "PRE" request, the request falls through to the authuserdb module.

This simple idea works and required almost no programming, but I'd like to know if there's a nicer way to do this.

There's one potential problem with this.

The default configuration setting runs 5 authdaemond processes.

You get five logins come in at the same time. You turn around and reconnect to authdaemond, five times. Your connection requests will timeout because no more authdaemond processes are available.


Attachment: pgpbxMZmGao3Q.pgp
Description: PGP signature

Reply via email to