Authenticate user via radius in new account registration

Hi,
we are looking for some way to authenticate users against some external database and based on that, leting them to register a new account. So far, only possible solution that I've found is to enable web page registration and restrict access on that page in some way.

Is there any better solution?

--
Thanks for your replies.

Maybe I don't get the idea,

Maybe I don't get the idea, but isn't it solved by using simply external authentication mechanism? Why need to register in case the authentication is already done?

Authenticated user is

Authenticated user is permited to create an account, but it doesnt say anything about user having account or not.

But we already have internal database with registered accounts. External auth isn't an option mainly because we don't want to force users to use JID same as login name used for radius auth.

I suppose you have two

I suppose you have two options.
1. Store a jid that user wants in your "internal database", creating some additional field for this, and use some custom UI to let your users to define it.
2. Write a custom ejabberd auth module.

Syndicate content