From e7a29cd6dd5b8de4730b021f27ffba504b98a914 Mon Sep 17 00:00:00 2001 From: "root@zabbix.znil.net" Date: Tue, 5 May 2020 17:33:18 +0200 Subject: [PATCH] add ldapsearch parameter '-o ldif-wrap=no' to prevent line breaks --- README.md | 1 + zabbix-ldap-sync.sh | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dc1b0da..0de8b99 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ This is a pure bash-script for syncing a Actice-Directory Group via LDAP with a **Changelog:**
- 2020-04-14 V1.1 => first public version - 2020-04-17 V1.1a => Replace hard coded $2 with push-solution + - 2020-05-05 V1.1b => add ldapsearch parameter '-o ldif-wrap=no' to prevent line breaks after 79 chars
## Features: diff --git a/zabbix-ldap-sync.sh b/zabbix-ldap-sync.sh index 8a91da4..cbe94e2 100755 --- a/zabbix-ldap-sync.sh +++ b/zabbix-ldap-sync.sh @@ -1,8 +1,8 @@ #!/bin/bash ############################################################################################################# # Script Name ...: zabbix-ldap-sync.sh -# Version .......: V1.1a -# Date ..........: 17.04.2020 +# Version .......: V1.1b +# Date ..........: 05.05.2020 # Description....: Synchronise Members of a Actice Directory Group with Zabbix via API # User wich are removed will be deactivated # Args ..........: @@ -11,7 +11,7 @@ # Email Private : Bernhard@znil.de ############################################################################################################# # Variables -Script_Version="V1.1a (2020-04-17)" +Script_Version="V1.1b (2020-05-05)" # Colors for printf and echo DEFAULT_FOREGROUND=39 RED=31