[ejabberd] Bad ACL config?

Badlop badlop at gmail.com
Fri Mar 3 01:11:49 MSK 2017


You wrote access rules, but put them in the wrong place: access
control list. Move the rules to the rules section, and now ejabberd
starts. I didn't check they work correctly.

Diff, you can apply manually, just move the lines:

--- ejabberd.yml.1 2017-03-02 23:05:13.684735768 +0100
+++ ejabberd.yml.2 2017-03-02 23:06:25.214602761 +0100
@@ -434,13 +434,6 @@
      user:
          - "alex": "strugee.net"

-  ## Admins of this server are also admins of the MUC service:
-  muc_admin: admin
-  ## Only accounts of the local ejabberd server can create rooms:
-  muc_create: local
-  ## All users are allowed to use the MUC service:
-  muc: all
-
   ##
   ## Blocked users
   ##
@@ -520,6 +513,13 @@
 ###.  ============
 ###'  ACCESS RULES
 access_rules:
+  ## Admins of this server are also admins of the MUC service:
+  muc_admin: admin
+  ## Only accounts of the local ejabberd server can create rooms:
+  muc_create: local
+  ## All users are allowed to use the MUC service:
+  muc: all
+
   ## This rule allows access only for local users:
   local: local
   ## Only non-blocked users can use c2s connections:

---
Badlop
ProcessOne


More information about the ejabberd mailing list