This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
c-services:ldapmodify [2023/04/11 16:16] – created uk | c-services:ldapmodify [2023/10/11 12:28] (current) – Add -Z parameter to enable STARTTLS uk | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== ldapmodify ====== | ||
+ | |||
+ | ===== ldapmodify installieren unter Mac OS mit Homebrew ===== | ||
+ | |||
< | < | ||
- | cat <<EOF | ldapmodify -h lea.cbrp3.c-base.org -D "uid=uk, | + | brew install openldap |
- | dn: uid=uk, | + | </ |
+ | |||
+ | ===== ldapmodify installieren unter Linux (am Beispiel Ubuntu) ===== | ||
+ | |||
+ | < | ||
+ | sudo apt install ldap-utils | ||
+ | </ | ||
+ | |||
+ | ===== Änderung durchführen ===== | ||
+ | |||
+ | Hier ein Beispiel, wie man seinen Common-Name-Attribut (`cn:`) überschreibt. Dort steht normalerweise dein Real-Name. Nach der Änderung steht dort " | ||
+ | |||
+ | < | ||
+ | NICK="< | ||
+ | cat <<EOF | ldapmodify | ||
+ | dn: uid=${NICK}, | ||
changeType: modify | changeType: modify | ||
replace: cn | replace: cn | ||
Line 7: | Line 26: | ||
EOF | EOF | ||
</ | </ | ||
+ | |||
+ | * `< | ||
+ | |||
+ | ===== Weitere Infos ===== | ||
+ | |||
+ | [[: | ||
+ | |||
+ |