Skip to content

leveche/sysadmin-directory-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup openLDAP directory server

These scripts will install and bootstrap openLDAP directory server as well as MIT kerberos backed by this server.

Sample setup as a proxmox LXC container:

pct create 110 \
  images:vztmpl/debian-11-standard_11.0-1_amd64.tar.gz \
  --hostname dir-01 \
  --net0 name=eth0,bridge=vmbr1,gw=10.1.1.1,ip=10.1.1.2/24 \
  --password \
  --unprivileged 1 \
  --storage local-btrfs \
  --onboot 1 \
  --start 1

Add Symas openLDAP repo and install packages

source ./pkg

Bootstrap the bare-minimum slapd instance

./setup

Declare the DIT ROOT and create the corresponding LDAP database

export DIT_ROOT="o=example"
./add-tree

Verify the database has been created with the root object:

ldapsearch -b $DIT_ROOT

About

bootstrap a directory service node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages