Cinc Workstation replaces Chef Workstation for driving knife-zero and Test Kitchen; nodes run (or are moving to) Cinc Client. - Pin .ruby-version to cinc-workstation - Move knife config from .chef/ to .cinc/ (Cinc's USER_CONF_DIR) and update .gitignore, README, AGENTS and docs accordingly. On-node config now lives in /etc/cinc - Drop the Gemfile/Gemfile.lock; install knife-zero into Cinc Workstation's user gem dir with `cinc gem install knife-zero` - README: rewrite setup/usage for Cinc Workstation - scripts/postgresql/switch_primary.sh: drop `bundle exec`
23 lines
588 B
Markdown
23 lines
588 B
Markdown
# 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 .cinc/encrypted_data_bag_secret
|
|
```
|
|
|
|
## Example search (will prompt for password):
|
|
|
|
```
|
|
$ ldapsearch -x -W -D 'cn=Directory Manager' -b "ou=kosmos.org,cn=users,dc=kosmos,dc=org" -H "ldaps://ldap.kosmos.org" -v
|
|
```
|
|
|
|
## Shell scripts
|
|
|
|
Adding a new user account (requires username, email, password):
|
|
|
|
./scripts/ldap/add_user.sh username user@example.com changeme
|