Skip to content

Instantly share code, notes, and snippets.

View ictus4u's full-sized avatar
🚀

Walter Gomez ictus4u

🚀
View GitHub Profile

環境

$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"
# Go to ldap Folder and create a SSL Folder
cd /etc/ldap/
mkdir ssl
cd ssl/
# Create CA
openssl req \
-subj "/C=IN/ST=Maharashtra/L=Mumbai City/O=Information Security Systems/OU=IT Services/CN=OpenLDAP Test Server" \
FROM base/archlinux
RUN echo "installing openldap" \
&& sed 's/^CheckSpace/# CheckSpace/g' -i /etc/pacman.conf \
&& pacman -Syyu --noconfirm \
&& sed 's/^# CheckSpace/CheckSpace/g' -i /etc/pacman.conf \
&& pacman -S --noconfirm openldap
RUN echo "configuring openldap" \
&& sed -i 's/^suffix.*/suffix\t"dc=example,dc=org"/' /etc/openldap/slapd.conf \
OpenLDAP
基本的には書籍p.476-の手順に従っている。
パッケージインストール
sudo yum install openldap-servers openldap-clients libtool-ltdl
サービス自動起動
sudo systemctl enable slapd.service
@ictus4u
ictus4u / Jenkinsfile
Created August 7, 2022 23:52 — forked from merikan/Jenkinsfile
Some Jenkinsfile examples
Some Jenkinsfile examples
@ictus4u
ictus4u / gmail-github-filters.md
Created July 30, 2022 03:23 — forked from ldez/gmail-github-filters.md
Gmail and GitHub - Filters

Gmail and GitHub

Create new filters and create new labels.

Pull Request

label: gh-pull-request

@ictus4u
ictus4u / compile-nfs-ganesha-ubuntu-18.04_20.04.md
Created July 22, 2022 02:47 — forked from aroraayush/compile-nfs-ganesha-ubuntu-18.04_20.04.md
Install / Compile and Build nfs-ganesha under Ubuntu-18.04/20.04
@ictus4u
ictus4u / 1-Jenkins-JCasC-Examples.md
Created July 5, 2022 23:36 — forked from apr-1985/1-Jenkins-JCasC-Examples.md
Jenkins Config As Code Examples

Jenkins JCasC Examples

Various examples of how to setup different components using JCasC

@ictus4u
ictus4u / join.sh
Created June 11, 2022 05:26
bash join function
# prints "$2$1$3$1...$N"
join() {
local sep="$1"; shift
local out; printf -v out "${sep//%/%%}%s" "$@"
echo "${out#$sep}"
}