安裝與升級 > 安裝與組態指南 > 進階組態 > 使用其他選項配置 PTC HTTP Server 與 Embedded Servlet Engine > 指定 Web 伺服器認證 > 為 LDAP URL 指定連結 DN
  
為 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>