Sample XML File: After Editing for Multiple LDAPs
The following is an example of what the XML file for the THICKCLIENT service (for exampmle, THICKCLIENT_LS_service.xml) should look like after you have made the edits to support multiple LDAPs.
Note: If you plan to copy/paste from this document to supply your local information, first copy to a text editor and check for returns, tabs and other special characters.
<?xml version="1.0" encoding="ISO-8859-1"?>
-<BATCH_LOAD OVERRIDE="true" FORMAT="">
-<SERVICE>
<HasCredential>true</HasCredential>
<LoginProcedure>Form based</LoginProcedure>
<ID>THICKCLIENTLDAPLS</ID>
<SvcEntryAttrList>password,USER</SvcEntryAttrList>
-<LOGINSCHEME NAME="Form">
<PROTOASSERT>Use HTTPS always</PROTOASSERT>
<HTTPURL>http://inforbcls01.inforbc.com:85/sso/SSOServlet</HTTPURL>
<HTTPSURL>https://inforbcls01.inforbc.com:1447/sso/SSOServlet</HTTPSURL>
<PRIMARYTARGETLOOKUP>Use ldap binds</PRIMARYTARGETLOOKUP>
<PROVIDER>ldap://inforbcad01.inforbc.com:389</PROVIDER>
<CTX_FACTORY>com.sun.jndi.ldap.LdapCtxFactory</CTX_FACTORY>
<SEARCH>TRUE</SEARCH>
<LDAP_SEARCH_FILTER>(&(<NAMING_ATTR>=<NAMING_ATTR_VALUE>)
(objectclass=<STRUCTURAL_OBJCLASS_VALUE>))
</LDAP_SEARCH_FILTER>
<LOGIN_RDN>DC=inforbc,DC=com</LOGIN_RDN>
<NAMING_ATTR>userPrincipalName</NAMING_ATTR>
<STRUCTURAL_OBJECTCLASS>user</STRUCTURAL_OBJECTCLASS>
<DEREF_ALIASES>always</DEREF_ALIASES>
<REFERRAL>follow</REFERRAL>
<USERNAMEFIELD>_ssoUser</USERNAMEFIELD>
<PASSWDFIELD>_ssoPass</PASSWDFIELD>
<LOGIN_SUBMIT_METHOD>POST</LOGIN_SUBMIT_METHOD>
<LOGINSCHEMENAME>DEFAULT</LOGINSCHEMENAME>
<SERVICEURL>https://inforbcls01.inforbc.com:1447/sso/SSOServlet</SERVICEURL>
</LOGINSCHEME>
-<LOGINSCHEME NAME="Form">
<PROTOASSERT>Use HTTPS always</PROTOASSERT>
<HTTPURL>http://inforbcls01.inforbc.com:85/sso/SSOServlet</HTTPURL>
<HTTPSURL>https://inforbcls01.inforbc.com:1447/sso/SSOServlet</HTTPSURL>
<PRIMARYTARGETLOOKUP>Use ldap binds</PRIMARYTARGETLOOKUP>
<PROVIDER>ldap://INFORMERCAD01.mercury.com:389</PROVIDER>
<CTX_FACTORY>com.sun.jndi.ldap.LdapCtxFactory</CTX_FACTORY>
<SEARCH>TRUE</SEARCH>
<LDAP_SEARCH_FILTER>(&(<NAMING_ATTR>=<NAMING_ATTR_VALUE>)
(objectclass=<STRUCTURAL_OBJCLASS_VALUE>))
</LDAP_SEARCH_FILTER>
<LOGIN_RDN>CN=Users,DC=mercury,DC=com</LOGIN_RDN>
<NAMING_ATTR>userPrincipalName</NAMING_ATTR>
<STRUCTURAL_OBJECTCLASS>user</STRUCTURAL_OBJECTCLASS>
<DEREF_ALIASES>always</DEREF_ALIASES>
<REFERRAL>follow</REFERRAL>
<USERNAMEFIELD>_ssoUser</USERNAMEFIELD>
<PASSWDFIELD>_ssoPass</PASSWDFIELD>
<LOGIN_SUBMIT_METHOD>POST</LOGIN_SUBMIT_METHOD>
<LOGINSCHEMENAME>LDAPCUST</LOGINSCHEMENAME>
<SERVICEURL>https://inforbcls01.inforbc.com:1447/sso/SSOServlet</SERVICEURL>
</LOGINSCHEME>
<LoginSchemeExpression>DEFAULT||LDAPCUST</LoginSchemeExpression>
<IdentityAttrList>USER</IdentityAttrList>
<CredentialAttrList>PASSWORD</CredentialAttrList>
</SERVICE>
</BATCH_LOAD>