PerfectForms™ allows you to connect to a directory service using LDAP (Lightweight Directory Access Protocol). PerfectForms™ does this by communicating with the connection agent which ensures that security concerns are addressed.
Directory services functions in a very similar way to the database connections.
Interactive Example
For a demonstration of a database connection used in a form, see the Database Lookups Examples topic (available only in the online version of this help guide).
The connection agent details will usually be the same as for the database connections. However, if you have databases or directory services at different physical locations then you may also have different connection agents installed.
We suggest the use of an LDAP tool if you do not already have one. This lets you explore your directories before you begin the detailed configuration. If you are already familiar with your LDAP setup then this is not necessary. OpenLDAP from http://www.openldap.org/ and http://ldapadmin.sourceforge.net/ are examples of such a tool. Reference the LDAP Lookups Examples topic if you would like to see an example of how the PerfectForms™ application can connect to an LDAP server.
The following steps need to be followed on the connection agent in order to prepare it to receive requests from PerfectForms™.
|
<datasource name ="My LDAP" id="<unique id number>" server="<IP address or Server Name>" port="389 or 636 type="ldap"> <database name ="LDAPServerName" id="<unique id number>" db="<Distinguished Name>" user="<Your LDAP User Name>" password="<LDAP User Password>" login="<Agent Login Name>" /> </datasource>
For the <datasource> element: name: This name will appear as a Connection Name within PerfectForms™ id: Should be unique within the <datasources> element server: This is the actual LDAP server name port: For LDAP servers not requiring SSL access, use 389. If your LDAP server uses SSL then you should specify 636 (unless you have configured your server otherwise) type: Always use "ldap"
Within the <database> element: name: Name or IP Address of your LDAP server id: This is a unique id text or number within this LDAP <datasource> element db: This is the distinguished name of the LDAP server you wish to access. For example: "DC=DomainCatalog,DC=AnotherCatalog,..." user: A valid LDAP user name (LDAP user must have administrative permissions in order to execute UPDATE, INSERT, DELETE actions) password: The user name's password login: Use "*" if any connection agent login name is acceptable. If you want to restrict users, then supply one or more login users separated by ','. The login names are those defined at the top of the config.xml within the <logins> element
|
|
Note: For additional information see Defining Connection Actions.
Note: Refer to the Calling the Connection from a Form topic for information on how to perform lookups and other integration actions from within a form. |
Updated: 06/12/2011
Page url:
http://www.perfectforms.com/Documentation/manual/html/?directory_services_ldap.htm
PerfectForms™ -- forms software, workflow software, and business process management