Monday, September 19, 2011

How do I assign LDAP groups, via lighthouse, to a user during provisioning?

Enclosed is an LDAP user form, which includes the group logic.
I've put quite a few comments in the file for you to look through. When
you import this xml document into lighthouse (Configure->Import Exchange
File), the import process will strip away the comment fields, if you try
to view the form using the debug pages (List Objects of Type User Form,
LDAP User Form).

To get this ldap form to work, you will need to read through the
enclosed form, make any changes I mention about, then edit your Default
User Form.

To edit the default user form, your url should look like this:
(localhost entry may vary with your setup)
http://localhost/lighthouse/debug
Then you want to "List Objects" of Type: "UserForm".
Then click edit for "Default User Form"
Add this line under the ObjectRef for the "User Form Library" (near the
top), but before the </Include> tag
<ObjectRef type='UserForm' name='LDAP User Form'/>
Next, go to the bottom of the form and add this line
<FormRef name='LDAP User Form'/>
before this entry: <FormRef name='MissingFields'/>

Now when you edit/create a user and assign the LDAP resource, you should
see a multiselect box labeled LDAP Groups.

No comments:

Post a Comment