Last active
July 10, 2020 05:36
-
-
Save wenzhixin/4705697206cdbf61bc88 to your computer and use it in GitHub Desktop.
Install guide for OpenLDAP and GOsa on Ubuntu 14.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install slapd ldap-utils | |
sudo dpkg-reconfigure slapd | |
sudo apt-get install gosa gosa-schema | |
sudo vi /etc/ldap/convert.conf << EOT | |
include /etc/ldap/schema/core.schema | |
include /etc/ldap/schema/cosine.schema | |
include /etc/ldap/schema/nis.schema | |
include /etc/ldap/schema/inetorgperson.schema | |
include /etc/ldap/schema/gosa/samba3.schema | |
include /etc/ldap/schema/gosa/gofon.schema | |
include /etc/ldap/schema/gosa/gosystem.schema | |
include /etc/ldap/schema/gosa/goto.schema | |
include /etc/ldap/schema/gosa/gosa-samba3.schema | |
include /etc/ldap/schema/gosa/gofax.schema | |
include /etc/ldap/schema/gosa/goserver.schema | |
include /etc/ldap/schema/gosa/goto-mime.schema | |
include /etc/ldap/schema/gosa/trust.schema | |
EOT | |
mkdir /tmp/ldapconvert | |
slaptest -f /etc/ldap/convert.conf -F /tmp/ldapconvert | |
sudo cp -p /tmp/ldapconvert/cn\=config/cn\=schema/* /etc/ldap/slapd.d/cn\=config/cn\=schema/ | |
sudo chown -R openldap:openldap /etc/ldap/slapd.d/ | |
sudo service slapd restart | |
sudo apt-get install php5-imap | |
sudo php5enmod imap | |
sudo service apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok after installing we should visit http:///gosa i.e: http://localhost/gosa