Skip to content

Instantly share code, notes, and snippets.

@avansp
Created August 29, 2017 09:00
Show Gist options
  • Save avansp/5a5316c2e2545f95d75e3959b35ab9a1 to your computer and use it in GitHub Desktop.
Save avansp/5a5316c2e2545f95d75e3959b35ab9a1 to your computer and use it in GitHub Desktop.
Installing and setup OpenLDAP server on CentOS 7
  • Install OpenLDAP server
sudo yum -y install openldap compat-openldap openldap-clients openldap-servers openldap-servers-sql openldap-devel
  • Start the server
sudo systemctl start slapd.service
sudo systemctl enable slapd.service
  • Setup the root server and make a note the password & the secret key given
[root@server ~]# slappasswd
New password: 
Re-enter new password: 
{SSHA}d/thexcQUuSfe3rx3gRaEhHpNJ52N8D3
[root@server ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment