Problem with ipop3d and pam_mysql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

i've got a problem with ipo3d and pam_mysql on Redhat 9.

I've compiled and installed pam_mysql 0.5 sucessfully.

I put those three lines to /etc/pam.d/pop:

#%PAM-1.0
auth        required    /lib/security/pam_mysql.so user=dbuser host=someip passwd=somepass db=mydb table=email crypt=0
account     required    /lib/security/pam_mysql.so user=dbuser host=someip passwd=somepass db=mydb table=email crypt=0

The MySQL-Server is up and running on a remote host.
With the 'mysql' client i can access the remote mysqlserver.
I can access the database and the table and do some selects.

Everything's fine until i try to use ipop3d:

When i launch ipop3d and do some logins from the shell, it does
not even try to connect to the remote mysqlserver.

I recompiled pam_mysql.so with #define DEBUG and expected to see
some syslog messages. I don't see any syslog messages from
pam_mysql.

It looks like pam_mysql.so is not invoked. I did an additional
syslog message in pam_mysql.c right at the beginning to make
absolutely sure that it prints something to syslog when it is
invoked. Nothing.

On the other hand, if i comment out the 'auth' and 'account'
lines in /etc/pam.d/pop and put these 2 lines in it:

auth       required     /lib/security/pam_stack.so service=system-auth
account    required     /lib/security/pam_stack.so service=system-auth

.. i can access ipop3d with a local system user. That means that
PAM generally seems to be active at this point.


Anyone has an idea what i can try to get further information why
pam_mysql.so doesn't work?

By the way, on another old 7.3 install it works quite well.

Hopefully someone has an idea ...

Kind regards,
Andy




_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux