From 856b42ad591cafa6f2bcf28bd28888b4c6eef45c Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Wed, 1 Jun 2011 12:45:39 +0300 Subject: [PATCH] Added extauth support for ejabberd --- ejabberd/templates/ejabberd.cfg.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ejabberd/templates/ejabberd.cfg.erb b/ejabberd/templates/ejabberd.cfg.erb index e42a110..38eef24 100644 --- a/ejabberd/templates/ejabberd.cfg.erb +++ b/ejabberd/templates/ejabberd.cfg.erb @@ -249,7 +249,12 @@ override_acls. %% If you want to use a different method, %% comment this line and enable the correct ones. %% +<% if ejabberd_extauth -%> +{auth_method, external}. +{extauth_program, "<%= ejabberd_extauth %>"}. +<% else -%> {auth_method, internal}. +<% end -%> %% %% Authentication using external script