equal
deleted
inserted
replaced
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) |