[ejabberd.cfg] full mail@crans.org & ldap pass from secrets
Ignore-this: f1dcf8e18786c6dca0440c710a707d0a Merci à Nicolas D. pour le patch, on évitera d'envoyer ce patch par mail. darcs-hash:20130208010349-28565-847f035eb108ab36bda745cd432a2593152fc39d.gz
This commit is contained in:
parent
1a2472ad12
commit
857ee7d43e
1 changed files with 6 additions and 3 deletions
|
@ -3,6 +3,9 @@
|
|||
info["owner"] = "ejabberd"
|
||||
info["group"] = "ejabberd"
|
||||
info["perms"] = 0640
|
||||
|
||||
include("secrets")
|
||||
|
||||
@%%%
|
||||
@%%% Debian ejabberd configuration file
|
||||
@%%% This config must be in UTF-8 encoding
|
||||
|
@ -286,16 +289,16 @@ info["perms"] = 0640
|
|||
@%%{ldap_port, 636}.
|
||||
@%%
|
||||
@%% LDAP manager:
|
||||
@{ldap_rootdn, "cn=readonly,dc=crans,dc=org"}.
|
||||
print """{ldap_rootdn, "%s"}.""" % secrets.ldap_readonly_auth_dn
|
||||
@%%
|
||||
@%% Password to LDAP manager:
|
||||
@{ldap_password, "**FUCK A DUCK**"}.
|
||||
print """{ldap_password, "%s"}.""" % secrets.ldap_readonly_password
|
||||
@%%
|
||||
@%% Search base of LDAP directory:
|
||||
@{ldap_base, "dc=crans,dc=org"}.
|
||||
@%%
|
||||
@%% LDAP attribute that holds user ID:
|
||||
@{ldap_uids, [{"uid", "%u"}, {"mailAlias","%u"}]}.
|
||||
@{ldap_uids, [{"uid", "%u"}, {"mailAlias","%u@crans.org"}]}.
|
||||
@%%
|
||||
@%% LDAP filter:
|
||||
@{ldap_filter, "(objectClass=cransAccount)"}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue