-
Notifications
You must be signed in to change notification settings - Fork 3
LDAP backend Installation and configuration
Jakob Garde edited this page Jun 8, 2017
·
4 revisions
Install open ldap "slapd" and ldap-utils:
$ apt-get install slapd ldap-utils
When prompted for the ldap admin password, keep in mind that this is required to set up LDAP access. If you happen to lose the password, or if want to reset it, simply use:
$ dpkg-reconfigure slapd
The ldap database has to be set up and this is done by a Python script inlcuded with the mcstas simulator app. Go to the directory .../McWeb/mcsimrunner/ and run the following as www-data:
$ source ../../mcvenv/bin/activate
$ python manage.py ldap_initdb <pw>
where pw is the ldap admin password.