add ldapsearch parameter '-o ldif-wrap=no' to prevent line breaks

This commit is contained in:
root@zabbix.znil.net 2020-05-05 17:33:18 +02:00
parent 43504b383b
commit e7a29cd6dd
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@ This is a pure bash-script for syncing a Actice-Directory Group via LDAP with a
**Changelog:**<br>
- 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
<br>
## Features:

View File

@ -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