From 62583bb30ba2c8f1fcd4c72e11b0a65316279cdb Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Thu, 15 Dec 2005 17:56:00 +0000 Subject: [PATCH] - updated for ejabberd-1.0.0 Changed files: ejabberd-config.patch -> 1.3 --- ejabberd-config.patch | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/ejabberd-config.patch b/ejabberd-config.patch index 6ac8cd5..4ab5f14 100644 --- a/ejabberd-config.patch +++ b/ejabberd-config.patch @@ -1,6 +1,6 @@ -diff -dur ejabberd-0.7.5.orig/src/ejabberd.cfg.example ejabberd-0.7.5/src/ejabberd.cfg.example ---- ejabberd-0.7.5.orig/src/ejabberd.cfg.example 2004-10-08 22:40:28.000000000 +0200 -+++ ejabberd-0.7.5/src/ejabberd.cfg.example 2004-10-10 23:49:42.453310527 +0200 +diff -dur -x '*~' ejabberd-1.0.0.orig/src/ejabberd.cfg.example ejabberd-1.0.0/src/ejabberd.cfg.example +--- ejabberd-1.0.0.orig/src/ejabberd.cfg.example 2005-12-08 22:35:15.000000000 +0100 ++++ ejabberd-1.0.0/src/ejabberd.cfg.example 2005-12-15 18:36:10.000000000 +0100 @@ -1,5 +1,11 @@ % $Id$ @@ -13,19 +13,21 @@ diff -dur ejabberd-0.7.5.orig/src/ejabberd.cfg.example ejabberd-0.7.5/src/ejabbe %override_acls. -@@ -24,8 +30,9 @@ +@@ -24,10 +30,9 @@ % Only admins can use configuration interface: {access, configure, [{allow, admin}]}. -% Every username can be registered via in-band registration: +-% You could replace {allow, all} with {deny, all} to prevent user from using +-% in-band registration -{access, register, [{allow, all}]}. -+ +% In-band registration disabled, let the admin decide who will use his server -+{access, register, [{allow, none}]}. ++% replace "deny, all" with "allow, all" to enable in-band registration ++{access, register, [{deny, all}]}. % After successful registration user will get message with following subject % and body: -@@ -95,18 +102,29 @@ +@@ -103,18 +108,29 @@ % Listened ports: {listen, @@ -62,4 +64,4 @@ diff -dur ejabberd-0.7.5.orig/src/ejabberd.cfg.example ejabberd-0.7.5/src/ejabbe + {5280, ejabberd_http, [http_poll, web_admin]} ]}. - % If SRV lookup fails, then port 5269 is used to communicate with remote server + -- 2.44.0