Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Excerpt

The LDAP Userdirectory plugin facilitates the integration of existing LDAP or directories with LDAP interfaces (for example, Active Directory).

LDAP Implementation

The LDAP plugin (farcryldap) provides a quick way to hook simple LDAP servers into a project.

Where to get it

You'll have to pick up the plugin from version control:

You can browse the LDAP plugin repo for alternative branches, and tagged builds.

How to install it

This is a standard plugin. Simply:

  1. copy the files to /farcry/plugins/farcryldap
  2. add the plugin to your application's plugin list (<yourProject>/www/farcryConstructor.cfm -> THIS.plugins)
  3. then restart the application (ie. updateapp!)

Configuration

In the webtop, open the configuration settings for 'ldap' (Webtop->Admin->Edit config->ldap), and update the following settings:

Setting

Description

Host

The ip or domain of the LDAP server

Username

If the server doesn't allow anonymous access, put the username here. Leave empty for anonymous access

Password

If the server doesn't allow anonymous access, put the password here. Leave empty for anonymous access

User start DN

The distinguished name of the node that contains all users

User DN

The distinguished name to use to retrieve a particular user. Insert {userid} where the login should be inserted. NOTE: userid should not contain a '_'

profileProp=LDAPattr list

Maps LDAP attributes to profile properties. Should be in the form [FCDEV40:profile property 1]=[FCDEV40:LDAP attribute 1],...,[FCDEV40:profile property n]=[FCDEV40:LDAP property n]

Override profile values

If checked, a user's profile is updated every time they log in. If not, the LDAP values specified above are only used when the profile is created on first login

Group start

The distinguished name of the node that contains all groups

Group filter

The LDAP query that will return the groups a particular user is member of

All groups filter

The LDAP query that will return every groups

Group ID attribute

The LDAP attribute to use as the group id in FarCry. Group id's should not contain a '_'

...

FarCry LDAP Plugin has a new home.

 

Enjoy!