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 <[email protected]> | |
| # Original Author: Tilman Schmidt <[email protected]> | |
| # Contributor: Peter Pawn @ IP Phone Forum | |
| # inspired by http://www.administrator.de/contentid/214598 | |
| # Requirements (for example via pip): graypy, requests |
| #!/usr/local/bin/bash | |
| # | |
| # Author: SIFTU | |
| # Version: 1.4 | |
| # Modfied for FreeNAS by Thomas Blaschke | |
| # | |
| # Usage: nas_powerdown <sleep_packets> | |
| # | |
| # This is scheduled in CRON. Schedule it to run at regular intervals i.e. 15,30,60 mins | |
| # It compares the RX and TX packets from the previous run |
| #!/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 |