Skip to content
Snippets Groups Projects
Commit 18d9c62b authored by Jonathan Weth's avatar Jonathan Weth :keyboard: Committed by root
Browse files

Merge pull request #24 from Katharineum/master

Make server LDAP ready
parents f930b961 6b923dba
No related branches found
No related tags found
1 merge request!86Merge school-apps
Showing
with 24 additions and 1099 deletions
.gitignore 100644 → 100755
__pycache__
env/
*.pyc
secure*
\ No newline at end of file
secure*
.idea/workspace.xml
.gitmodules 100644 → 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
.idea/misc.xml 100644 → 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
.idea/vcs.xml 100644 → 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
This diff is collapsed.
LICENSE 100644 → 100755
File mode changed from 100644 to 100755
README.md 100644 → 100755
......@@ -16,9 +16,10 @@ keine
- Bundesjungendspiele
- Chat
## Installation
**Hinweis:** Es wird aktuell nur ein aktuelles Debian, Ubuntu, Linux Mint, etc. unterstützt.
### Grundsystem
```
apt install python3 python3-dev python3-pip git mariadb-server python3-venv libldap2-dev libsasl2-dev
apt install python3 python3-dev python3-pip git mariadb-server python3-venv libldap2-dev libsasl2-dev
```
### MySQL-Datenbank
......@@ -35,13 +36,32 @@ CREATE DATABASE schoolapps;
### Django
- Zum Installationsordner wechseln
```
python3 -m venv env
python3 -m venv env
source env/bin/activate
pip install mysqlclient
pip install django
pip install django-auth-ldap
```
- `example_secure_settings.py` zu `secure_settings.py` kopieren und anpassen
### LDAP (info.katharineum.de)
#### Adresse vom Info aus:
localhost:389
#### BIND-Nutzer
DN: uid=readldap,ou=people,dc=skole,dc=skolelinux,dc=no
PW: grummelPASS1531
#### BASIS DN
dc=skole,dc=skolelinux,dc=no
#### SSH-Tunnel herstellen
```sudo ssh -L 389:localhost:389 <user>@info.katharineum.de -N ```
(<user> durch Nutzer ersetzen)
#### Verbindung testen
1. Tunnel erstellen (siehe Befehl)
2. Apache Active Directory (AD) zum Testen öffnen (Download unter http://directory.apache.org/studio/)
3. Verbindung in AD mit oben genannten Daten herstellen
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment