This is not an error. It's a debug-level message saying that no data
exists for the account me@localhost. This means the account does not
exist. The message is only meant for debugging.
> Seem that the path notation is wrong for a Windows system.
> /localhost/accounts/me.dat
> It should be "\" instead of "/".
>
Windows (officially) supports both forward and backward slashes as
directory separators.
See http://msdn.microsoft.com/en-us/library/aa365247.aspx
--
Waqas
It seems the account does not exist. How did you create it?
Matthew
Great. Really Exodus should have displayed an error to you when you
attempted to create the account the first time.
> However, I still can not log in Prosody. The error message from
> Exodus said that authentication error is occurred.
> The SSL certificate received from the server has errors.
> Certificate does not match host: /C=GB/ST=Some-State/L=Jabberland/
> O=Prosody IM/CN=Example certificate/Email=pro...@prosody.im
This is normal. To allow encrypted connections you need an SSL
certificate, Prosody comes with one by default but it won't be correct
for your server and you should generate your own or get one from eg.
http://xmpp.org/ca/
> I finally remark out the "saslauth" module to make it work. Any
> idea?
>
mod_saslauth is required by the XMPP specifications. By commenting it
out Exodus would have used the "legacyauth" module instead, which
works but isn't recommended (especially over unencrypted connections).
> Seems that Prosody is light weight and easy to use. The roster and
> chat functions work fine.
Glad to hear :)
> May be the "prosody.cfg.lua.dist" should enable the "register" and
> disable the "saslauth" as default, so that it will work right after
> the first installation?
>
I have reservations about enabling mod_register by default... if
someone didn't realise it was enabled then it would allow anyone to
register for accounts on their server without the owner even knowing.
Because of this I think it really ought to be explicitly enabled by
the server admin.
Also as I said above we can't really disable mod_saslauth by default.
Clients may soon stop supporting legacyauth, and eventually when this
happens we may even disable that plugin by default.
> Thank you for the good job.
>
You're welcome! I'll keep your feedback in mind, for example it might
be possible for us to ask during installation whether to enable
mod_register. This way the admin won't be caught out like you have
been.
As for SSL certificates - we really need to generate those at
installation too, with input from the admin on what domain name to
use, etc. I'll add an issue to our tracker.
Regards,
Matthew
You should be able to use the prosodyctl
[http://prosody.im/doc/prosodyctl] utility for that.
> Also, according to http://prosody.im/doc/configure :
> allow_registration - Whether to allow registration of new accounts via
> Jabber clients. Default is true.
I believe that only has an effect if mod_register is loaded. So you can
load mod_register and set allow_registration to false which would allow
clients to change passwords for existing users but not allow new
registrations to occur. At least I believe that's how it works.
--
Dwayne Bent
On Tue, Jun 2, 2009 at 6:30 PM, <ucl.m...@gmail.com> wrote:
>
> Hi,
> You are right. I will disable registration via Jabber client later
> on. Anyway, if not allow registration of new accounts via Jabber
> client I should have no other way to learn the dat file format, not to
> mention how to prepare the user account and their roster manually.
> How about an utility to manage the user account?
>
Yes, there does need to be such a utility. We don't currently have one
on Windows. After discussion with Waqas, our Windows developer, this
morning it seems likely until we have such a feature for Windows that
mod_register will be enabled by default.
> Also, according to http://prosody.im/doc/configure :
> allow_registration - Whether to allow registration of new accounts via
> Jabber clients. Default is true.
You're right, thanks - I need to make this more clear. All the options
in that section only apply when mod_register is loaded.
Regards,
Matthew
Only on systems other than Windows, currently. For future versions we
will either modify prosodyctl to work on Windows (probably not an
ideal solution, Windows isn't exactly geared for command-line usage)
or to create a graphical utility which would be easily accessible and
also run on startup.
A web interface shouldn't be too far away, either.
>> Also, according to http://prosody.im/doc/configure :
>> allow_registration - Whether to allow registration of new accounts via
>> Jabber clients. Default is true.
>
> I believe that only has an effect if mod_register is loaded. So you can
> load mod_register and set allow_registration to false which would allow
> clients to change passwords for existing users but not allow new
> registrations to occur. At least I believe that's how it works.
>
Correct.
Regards,
Matthew
I've just made a few changes to the site/documentation and the default
configuration file.
- I have made http://prosody.im/doc/configure#registration more clear
about require mod_register
- Made a new page at http://prosody.im/doc/creating_accounts
- Added a title "Creating accounts" on
http://prosody.im/doc/configure and linked to
http://prosody.im/doc/creating_accounts
- Updated the default config to load mod_register by default
- Added to the config the line: allow_registration = false
The new line in the configuration file has the following comment above it:
-- Disable account creation by default, for security
-- For more information see http://prosody.im/doc/creating_accounts
I hope this should make everything more clear for others in the future.
Thanks,
Matthew