Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Tanke_TD 492162921

🏠
Working from home
View GitHub Profile
@492162921
492162921 / ubuntu-bionic-openldap-mysql.sh
Last active Apr 14, 2021 — forked from mahirrudin/ubuntu-bionic-openldap-mysql.sh
OpenLDAP with MySQL Backend - Ubuntu 18.04
View ubuntu-bionic-openldap-mysql.sh
## installation openldap with backend mysql
sudo apt update && sudo apt upgrade -y && sudo reboot
sudo apt install mysql-server unixodbc make gcc libmysqlclient-dev unixodbc-dev groff ldap-utils
## mysql login as root
sudo mysql -u root
CREATE DATABASE ldap
CREATE USER 'ldap'@'%' IDENTIFIED BY 'S3cureP4ssw0rd$';
GRANT ALL PRIVILEGES ON ldap.* TO 'ldap'@'%';