[D-community-commits] r333 - trunk/fai-config-dir/files/etc/ejabberd/ejabberd.cfg
nd-guest at alioth.debian.org
nd-guest at alioth.debian.org
Fri Jul 25 14:07:58 UTC 2008
Author: nd-guest
Date: 2008-07-25 14:07:56 +0000 (Fri, 25 Jul 2008)
New Revision: 333
Modified:
trunk/fai-config-dir/files/etc/ejabberd/ejabberd.cfg/JABBERD
Log:
enable ldap auth for jabber
Modified: trunk/fai-config-dir/files/etc/ejabberd/ejabberd.cfg/JABBERD
===================================================================
--- trunk/fai-config-dir/files/etc/ejabberd/ejabberd.cfg/JABBERD 2008-07-25 13:42:45 UTC (rev 332)
+++ trunk/fai-config-dir/files/etc/ejabberd/ejabberd.cfg/JABBERD 2008-07-25 14:07:56 UTC (rev 333)
@@ -36,7 +36,7 @@
{access, configure, [{allow, admin}]}.
% Every username can be registered via in-band registration:
-{access, register, [{allow, all}]}.
+%{access, register, [{allow, all}]}.
% None username can be registered via in-band registration:
{access, register, [{deny, all}]}.
@@ -86,13 +86,13 @@
% Authentication method. If you want to use internal user base, then use
% this line:
-{auth_method, internal}.
+%{auth_method, internal}.
% For LDAP authentication use these lines instead of above one:
-%{auth_method, ldap}.
-%{ldap_servers, ["localhost"]}. % List of LDAP servers
-%{ldap_uidattr, "uid"}. % LDAP attribute that holds user ID
-%{ldap_base, "dc=example,dc=com"}. % Search base of LDAP directory
+{auth_method, ldap}.
+{ldap_servers, ["localhost"]}. % List of LDAP servers
+{ldap_uidattr, "uid"}. % LDAP attribute that holds user ID
+{ldap_base, "ou=users,dc=debian-community,dc=org"}. % Search base of LDAP directory
%{ldap_rootdn, "dc=example,dc=com"}. % LDAP manager
%{ldap_password, "******"}. % Password to LDAP manager
More information about the D-community-commits
mailing list