ejabberd - Comments for "User registration" https://www.ejabberd.im/node/24940 en OK Thanks. I will have to https://www.ejabberd.im/node/24940#comment-65743 <p>OK Thanks. I will have to make some changes on our end.</p> Thu, 04 Jun 2015 18:21:48 +0000 mprokop comment 65743 at https://www.ejabberd.im Hello, No this is no how it https://www.ejabberd.im/node/24940#comment-65739 <p>Hello,</p> <p>No this is no how it works. When you delegate authentication to PAM, user are not created / copied in database. It is queried each time authentication is needed.</p> Thu, 04 Jun 2015 12:54:50 +0000 mremond comment 65739 at https://www.ejabberd.im So there is no way to https://www.ejabberd.im/node/24940#comment-65738 <p>So there is no way to register the users against the server as they log in? </p> <p>Say I have a authentication server with 10k users on it and that the PAM module points to it, only 500ish will ever use chat. Everytime a user logs onto chat for the first time, it registers the account on the ejabberd server. This way when I have other applications call 'ejabberdctl registered-users' it only gives the 500 or so that use chat rather than the 10k.<br /> Is this possible in any way?</p> Thu, 04 Jun 2015 11:41:54 +0000 mprokop comment 65738 at https://www.ejabberd.im pam backend is read-only. You https://www.ejabberd.im/node/24940#comment-65737 <p>pam backend is read-only. You can only authenticate with it. ejabberd does not have the right to add users when you use that.</p> Thu, 04 Jun 2015 09:29:35 +0000 mremond comment 65737 at https://www.ejabberd.im so I have found that if I https://www.ejabberd.im/node/24940#comment-65735 <p>so I have found that if I change my config file to use only ODBC it will work fine.</p> <p>##auth_method: [odbc, pam]<br /> auth_method: odbc</p> <p>The problem is that I want to use PAM as well. Any suggestions?</p> Wed, 03 Jun 2015 19:06:53 +0000 mprokop comment 65735 at https://www.ejabberd.im