[REQ] Step by Step Openfire with PAM Auth

Dear all,

I am sorry if my questions so newbie and also my english too bad.

I have install Openfire 3.3.1-1 on Fedora Core 5 and is working properly. I setup MySQL as data storage. But, how do I make openfire use PAM auth which read from /etc/shadow ?

What I have done before ask this question:

  1. Copy /opt/openfire/resources/nativeAuth/linux-i386/libshaj.so to /usr/lib then chmod 755 /usr/lib/libshaj.so

  2. type as root: #ldconfig

  3. copy /etc/pam.d/system-auth to /etc/pam.d/openfire and /etc/pam.d/wildfire

  4. edit /opt/openfire/conf/openfire.xml and adding this line:

  5. Restart openfire

But still can not login with some user system. Need your help.

Thank you.

Finally I success implement openfire + PAM Auth after edit wildfire to openfire in openfire.xml. Again thank you.

Message was edited by: kalpin

This is what works for me.

Forgot to mention that you need to copy the lib file, i.e.

cp /opt/openfire/resources/nativeAuth/linux-i386/libshaj.so /opt/openfire/lib

Good luck.