Comments (11)
ejabberd authentication works stably for a week then it fails randomly. If I restart it, the authentication works again
from ejabberd.
I have the same issue using ejabberd 2.1.10 and PAM. I'm using pam in order to allow a user to have 2 different passwords, however, after a few days (usually 2-3), ejabberd only accept one password.
I've checked pam using pamtester and PAM still accept both passwords. Ejabberd works again properly after a restart.
Any idea?
from ejabberd.
@MaximeCheramy what if you kill epam program only? Does it help? Or full ejabberd restart is required?
from ejabberd.
@zinid I can't ssh the server right now, I'll try later or ask to someone to do it for me. Anyway, I wanted to add that ,apparently, users who do their first auth can use any password (between the 2 accepted by the PAM module).
from ejabberd.
Hum, I didn't get the last sentence, could you describe in details how you manage to provide several password for users? Is it totally handled by the corresponding PAM module?
from ejabberd.
Yes, it is totally handled by the PAM module (the conf is : internal, pam). Users can either use, for the password, their LDAP password or a secret token delivered by the website when they are logged in. The PAM module is working perfectly well and it was working with ejabberd until we did an upgrade (of ejabberd and the rest of the system).
Since the upgrade, users can use either the ldap password or the token as expected until it stops working after a few days for no apparent reason. But (apparently) it still works for the users who did not authenticate yet.
from ejabberd.
When it stops working, it means neither internal nor pam auth is working, right?
from ejabberd.
Nope, it means that only one password is accepted. For example, user toto (an LDAP user) can use as a password "mypass" and "mytoken" but after a while, when I say it stops working, only one of the password is accepted ("mypass" for my account). toto is not an internal account.
from ejabberd.
I now have an access to the server. killing epam solves the problem for now.
from ejabberd.
You can try to strace(1) the epam process to see what happens.
Anyway, this is really odd stuff :(
from ejabberd.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from ejabberd.
Related Issues (20)
- [BUG] Cannot connect to Postgres with `sql_ssl_verify: true`
- Matrix Gateway: Join Matrix Rooms from XMPP
- ejabberd sends 'presence's', 'photo' element with no hash value, after user publishes a new avatar HOT 1
- Can't set long node name! using kubernetes
- Self-Compile ejabberd rebar3 resulting in ejabberd init process crash. Erlang/OTP 25 HOT 2
- Crash compiling ejabberd with Erlang/OTP 27.0-rc2
- Docs link not working HOT 3
- Import from Prosody with "roster" has: "approved" attribute. HOT 2
- Assigning INET_DIST_INTERFACE to an IPv6 address HOT 3
- exception error: {unregistered_route,<<"pubsub.domain.tld">>} HOT 4
- Dependency conflicts when using Timex with Ejabberd HOT 2
- Update mod_muc_room to support XEP-0425 0.3.0 (VERY EARLY DRAFT)
- erts_vsn inside ejabberdctl never gets set HOT 3
- SASL2: Stable resource is used if no user-agent id is set. HOT 8
- Error While call /api/get_user_subscriptions at localhost HOT 3
- Return type of get_vcard API call changed (and is different from docs) HOT 2
- ejabberd do not start after update from 23.10 to 24.02 HOT 5
- Store data into nick column on archive table.
- Date and reason for banned accounts not stored when using SCRAM HOT 6
- How to get the current date for created_at when create a Multi-User Chat. HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ejabberd.