Hi,

I just can't get pam authentication to work on
redhat, read the whole web and the documentation.

/etc/pam.d (tryed both cause there seems to me no clear indication which
is the correct one)

auth       required /lib/security/pam_unix.so debug
account    required /lib/security/pam_unix.so debug
session    required /lib/security/pam_unix.so debug

#auth       required    /lib/security/pam_pwdb.so debug
#account    required    /lib/security/pam_pwdb.so debug
#session    required    /lib/security/pam_pwdb.so       debug


[root@milestone authlib]# ./authtest -s imap -m authpam tom password
Authentication FAILED!

[root@milestone authlib]# ./authtest -s imap tom password
Authenticated: module authdaemon
Home directory: /home/tom
UID/GID: 500/100
AUTHADDR=tom
AUTHFULLNAME=tom

Why or better how does the authentication work without pam but not with
the client?

/var/log/messages

milestone PAM_pwdb[2199]: authentication failure; (uid=0) -> tom for
imap service

/var/log/secure

PAM_unix[2015]: authentication failure; tom(uid=500) -> courier for
system-auth service

[root@milestone authlib]# ps axw | grep auth
 1823 ?        S      0:00
/usr/lib/courier-imap/libexec/authlib/authdaemond.plain start
 1824 ?        S      0:00
/usr/lib/courier-imap/libexec/authlib/authdaemond.plain start
 1825 ?        S      0:00
/usr/lib/courier-imap/libexec/authlib/authdaemond.plain start
 1829 ?        S      0:00
/usr/lib/courier-imap/libexec/authlib/authdaemond.plain start
 1832 ?        S      0:00
/usr/lib/courier-imap/libexec/authlib/authdaemond.plain start
 1834 ?        S      0:00
/usr/lib/courier-imap/libexec/authlib/authdaemond.plain start

[root@milestone authlib]# ls -la /usr/lib/cour*/libex*/auth*
insgesamt 388
drwx------    2 root     root         4096 Apr  5 18:26 .
drwx------    3 root     root         4096 M�r 28 20:54 ..
-rwxr-xr-x    1 root     root        93012 M�r 28 20:54 authdaemon
-rwxr-xr-x    1 root     root          406 M�r 28 20:54 authdaemond
-rwxr-xr-x    1 root     root       197149 M�r 28 20:54
authdaemond.plain
-rwxr-xr-x    1 root     root        74412 Apr  5 18:26 authpam

On the Client side (Outlook Express 5):

Code: 800ccc0f

The users Maildir:

ls -la /home/tom/Maildir
drwxr--r--    5 tom      users        4096 M�r  9 17:52 .
drwxr--r--   22 tom      users        4096 Apr  5 18:46 ..
drwxr--r--    2 tom      users        4096 M�r  9 17:52 cur
drwxr--r--    2 tom      users        4096 M�r 28 18:57 new
drwxr--r--    2 tom      users        4096 M�r 28 18:57 tmp


cat authdaemonrc |grep authmod*
##NAME: authmodulelist:0
authmodulelist="authcustom authpwd authpam authuserdb"
##NAME: authmodulelistorig:1
authmodulelistorig="authcustom authcram authuserdb authpam"

I'm stuck in the moment and can't get out of it. Any pointers?

Thanks Tom



_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to