Skip to content

Instantly share code, notes, and snippets.

View submtd's full-sized avatar

Steve Harmeyer submtd

View GitHub Profile
@submtd
submtd / setup-ldap-client.sh
Created February 8, 2018 18:42 — forked from shichao-an/setup-ldap-client.sh
Setup OpenLDAP client server with SSH access
#!/bin/bash
# vim: softtabstop=4 shiftwidth=4 expandtab fenc=utf-8 spell spelllang=en cc=120
set -e
# Check Ubuntu release
[ "$(lsb_release -sc)" = "trusty" ] || {
echo 'This script should be run on Ubuntu 14.04.' >&2
exit 1
}