Skip to content

prosody-modules/mod_groups_ldap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

mod_groups_ldap

Prosody module to manage roaster groups with ldap

How to use

modules_enabled = {
  [...]
  "groups_ldap";
  [...]
};


ldap = {
  hostname = "myLdapServer"
  -- bind_dn = "cn=admin,dc=example,dc=com",
  -- bind_password = "password"
  
  groups = {
    basedn = "ou=groups,dc=example,dc=com",
    memberfield = "memberUid",
    namefield = "cn",
    filter = "objectClass=posixGroup",
    {
      name = "Marketing",
      cn = 'maketing',
      admin = false,
    },
    {
      name = 'Admins',
      cn = 'admins',
      admin = true,
    },
    {
      name = 'Devs",
      cn = 'devs',
      admin = false,
    },
  },
}

About

Prosody module to manage roaster groups with ldap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published