[JDEV] Limiting Registrations

jabber at msg.net jabber at msg.net
Tue May 29 14:57:38 CDT 2001


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.



More information about the JDev mailing list