in reply to Re: Authen::PAM
in thread Authen::PAM
Effectively, that makes it so that every time conv_func is called, $username and $passwd are blank - probably not what you want. The simplest solution is to add the my declarations to the top of the program and then never, ever, ever redeclare them :) Get rid of the line I quoted above from conv_func and get rid of the my keyword in front of $passwd and $username in the if block.my $username; my $passwd;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Authen::PAM
by michellem (Friar) on Jul 22, 2003 at 16:33 UTC |