CardExchange Solutions Documentation

Producer Help - LDAPExchange

LDAPExchange requires one DLL file: LDAPExchange.dll. This file, a product of CardExchange® Solutions, is the data-source plug-in that needs to be called from CardExchange® Producer. This DLL file is included in the installer of CardExchange® Producer and is found in the CardExchange® Producer installation folder, which is C:\Program Files (x86)\CardExchange Solutions\CardExchange Producer by default.

  1. Start Notepad with administrator rights and open the file LDAPExchange.ini which is located in the CardExchange installation folder.
  2. Specify the desired root node and the attributes (fields) that you want to load from the LDAP. The filter is set to users by default, but can be changed to other object types if desired. Leave the root-table name as is. Leave the path-column name as is unless the name “path” also appears in your attribute list, in which case you should choose a unique name. The path column will contain the full distinguished name of the LDAP entries and can serve as primary key.
  3. Start CardExchange and create a new card or modify an existing one.
  4. In the database setup, choose Data-source plug-in as database type, enter none for the server and the port (these fields are not used) and select the LDAPExchange.dll in the installation folder as database.
  5. Check the Login option and supply the correct login details (This may not be needed for a domain user)
  6. On the second page, select the People table and choose a primary key. If none of the attributes specified in LDAPExchange.ini can serve as primary key, you can use the path column. This is a long text column and hence not very efficient as primary key, but it works if needed.
  7. On the fourth page, if you allow editing at all, disable the options to add and delete records, as this is not supported by LDAPExchange.
  8. On the storage items page, you can create storage items, but again, it will only be possible to update existing records of the LDAP and not inserting new records