Files
chef/doc/ldap.md
T
raucao 470dcb82ee Migrate the Chef repo to Cinc Workstation
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`
2026-11-01 18:28:44 +04:00

588 B

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