Add initial LDAP documentation

This commit is contained in:
Greg 2019-12-06 10:54:10 +01:00
parent 1240ed9da8
commit 0a96c31e12
1 changed files with 16 additions and 0 deletions

16
doc/ldap.md Normal file
View File

@ -0,0 +1,16 @@
# LDAP (389 Directory Server).
## Credentials
The admin account is `cn=Directory Manager` with the password stored in the
encrypted data bag `admin_password` item
```
$ knife data bag show credentials dirsrv --secret-file .chef/encrypted_data_bag_secret
```
## Example search:
```
$ ldapsearch -x -w $password -D 'cn=Directory Manager' -b "ou=users,dc=kosmos,dc=org" -H "ldaps://ldap.kosmos.org" -v
```