[jadmin] PAM Authentication
Bob Larsen
bob at bryanramey.com
Fri Jan 18 11:21:55 CST 2008
-----Original Message-----
From: jadmin-bounces at jabber.org [mailto:jadmin-bounces at jabber.org] On Behalf Of Tomasz Sterna
Sent: Friday, January 18, 2008 11:52 AM
To: Jabber/XMPP server administration list
Subject: Re: [jadmin] PAM Authentication
On Pt, 2008-01-18 at 10:15 -0500, Bob Larsen wrote:
> Any insight is greatly appreciated
Check http://jabberd2.xiaoka.com/wiki/PAM
--
/\_./o__ Tomasz Sterna
(/^/(_^^' http://www.xiaoka.com/
._.(_.)_ im:smoku at xiaoka.com
_______________________________________________
JAdmin mailing list
JAdmin at jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________
My notes indicate that I ran
./configure --prefix=/path/to/jabberd --enable-pgsql --enable-pam
My /path/to/jabberd/lib/jabberd also contains the following files:
Authreg_pam.la
Authreg_pam.so
Authreg_pgsql.la
Authreg_pgsql.so
Storage_pgsql.la
Storage_pgsql.so
Am I correct in interpreting this to mean that authentication is compiled for both pam and postgres, and storage is compiled as postgres?
I configured the c2s.xml as follows:
- <authreg>
<path>/path/to/jabberd/lib/jabberd</path>
<module>pam</module>
- <mechanisms>
- <traditional>
<plain />
<digest />
</traditional>
- <sasl>
<plain />
</sasl>
</mechanisms>
- <ssl-mechanisms>
- <traditional>
<plain />
</traditional>
- <sasl>
<plain />
</sasl>
</ssl-mechanisms>
</authreg>
And created a /etc/pam.d/jabberd that contains:
Auth required pam_winbind.so use_first_pass
password required pam_winbind.so use_first_pass
account required pam_winbind.so use_first_pass
session required pam_winbind.so use_first_pass
Thanks
Bob
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the JAdmin
mailing list