I am trying to create a new account for my new ejabberd server using empathy on Ubuntu 10.04
I have this setting in the ejabberd.cfg---------------
{host_config, "chat.learnubuntu.org",
[
{access, c2s, [{allow, admin}, {allow, all}]},
{access, register, [{allow, all}]}
]
}.
yet using empathy I cannot create a new account. Is there something I am missing?
Thanks newbe tom
But have you enabled
But have you enabled mod_register as described in theGuide ? And have you specified the access rule ("register") you created in the module option "access"?
probably not becoz I am a
probably not becoz I am a dumb newbe I wiull review those suggestions and get back tom you tomorrow.
Thanks :)
The mod_register looks like
The mod_register looks like it is set ok see below
{mod_register, [
%% After successful registration, the user receives
%% a message with this subject and body.
%%
{welcome_message, {"Welcome!",
"Welcome to a Jabber service powered by Debian. "
"This is the Learn Ubuntu chat server. "
"Please join us for Live Ubuntu Learning presentations. "
"http://www.learnubuntu.org/live"}},
%% Replace it with 'none' if you don't want to send such message:
%%{welcome_message, none},
%%
%% When a user registers, send a notification to
%% these Jabber accounts.
%%
{registration_watchers, ["tvjudge1@learnubuntu.org"]},
{access, register}
]},
Sorry but I am not sure what you meant by the second part of your response
Ok I think I figured out what
Ok I think I figured out what you meant by the second part of your kind help
This below looks OK to me but if you could confirm that would be very helpful------------
% This setting is default because it's more safe.
{access, register, [{allow, all}]}.
%% By default frequency of account registrations from the same IP
%% is limited to 1 account every 10 minutes. To disable put: infinity
%%{registration_timeout, 600}.
%% Everybody can create pubsub nodes
{access, pubsub_createnode, [{allow, all}]}.
%%
%% Define specific Access rules in a virtual host.
%%
{host_config, "chat.learnubuntu.org",
[
{access, c2s, [{allow, admin}, {allow, all}]},
{access, register, [{allow, all}]}
]
}.
Im not sure that I understand why we have it twice, once with the domain and once as a global setting ???
OK and thanks for your help
OK and thanks for your help with this.
With Empathy I am unable to create a new account using in band registration however
I can create an account in-Band using Pidgin
So now I am wondering if this could be an Empathy issue.
What I really need to get to work for my website is a MUC that anyone can join as I am getting ready to run some LearnUbuntu open classes with live video and I just wanted to have an open chat session ruinning on the same page as I have my streaming live video.
So Im muc-ing around with muc now
Thanks for the help, this is great stuff
I am trying to follow this
I am trying to follow this post. However I was not able to open the config file. It always says "permission denied" Is there any way to access the ejabberd.cfg file? Thank you very much.
This is an operating system
This is an operating system question: your OS user needs to have the rights to open the file on the system, but this is not ejabberd specific. This is the case of any file.
I installed ejabberd using:
I installed ejabberd using: sudo apt-get install ejabberd
Then I do not have permission to go to /etc/ejabberd/ folder to change the "ejabberdcfg" file. Is this an operation system issue or the way for me to install ejabberd is incorrect?
Thank you.
This is typical Linux
This is typical Linux sysadmin administration. Nothing fancy here. You just need to learn your way in managing a Linux system. This is not ejabberd related.
My second part referred to
My second part referred to the line
{access, register}
in your module config. So it looks OK. And if there are two identical settings both on the global level and on the vhost level, then you may omit the second.
Are there any errors in the ejabberd logs when ejabberd starts up or a user tries to register?