Loading TOC...

sec:external-security-set-ldap-start-tls

sec:external-security-set-ldap-start-tls(
   $external-security-name as xs:string,
   [$ldap-start-tls as xs:boolean?]
) as empty-sequence()

Summary

This function updates the ldap-start-tls setting in the external security configuration.

Parameters
$external-security-name The name of an external-security configuration.
$ldap-start-tls When the ldap-bind-method is set to external, this parameter specifies whether to start TLS when connecting to an LDAP server. If set to true, the LDAP server URI should start with ldap:/ instead of ldaps://.

Example



xquery version "1.0-ml"; 
 
import module namespace sec = "http://marklogic.com/xdmp/security" 
      at "/MarkLogic/security.xqy";

sec:external-security-set-ldap-start-tls("My-External-Security", fn:true())
 
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.