Software /
code /
prosody-modules
Comparison
mod_lib_ldap/dev/prosody-posix-ldap.cfg.lua @ 862:675945ea2ed6
Change hoelzro's mod_auth_ldap to mod_auth_ldap2
author | Rob Hoelz <rob@hoelz.ro> |
---|---|
date | Wed, 05 Dec 2012 18:07:46 +0100 |
parent | 826:9dc7d92f44e8 |
child | 873:7aaf5d8750a3 |
comparison
equal
deleted
inserted
replaced
861:1b34c8e46ffb | 862:675945ea2ed6 |
---|---|
1 -- Use Include 'prosody-posix-ldap.cfg.lua' from prosody.cfg.lua to include this file | 1 -- Use Include 'prosody-posix-ldap.cfg.lua' from prosody.cfg.lua to include this file |
2 authentication = 'ldap' -- Indicate that we want to use LDAP for authentication | 2 authentication = 'ldap2' -- Indicate that we want to use LDAP for authentication |
3 storage = 'ldap' -- Indicate that we want to use LDAP for roster/vcard storage | 3 storage = 'ldap' -- Indicate that we want to use LDAP for roster/vcard storage |
4 | 4 |
5 ldap = { | 5 ldap = { |
6 hostname = 'localhost', -- LDAP server location | 6 hostname = 'localhost', -- LDAP server location |
7 bind_dn = 'cn=Manager,dc=example,dc=com', -- Bind DN for LDAP authentication (optional if anonymous bind is supported) | 7 bind_dn = 'cn=Manager,dc=example,dc=com', -- Bind DN for LDAP authentication (optional if anonymous bind is supported) |
8 bind_password = 'prosody', -- Bind password (optional if anonymous bind is supported) | 8 bind_password = 'prosody', -- Bind password (optional if anonymous bind is supported) |