Ubuntu/openldap
From r00tedvw.com wiki
(Difference between revisions)
Line 1: | Line 1: | ||
Performed on Ubuntu 14.04 LTS | Performed on Ubuntu 14.04 LTS | ||
===Installing=== | ===Installing=== | ||
− | <nowiki>~$ sudo apt-get update && sudo apt-get install slapd ldap-utils</nowiki> | + | <nowiki>~$ sudo apt-get update && sudo apt-get install slapd ldap-utils -y</nowiki> |
It should ask for you to setup an administrator password. | It should ask for you to setup an administrator password. | ||
===Configuring=== | ===Configuring=== | ||
Line 14: | Line 14: | ||
*Move old database? '''Yes''' | *Move old database? '''Yes''' | ||
*Allow LDAPv2 protocol? '''No''' | *Allow LDAPv2 protocol? '''No''' | ||
+ | |||
+ | ===Installing phpLDAPadmin=== | ||
+ | Very useful web interface for administration | ||
+ | <nowiki>~$ sudo apt-get update && sudo apt-get install phpldapadmin -y</nowiki> |
Revision as of 21:34, 18 August 2015
Performed on Ubuntu 14.04 LTS
Installing
~$ sudo apt-get update && sudo apt-get install slapd ldap-utils -y
It should ask for you to setup an administrator password.
Configuring
By default openldap does not ask you for any configuration settings when installing. You must do this afterwards which means it may not be fully functional directly have installation.
~$ sudo dpkg-reconfigure slapd
- Omit OpenLDAP server configuration? No
- DNS domain name? domain.com
- Organization name? domain
- Administrator password? setup password
- Database backend? HDB
- Remove the database when slapd is purged? No
- Move old database? Yes
- Allow LDAPv2 protocol? No
Installing phpLDAPadmin
Very useful web interface for administration
~$ sudo apt-get update && sudo apt-get install phpldapadmin -y