为 LDAP URL 指定绑定 DN
要指定用来访问 LDAP URL 的绑定 DN 和密码 (例如,当 LDAP 不允许匿名绑定访问时),请发出以下命令。该命令字符串必须在一行中输入:
PTC HTTP Server
ant -f webAppConfig.xml addAuthProvider
-DappName=<Web application name>
-DldapUrl=<ldap Url>
-DproviderName=<LDAP provider name that needs bind credentials>
-DbindDn=<bindDN> -DbindPwd=<bindPassword>