Add openssh-lpk Schema [1] to Samba 4 ad dc.
sed -i -e 's/${DOMAINDN}/DC=your,DC=domain,DC=name/' *.ldif'
#!/usr/bin/env python3 | |
# Free Open Source Software released under GPLv2 | |
# see http://www.gnu.org/licenses/gpl-2.0 | |
# Author: Florian Knodt <git@adlerweb.info> | |
# Original Author: Tilman Schmidt <tilman@imap.cc> | |
# Contributor: Peter Pawn @ IP Phone Forum | |
# inspired by http://www.administrator.de/contentid/214598 | |
# Requirements (for example via pip): graypy, requests |
#!/usr/bin/env bash | |
### Bash Environment Setup | |
# http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html | |
# set -o xtrace | |
set -o errexit | |
set -o errtrace | |
set -o nounset | |
set -o pipefail |