How to create new user by external aplication?

When I try to create new user using QueryRegister server send me this

620: Jabber protocol (420: Server supplied no description)

Same in 2.6.2 & 3.0.0

Any idea?

Hey czaki,

Instead of trying to create users directly in the database, have you tried using the User Service plugin[/url] to create them using HTTP requests?

Regards,

– Gato

With all the caching going on in the database(s) its going to be very hard to create users externally. The LDAP backend for users might be your best choice for this, but then the “normal” way of adding users isnt there. I would take Gato’'s suggestion, as it fits right in with the design of Wildfire.

Gato: This does bring up something interesting. I can see a situation where a “common” database exists for Wildfire and some other application. Adding some way to trigger a cache flush externally would be nice. I know you were looking at adding lots of admin features into the ad-hoc commands, but maybe even just a simple http(s) request for applications that dont have a decent xmpp library.

Hi Jay,

the purge cache option is already there and it seems to be a simple HTTP request. One must login before, so using perl to login and then purge the cache should be fine.

LG

LG,

I think it would be easier to write an XMPP library than to write perl to login to a website that dosnt use HTTP authentication.

Right Jay,

but as I did write it already and one can find it url=http://www.jivesoftware.org/community/thread.jspa?messageID=116681&#116681 here[/url] it may be fine for a dirty solution.

LG

So there is no way to create new user via other way than HTTP?

Hi,

Wildfire supports XMPP in-band account creation and most clients use it.

Using Smack one needs just a few lines of code to create an account.

LG