Installation and Upgrade > Installation and Configuration Guide > Advanced Configurations > Configuring PTC HTTP Server and Embedded Servlet Engine With Other Options > Specifying Web Server Authentication > Specifying a Bind DN for the LDAP URL
  
Specifying a Bind DN for the LDAP URL
To specify a bind DN and password through which the LDAP URL should be accessed, for example, when the LDAP does not allow anonymous bind access, then issue the following command. The command string must be entered on one line:
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>