Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 2020 00:37:33 +0700
From:      Victor Sudakov <vas@sibptus.ru>
To:        freebsd-questions@freebsd.org, freebsd-net@freebsd.org
Subject:   net-im/prosody and SASL authentication
Message-ID:  <20200308173733.GA68069@admin.sibptus.ru>

Next in thread | Raw E-Mail | Index | Archive | Help

--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Dear Colleagues,

Has anyone been successful in configuring SASL authentication in
net-im/prosody? The desired result is that when I add a Unix user, this
user should be able to login to Jabber automatically without adding a separ=
ate
Jabber account (I use this feature in ejabberd).

I've configured SASL auth in prosody.cfg.lua according to the
documentation, but all I get is

Mar 09 00:16:36 modulemanager   error   Unable to load module 'sasl_cyrus':=
 /usr/local/lib/prosody/modules/mod_sasl_cyrus.lua: No such file or directo=
ry
Mar 09 00:16:36 modulemanager   error   Error initializing module 'auth_cyr=
us' on 'sibptus.ru': /usr/local/lib/prosody/util/startup.lua:145: module 'c=
yrussasl' not found:
        no field package.preload['cyrussasl']
        no file '/usr/local/lib/prosody/cyrussasl.lua'
        no file '/usr/local/share/lua/5.2/cyrussasl.lua'
        no file '/usr/local/share/lua/5.2/cyrussasl/init.lua'
        no file '/usr/local/lib/lua/5.2/cyrussasl.lua'
        no file '/usr/local/lib/lua/5.2/cyrussasl/init.lua'
        no file '/usr/local/lib/prosody/cyrussasl.so'
        no file '/usr/local/lib/lua/5.2/cyrussasl.so'
        no file '/usr/local/lib/lua/5.2/loadall.so'

I guess lua is missing the "cyrussasl" library but where do I get it? I
could not find one in the ports. Nor does the net-im/prosody port have any
configurable options to enable saslauthd support.

--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

--uAKRQypu60I7Lcqm
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJeZS1dAAoJEA2k8lmbXsY0KIgH/iXqVhjNf03wl6tDZstkmZVi
P3ML8sNBt7Az0/rtI8SGwPDoO8WQg/njr/IQBnlh45FL7qrnZdsa1MSOeTlZHSmW
BcPzRRdBgMqiEit9lVDqzX4st8AUtwYXjG6yfjiW8Hzyu5uBxFvvLsIulFgrSxmm
h2UtFBwkwiXjoq7IatLlvNoBia3cE1FGWNfLRjOrNsdzHL1w4ixHBH0VH9kLYk3A
PtaziysDRi5OsdH2aQ68OVqp6CJuaRn1EPv0GA3DGOxXKVc4z11NHi1088AlJ20e
NNwuoAmdmVgfNLsJfYsrOIIEkH5eRFEEd4DoVkojGvkzJ91tETJBwlBGvhBS/tw=
=MLG7
-----END PGP SIGNATURE-----

--uAKRQypu60I7Lcqm--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20200308173733.GA68069>