mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-06 02:11:42 +02:00
Refactored ldap implementation for ssh keys
This commit is contained in:
@@ -2,6 +2,15 @@
|
||||
|
||||
## Configuration
|
||||
|
||||
## Load env
|
||||
|
||||
To use the following commands firs load the env:
|
||||
```bash
|
||||
export $(grep -v '^[[:space:]]*#' ./.env/env \
|
||||
| sed -E 's/#.*$//; /^[[:space:]]*$/d; s/^[[:space:]]*//; s/[[:space:]]*$//; s/[[:space:]]*=[[:space:]]*/=/' \
|
||||
| xargs)
|
||||
```
|
||||
|
||||
### Show Configuration
|
||||
```bash
|
||||
docker exec -it ldap bash -c "ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -b 'cn=config'"
|
||||
|
Reference in New Issue
Block a user