[JDEV] Re: [jadmin] Limiting Registrations

jabber at msg.net jabber at msg.net
Wed May 2 19:17:32 CDT 2001


> but how do you make it so that users can't create their own accounts?

If you remove the <register>...</register> section from jabber.xml, then you
make it so _nobody_ can create new accounts. Not exactly what you need :-)
 

> I was thinking about using the resource (only allowing a certain resource to
> create the account). Is this possible as a setting in the jabber.xml?

I'm not really up on the meaning of 'resource' in this context?

Though I do not believe this is currently possible in jabber.xml, it does
sound a lot like what I am looking to do. I want to keep the <register>
functions in my jabber.xml, but have the option to limit the ability to register
new accounts to certain JID's specified in the <register> configuration session-
not necessarily admin accounts, just the specific accounts (JIDs) listed.

This will require, at a minimum, changes to mod_register.c, which I will try
to find time to work on this week. I do not have CVS commit access, so it might
take a while for my changes to find their way into the source tree.

Followups on this thread probably belong in JDEV.
 

> fyi...
> the reason why i ask to use "resource" is that I am melding the jabber
> applet with a portal deployment. The portal already logs the user in and has
> unique user names. I'm just appending their usernames to the jabber server
> name and automatically register a new jabber user for them. (password would
> be invisible to them as well...since they are already autheticated into the
> portal).

This sounds like my proposed fix should suit your needs. Check jadmin archives:

	http://mailman.jabber.org/pipermail/jadmin/2001-May/001058.html

Kevin Kadow
MSG.Net, Inc.



More information about the JDev mailing list