I'm working on a way to allow the user the ability to reset their own ejabberd password through a web site. I was thinking of using the user's registered email address as a means of authentication. The problem is that unless each person provides their email address in the jud, it's not possible. My hope would be to use the ejabberdctl script and have it populate the email address during account creation. Something like... ejabberdctl ejabberd@localhost register ssmith localhost mypassword email@example.com
Just ran into another snag... It appears that you can't use ejabberdctl to reset a registered user's password. I just tried it and the script complained that the user is already registered. Is there a way to programmatically reset a user's password? Looks like it could be done with a little tweaking of ejabberdctl.