Current config:
...
[ldap]
groups = Support
[user]
type = 1
...
[root@zabbix zabbix-ldap-sync]# ./zabbix-ldap-sync --skip-disabled -f zabbix-ldap.conf --dryrun
2022-05-31 11:16:00 - INFO - ZabbixLDAPConf:41 - configuration for zabbix-ldap-sync release 0.13
2022-05-31 11:16:00 - INFO - pyzabbix:68 - JSON-RPC Server Endpoint: https://zabbix-server/zabbix/api_jsonrpc.php
2022-05-31 11:16:00 - INFO - pyzabbix:75 - Zabbix API version is: 4.0.37
2022-05-31 11:16:00 - INFO - ZabbixConn:112 - Connected to Zabbix API Version 4.0.37
2022-05-31 11:16:00 - CRITICAL - ZabbixConn:619 - No default role specified
Script tries to use user role instead user type on older zabbix versions.
Current config: ... [ldap] groups = Support [user] type = 1 ...
Script tries to use user role instead user type on older zabbix versions.