ejabberd - Comments for "[SOLVED] Unable to authenticate with pam on 16.04" https://www.ejabberd.im/forum/25562/solved-unable-authenticate-pam-1604 en Quote: I found out that on my https://www.ejabberd.im/forum/25562/solved-unable-authenticate-pam-1604#comment-67050 <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>I found out that on my Gentoo install there are 2 copies of epam</p></div> <p>This sounds like a Gentoo packaging issue.</p> Wed, 14 Sep 2016 09:05:11 +0000 holger comment 67050 at https://www.ejabberd.im Aha thanks! I've been banging https://www.ejabberd.im/forum/25562/solved-unable-authenticate-pam-1604#comment-67049 <p>Aha thanks!<br /> I've been banging my head on this since I upgraded last night.<br /> I found out that on my Gentoo install there are 2 copies of epam and apparently ejabberd uses both for different things. I had already fixed the one in the ejabberd directory (which resolved several errors), but not the other one you mentioned (which fixed actual auth).</p> Tue, 13 Sep 2016 21:44:01 +0000 techiem2 comment 67049 at https://www.ejabberd.im I found this Fedora issue https://www.ejabberd.im/forum/25562/solved-unable-authenticate-pam-1604#comment-67020 <p>I found this Fedora issue related to ejabberd and epam:<br /> <noindex><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1337216" title="https://bugzilla.redhat.com/show_bug.cgi?id=1337216" rel="nofollow" >https://bugzilla.redhat.com/show_bug.cgi?id=1337216</a></noindex></p> <p>And I posted a workaround there - make epam setuid root as the ejabberd instructions enumerate:<br /> chmod 4750 /usr/lib/erlang/lib/p1_pam-1.0.0/priv/bin/epam</p> Sat, 27 Aug 2016 20:37:38 +0000 Stormwind comment 67020 at https://www.ejabberd.im I ran into this same issue https://www.ejabberd.im/forum/25562/solved-unable-authenticate-pam-1604#comment-67019 <p>I ran into this same issue when upgrading from Fedora 22 to Fedora 24. </p> <p>Fedora now packages epam in the erlang-p1_pam package, which I have installed - but I can find no instructions on how to configure ejabberd to start epam.</p> Sat, 27 Aug 2016 20:14:39 +0000 Stormwind comment 67019 at https://www.ejabberd.im The issue was that epam https://www.ejabberd.im/forum/25562/solved-unable-authenticate-pam-1604#comment-67017 <p>The issue was that epam wasn't running as root.</p> <p>I'd seen that this needed to be done in the documentation, but did not realize that ejabberd starts epam and leaves it running. So when I toggled it initially, it didn't seem to have any effect.</p> <p>I had to shut down the server, then do the chmod, then restart to get it all to work.</p> Sat, 27 Aug 2016 01:21:00 +0000 joed comment 67017 at https://www.ejabberd.im