[JDEV] jabberd14 PATCH: more registration control

Jacek Konieczny jajcus at bnet.pl
Mon Apr 28 11:58:04 CDT 2003


A friend of mine told me about a problem with mod_register disabled to
deny new user registrations. Disabling this module also disables
password changing and unregistration for already registered users.
I found no way for the current jabberd to disable registration only. The
patch available at: http://www.bnet.pl/~jajcus/jabberd14/jabberd-register-deny_new.patch
gives such possibility.

To use it (after it is applied, compiled and installed) and disable new
registration do not comment-out <mod_register/>, but add an "deny_new"
attribute to the <register/> element (in the <jsm/> section).

Example:

      <register notify="yes" deny_new="yes">
        <instructions>Choose a username and password to register with this server.</instructions>
        <name/>
        <email/>
      </register>


Greets,
        Jacek



More information about the JDev mailing list