For now, I use ejabberd and an external script to do my auth. The script try to open a connection to our IMAP mail server and if the authentication is successfull, then it valids the jabber connection.
I know we can use a POP3 server with Wildfire, but what about an IMAP server ? Is it possible ? If no, is it possible to use a custom script to do the auth ?
Out-of-the-box Wildfire cannot authenticate against IMAP. However, it would be pretty easy to write your own AuthProvider using the existing POP3AuthProvider as a template.
Where are the files for the auth providers? Should I download the sources packages ? I didn’'t find anything in the binaries package for Linux/Unix.
First, you have to enable the Native providers in Wildfire, and point the NativeAuth provider to the name of your PAM file.
Copy libshaj.jnilib from /wildfire/resources/nativeAuth/osx-ppc into /wildfire/lib
Create a file named “wildfire” in /etc/pamd.d . In that file, reference the PAM modules you want to use for authentication; see the other files for hints, or visit the Google. This will be a bit difficult on OSX, as Apple doesn’'t give you the IMAP module. You may have to compile yourself, or find a compiled binary somewhere.
Wow… this is where I slap myself for not doing my homework. Got to this forum through a google search rather than direct and the doc was wonderful! All setup