Closed artlog closed 1 year ago
Indeed, it could be nice to have a new parameter in slapd-cli.conf:
LDAPSEARCH_PARAMS=""
It could be empty by default, and if requiring starttls or other options (custom ldap.conf file for example), we could add them.
Note that checksync
is not the only one to use LDAPSEARCH_BIN
. There is also version
action.
Done in f940c1c
slapd-cli checksync connects in ldap but does not support startTLS (-Z) option that would require addtionaly to have a valid hostname matching certificate :
slapd-cli checksync uses following request to get contextCSN
It would require to use -Z and a correct hostname matching certificate subjectAltNames ( that could be mapped to 127.0.0.1 in /etc/hosts ).