Dustin,

This script is certainly something I slapped together from the 
Authen::PAM docs. My Perl skills are anything but. ;) The script should 
return the return code from PAM, but your shell may translate that 
return code to another number.

I wish I could be more help, but this is one of those times where I got 
lucky without understanding the code I wrote. I'm sure there are others 
who could improve the script if they feel like it.

Kevin

P.S. The Authen::PAM docs describe quite a few other functions which 
would make the script much more robust.
--
Get Firefox!
http://www.spreadfirefox.com/?q=affiliates&id=26755&t=1

Dustin C. Hatch wrote:
> I am trying Kevin Williams's perl srcipt for external user 
> authentication, and for a test, I have modified it to print the output 
> number from the pam module, but it prints 7.  According to make test, 7 
> is authentication failure.  Kevin, what am I doing wrong?  Also, for 
> anybody, how would I tell xmail to go on to use internal authentication 
> if this perl script fails?
> 
> Dustin C. Hatch
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
> 
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to