Quantcast
Channel: ejabberd - ejabberd Administration
Viewing all 782 articles
Browse latest View live

LDAP TLS Windows 2008 Not Work

$
0
0

Добрый день, никак не могу настроить LDAP авторизацию. Сервер на котором стоит ejabberd - Centos 7

Вот куски кода конфига и кусок лог файла. может знающий поможет определить в чем проблема.

##
## Authentication using LDAP
##
auth_method: ldap
##
## List of LDAP servers:
ldap_servers:
- "main.port-audit.ru"
##
## Encryption of connection to LDAP servers:
## ldap_encrypt: none
ldap_encrypt: tls
##
## Port to connect to on LDAP servers:
## ldap_port: 389
ldap_port: 636
##
## LDAP manager:
ldap_rootdn: "CN=xmpp,OU=services_users,DC=port-audit,DC=ru"
##

read more


how to create limited admin account

$
0
0

hi everybody
I want to create ejabberd admin but I want it to be able just to create ejabberd accounts without being able to edit our change any configuration on my server
anybody have an idea how to achieve that ?

compiling error

$
0
0

when i use make i get this

=> ejabberd (compile)

=ERROR REPORT==== 4-Jul-2016::08:58:48 ===
Error in process <0.36.0> with exit value:
{{case_clause,[]},
[{code_server,split_base,1,[{file,"code_server.erl"},{line,639}]},
{code_server,archive_subdirs,1,[{file,"code_server.erl"},{line,825}]},
{code_server,do_insert_name,3,[{file,"code_server.erl"},{line,819}]},
{code_server,do_add,4,[{file,"code_server.erl"},{line,739}]},
{code_server,add_path,4,[{file,"code_server.erl"},{line,714}]},
{code_server,handle_call,3,[{file,"code_server.erl"},{line,255}]},

read more

Configure nginx as a tcp proxy for ejabberd

$
0
0

Hi,

I have the folowing configuration in nginx to function as a tcp proxy for ejabberd.

stream{
upstream ejabberd-servers{
server ejabberd:5222;
}
server{
listen 5222;
proxy_pass ejabberd-servers;
}
}

ejabberd is the hostname of the ejabberd server.

When I connect to nginx using smack client library, I get the error is SOCKS5 socket fail.

When I try connection using SOCKS4, I get Servers response VN 60

read more

Ejabberd Clustering not working

$
0
0

I have installed ejabberd on two ubuntu servers in the same network using the binary installers, I have copied the .erlang.cookie file from /etc/ejabberd/bin of ejabberd@node1 (The intended master) to /etc/ejabberd/bin of ejabberd@node2 (the intended slave). When I run the command:

ejabberdctl join_cluster 'ejabberd@node1' on ejabberd@node2, I get the following error:

Error: {no_ping,ejabberd@node1}

When I try to ping ejabberd@node1 using erl console I get a pang.

The servers on which both nodes are installed can ping each other.

What am I doing wrong here?

[solved] MUC service broken, service discovery too

$
0
0

Hello,

our two-instance cluster seems to become increasingly brittle (see also: https://www.ejabberd.im/forum/25504/ejabberdctl-commands-go-missing).

The MUC service seems to have stopped working properly, rooms that I create oftentimes don't open. This seems to happen more for room names that have been used previously, so these non-persistent room names seem to be "burned" now. The room list feature (in Pidgin) often doesn't return a result ("Stop" button stays enabled).

read more

PEP is broken, according to Conversations

$
0
0

I noticed that Conversation's "Server info" view reports support for PEP as "Broken". A look at the Conversations log shows this sequence:

07-11 20:59:47.656 D/conversations( 1863): AxolotlService (user@example.com): Own device 12345 not in PEP devicelist.
07-11 20:59:47.656 W/conversations( 1863): AxolotlService (user@example.com): Own device list empty, attempting to publish (try 1)

read more

how to create multiple ejabberd accounts

$
0
0

I'm looking for a method to create multiple ejabberd accounts from excel sheet, how to do so ?


How to import from prosody

$
0
0

Hi,

I'm running prosody trunk for some years but now I want to move to ejabberd without data loss.
I found a command to import the data but this does not work as expected.

I've tried: ejabberdctl import_prosody /var/prosody/data and got the following error for all registered accounts:


2016-07-15 10:17:57.295 [debug] <0.540.0>@ejabberd_commands:execute_command2:528 Executing command prosody2ejabberd:from_dir with Args=["/var/prosody/data"]
2016-07-15 10:17:57.794 [error] <0.540.0>@prosody2ejabberd:convert_data:102 failed to register user user@domain.de: {error,not_allowed}

read more

anonymous authentification only for localhost?

$
0
0

Hi,

I use ejabberd 16.06 and have internal and anounymous authentication enabled for my host. Is it possible to allow anonymous login only from a specific IP address? I want to use a web chat that runs on localhost and only from this IP it should be possible to use anonymous login.

How can I configure it?

greetings, Philip.

how to check inactive users accounts

$
0
0

hi everybody
I'm wondering if there is a way to get inactive ejabberd accounts in order to remove them .

Managing ejabberd users from Node.js or other server app

$
0
0

Hello and thanks for ejabberd :)

I run 2 different machines, one with a node.js app and one with ejabberd server.
They share the same db already. In particular, I managed ejabberd to do the oauth and storing of offline messages with the remote db.
I would like to be able to run "register", "add_roster_item", send messages and a few more commands from my node app. As far as I understand, these are the options available to achieve this effect:

1 enable mod_http_api with oauth support, but the documentation states that these commands are not yet available

read more

Clustering join_cluster command

$
0
0

Hi,
I have some doubts in clustering.
Scenario:
1. A load balancer with domain name ( abc.com )
2. 2 ejabberd servers running on nodes ejabberd@node1 and ejabberd@node2
3. Both ejabberd servers ejabberd.yml file contain host - abc.com
4. Both ejabberd servers are connected to main database which is mysql.

Questions:
1. Is the command 'join_cluster' enough for proper clustering. Or we have to perform some mnesia replication steps?

read more

inband registration

$
0
0

Hi all,

does anybody have a clue on where i can find a basic script code that would allow users to register their own ejabberd accounts from a web interface?

cheers,
henry

Multiple VHost with Postgresql

$
0
0

Hello,

We have THREE domains (xmpp.domain1,com, xmpp.domain2.com and xmpp.domain3.com). I've configured "ejabberd.yml" with the three HOSTS and their config sections (please see the config section below). The thing is that when I config ONLY a vHost and comment the others, it works because I can register every user to its domain-->database.

I mean, if I execute:
ejabberdctl register userX xmpp.domainX.com userXpass

read more


Change Node name - Windows Application (non-service)

odbc_connection_pool

$
0
0

What should be the limit for odbc_connection_pool for 3000 online users simultaneously?
1. Currently I am using mysql and odbc_connection_pool is not specified in yml file.
2. It takes time to make connection with ejabberd server from smack library on android. Is this related to odbc connections?

Not able to create shared roster group

$
0
0

Hi All, Can you please hep me on the creation of shared roster group.

I have installed ejabberd 16.06 distribution in Windows 7 OS with MS SQL Server as the back-end database.
I can able to authenticate the users successfully.

I have created a shared roster group through admin panel and able to see the same in the 'sr_group' table.
But after giving the all the values it is saying 'Not Found'.

Here are ejabberd server logs:

2016-07-20 20:00:22.151 [debug] <0.430.0>@ejabberd_sql:sql_query_internal:570 SQL: "select name from sr_group"

read more

oauth and third party services

$
0
0

Hello everyone,

what's the best way to let users register/login using third party service like Google, Facebook, Twitter, etc etc?

Thanks in advance

Reconnect delay expired: Will now retry to connect to XXX.XXX when needed.

$
0
0

Hello,

I have installed ejabberd on my Synology box and it seems that it works fine. I even used xmpp.net to check it that looks fine too.

But when i try to communicate with other servers (over federation?) I get the error

I(<0.1001.0>:ejabberd_s2s_out:887) : Reconnect delay expired: Will now retry to connect to xxx.xxx when needed.

D(<0.1001.0>:ejabberd_s2s_out:910) : terminated: {normal,wait_before_retry}

I am pretty sure i am doing something wrong but i am a newbie when it comes to xmpp.

Could someone perhaps point me to the right direction?

Appreciated.

Viewing all 782 articles
Browse latest View live


Latest Images