Verified Commit 678adabe authored by Jakob Moser's avatar Jakob Moser
Browse files

Mention LDAP server configuration

parent 8c10c281
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -80,3 +80,16 @@ git clone https://gitlab.cl.uni-heidelberg.de/Fachschaft/portal.git
cd portal
sudo docker compose -f docker-compose.dev.yml up
```

## Configure

### LDAP server

To use the CL account login feature, you need to configure an `LdapDirectory`. Within a Flask shell, execute the following:

```python
>>> l = LdapDirectory(url="ldaps://ldap2.cl.uni-heidelberg.de", base_dn="ou=accounts,dc=cl,dc=uni-heidelberg,dc=de")
>>> db.session.add(l)
>>> db.session.commit()
>>> exit()
```