From c7a3532bf6396f23d1830eed7ae925e5eca3afb6 Mon Sep 17 00:00:00 2001 From: "root@zabbix.znil.net" Date: Tue, 5 May 2020 17:35:15 +0200 Subject: [PATCH] add ldapsearch parameter '-o ldif-wrap=no' to prevent line breaks --- zabbix-ldap-sync.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/zabbix-ldap-sync.sh b/zabbix-ldap-sync.sh index cbe94e2..364d268 100755 --- a/zabbix-ldap-sync.sh +++ b/zabbix-ldap-sync.sh @@ -435,7 +435,6 @@ if [ "${#LDAP_ARRAY_Members_DN[*]}" -gt 0 ]; then b_check_Email="false" for (( i=0; i < ${#LDAP_ARRAY_Members_DN[*]}; i++ )); do -member: CN=Andreas ADM. Klausing,OU=Active,OU=Users,OU=THE,DC=prod,DC=the,DC=l # When the Loop start again we have to for all values. All arrays-size must be equal! # First run of loop will be skipped because b_check_sAMAccountName is false if [ "$b_check_sAMAccountName" = "true" ]; then