Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 823 Bytes

README_ldap.md

File metadata and controls

39 lines (25 loc) · 823 Bytes

You need a LDAP server to run the ldap tests

Install 389 directory server

Install and configure 389-ds

Install this package, when configuring write down the user and password of the Directory Manager.

$ sudo apt-get install 389-ds-base
$ sudo setup-ds

Start ds

$ sudo systemctl start dirsrv.target

or you may have to start the specific instance, that is probably the hostname

$ sudo systemctl start [email protected]

Add a test config file

We need to run the tests on this LDAP server, edit thes file and add there the information you set up before

  • t/etc/ravada_ldap.conf

Example:

---
ldap:
  admin_user:
    dn: cn=Directory Manager
    password: 12345678
  auth: match
  base: 'dc=yournetwork,dc=comorwhatever'
  posix_group: rvd_posix_group