1.5 KiB
1.5 KiB
ProxmoxAAS LDAP - Simple REST API for LDAP
ProxmoxAAS LDAP provides a simple API for managing users and groups in a simplified LDAP server. Expected LDAP configuration can be initialized using open-ldap-setup.
Installation
Prerequisites
- Initialized LDAP server with the following configuration
- Structure
- Users: ou=people,...
- objectType: inetOrgPerson
- At least 1 user which is a member of admin group
- Groups: ou=groups,...
- objectType: groupOfNames
- At least 1 admin group
- Users: ou=people,...
- Permissions:
- Admin group should have write access
- Users should have write access to own attributes (cn, sn, userPassword)
- Enable anonymous binding
- Load MemberOf Policy:
- olcMemberOfDangling: ignore
- olcMemberOfRefInt: TRUE
- olcMemberOfGroupOC: groupOfNames
- olcMemberOfMemberAD: member
- olcMemberOfMemberOfAD: memberOf
- Password Policy and TLS are recommended but not required
- Structure
Installation
- Download
proxmoxaas-ldap
binary andtemplate.config.json
file from releases - Rename
template.config.json
toconfig.json
and modify:- ldapURL: url to the ldap server ie.
ldap://ldap.domain.net
- baseDN: base DN ie.
dc=domain,dc=net
- sessionSecretKey: random value used to randomize cookie values, replace with any sufficiently large random string
- ldapURL: url to the ldap server ie.
- Run the binary