Re: PAM Authentication - For the record

2005-08-03 Thread Randall Gellens
Title: Re: PAM Authentication - For the
record


At 3:01 PM -0500 5/19/05, James Medley wrote:

Hello All: Earlier today I sent the email
shown below and thanks to Daniel's advise of comparing the pam.d/pop3
file with other pam.d files, I found a solution. The file
qpopper4.0.7/doc/mac said...

Now you need an entry in /etc/pam.d/ for pop3.  Copy
the sample pam
configuration file from the 'samples' directory to the
'/etc/pam.d'
directory by entering the following commands.  Or
skip these commands
and use 'make install' do it for you.
 sudo sh -c 'umask 0077; cp samples/qpopper.pam
/etc/pam.d/pop3'


This did not work.

What specific errors did you get?  What did the Qpopper
debug trace show?



 I instead copied the file
pam.d/imap (which already included pop3) and added the word 'login' on
the top line so it reads

# pop3, imap, smtp, login : auth account password
session
auth  
required   pam_nologin.so
auth   sufficient
pam_securityserver.so
auth   sufficient
pam_unix.so
auth  
required   pam_deny.so
account    required  
pam_permit.so
password   required  
pam_deny.so
session   
required   pam_uwtmp.so


I'm glad to say qpopper4.0.7 is up and
running on an iMac G5, OS 10.4. Thanks to all, Jim



At 9:00 AM -0500 5/19/05, James Medley
wrote:
Hello All: I have installed Qpopper4.0.7
(enable-standalone) on an iMac G5 (OS 10.4). I followed the
instructions giving in doc/mac and am having a problem with PAM
authentication. I can start qpopper and give my user name but when
trying my password I get; PAM authentication failed for user
"jmedley" : Authentication failure (7) +OK Pop server at
bmt-002.tamu.edu signing off.
Connection closed by foreign host. It
acts as if I am using the wrong password. How do I setup users and
passwords for qpopper? In the past I just use system prefs 'accounts'.
Thanks for the help, Jim


--


-- 

Randall Gellens
Opinions are personal;    facts are
suspect;    I speak for myself only
-- Randomly-selected tag: ---
There are some micro-organisms that exhibit characteristics of
both plants and animals.  When exposed to light they undergo
photosynthesis; and when the lights go out, they turn into
animals.  But then again, don't we all?




PAM Authentication - For the record

2005-05-19 Thread James Medley
Title: PAM Authentication - For the
record


Hello All: Earlier today I sent the email shown below and thanks
to Daniel's advise of comparing the pam.d/pop3 file with other pam.d
files, I found a solution. The file qpopper4.0.7/doc/mac said...

Now you need an entry in /etc/pam.d/ for pop3.  Copy
the sample pam
configuration file from the 'samples' directory to the
'/etc/pam.d'
directory by entering the following commands.  Or
skip these commands
and use 'make install' do it for you.
 sudo sh -c 'umask 0077; cp samples/qpopper.pam
/etc/pam.d/pop3'

This did not work. I instead copied the file pam.d/imap (which
already included pop3) and added the word 'login' on the top line so
it reads

# pop3, imap, smtp, login : auth account password
session
auth  
required   pam_nologin.so
auth   sufficient
pam_securityserver.so
auth   sufficient
pam_unix.so
auth  
required   pam_deny.so
account    required  
pam_permit.so
password   required  
pam_deny.so
session   
required   pam_uwtmp.so

I'm glad to say qpopper4.0.7 is up and running on an iMac G5, OS
10.4. Thanks to all, Jim


At 9:00 AM -0500 5/19/05, James Medley wrote:
Hello All: I have installed Qpopper4.0.7
(enable-standalone) on an iMac G5 (OS 10.4). I followed the
instructions giving in doc/mac and am having a problem with PAM
authentication. I can start qpopper and give my user name but when
trying my password I get; PAM authentication failed for user
"jmedley" : Authentication failure (7) +OK Pop server at
bmt-002.tamu.edu signing off.
Connection closed by foreign host. It
acts as if I am using the wrong password. How do I setup users and
passwords for qpopper? In the past I just use system prefs 'accounts'.
Thanks for the help, Jim

-- 





PAM Authentication

2005-05-19 Thread James Medley
Hello All: I have installed Qpopper4.0.7 (enable-standalone) on an 
iMac G5 (OS 10.4). I followed the instructions giving in doc/mac and 
am having a problem with PAM authentication. I can start qpopper and 
give my user name but when trying my password I get; PAM 
authentication failed for user "jmedley" : Authentication failure (7) 
+OK Pop server at bmt-002.tamu.edu signing off.
Connection closed by foreign host. It acts as if I am using the wrong 
password. How do I setup users and passwords for qpopper? In the past 
I just use system prefs 'accounts'. Thanks for the help, Jim

--
James Medley
Senior Research Associate
Texas A&M University
Agricultural Research and Extension Center
Beaumont, Texas 77713
(409)752-2741 ext 2252
[EMAIL PROTECTED]
http://aesrg.tamu.edu


Re: PAM authentication failure (7) and more

2001-11-26 Thread Randall Gellens

At 3:04 PM -0800 11/22/01, Jens wrote:

>When I telnet to localhost 110 on the machine that qpopper is installed,
>everything seems ok. I enter 'user username' to which qpopper replies that a
>password is required. I then enter 'pass password' and after contemplating
>life for some time, qpopper tells me that there is a PAM authentication
>failure (7).

Try enabling debug tracing in Qpopper at least, and also in the 
various PAM modules, if possible.  This may at least give more 
information.

To enable tracing in Qpopper:

1.  Do a 'make clean'
2.  Re-run ./configure, adding '--enable-debugging'.
3.  Edit the inetd.conf line for Qpopper, adding '-d' or '-t '.
4.  Send inetd (or xinetd) a HUP signal.

(Steps 3 and 4 are only needed if you use inetd (or xinetd).  In 
standalone mode, you can add '-d' or '-t ' to the 
command line directly.)

(In either standalone or inetd mode, if you use a configuration file 
you can add 'set debug' or 'set tracefile = ' to either a 
global or user-specific configuration file instead of steps 3 and 4.)

This causes detailed tracing to be written to the syslog or to the 
file specified as 'tracefile'.


-- 

--