[JDEV] Limiting Registrations

Thomas Muldowney temas at box5.net
Wed May 30 11:55:51 CDT 2001


If you just want to disable that, then you need to remove the register stuff 
from your config.  If you want to change code, it should all be in mod_register,
what specific problems are you having?

--temas

On Tue, May 29, 2001 at 02:57:38PM -0500, jabber at msg.net wrote:
> Can anybody assist me by pointing out where the code is that forbids use of
> user registration from a logged-in user? I need to change this behavior
> to proceed with my 'controlled registration' changes for mod_register.c
> 
> I've approached the question for several different angles, but keep hitting
> limitations in the implementation of IQ, etc.
> 
> 
> Christopher Josephes wrote:
> > As a third solution, what about the idea of allowing user registrations,
> > but making the account disabled until the registration is approved by an
> > appropriate administrator?  This would be helpful for environments where
> > there is no official set user list, or there are no existing user
> > credentials to authenticate against.  This method could be performed
> > through the Jabber protocol, but would require slight changes to the XML
> > file format for the user data.
> 
> This is actually really easy- take a look at what is changed in the spoolfile
> for a user when you 'remove' (actually 'disable') the user, and just set this
> flag when the account is created, and the account will be registered, but
> locked out.
> 
> 
> Kevin Kadow
> MSG.Net, Inc.
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20010530/42f031bc/attachment-0002.pgp>


More information about the JDev mailing list