Security

Reply
Occasional Contributor I

Sponsor - Pre-populated LDAP drop-down list to specific AD group

Trying to setup a Guest self reg page with sponsor.  For the Sponsor, I want to allow the end user to select from a pre-populated list of a specific names from an existing LDAP/AD Group.

 

I have the ldap sponsor lookup working that is locked down to a specific ad group with the following custom ldap filter:

 

(&
(objectClass=user)
(objectCategory=person)
(|
# Match users in this group
(memberOf=CN=SponsorGroup,CN=Users,DC=***********,DC=com)
)
(|
# Match users by any of these criteria
(sAMAccountName=*@SEARCH@*)
(displayName=*@SEARCH@*)
(cn=*@SEARCH@*)
(mail=*@SEARCH@*)
)

 

When setting up the sponsor_lookup form field, tried changing "user interface" from multiple-selection-list for searachable lookup, that works flawlessly, to drop-down, leaving the "Enable searching and advanced UI" checked off.  When attempting this, I get a blank drop down list.

 

Thoughts?

Contributor II

Re: Sponsor - Pre-populated LDAP drop-down list to specific AD group

Hi,

 

does anyone have a solution for this? I need more or less the same. 

I need to have different dropdown lists based on which location the user is coming from. I know how to configure the location aware lists, but I don't know how to make the LDAP query automatically in a dropdown list (without any user interaction)

Guru Elite

Re: Sponsor - Pre-populated LDAP drop-down list to specific AD group

Why not create different versions of the form for each location and add the appropriate LDAP config to each one?

Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
Contributor II

Re: Sponsor - Pre-populated LDAP drop-down list to specific AD group

Tim,

I don't know if you got me right but this is not my problem. My problem is the dropdown field which should have the values of the specific "wireless sponsor" group.

Guru Elite

Re: Sponsor - Pre-populated LDAP drop-down list to specific AD group

Right, and the LDAP filter is different based on where the user is conencting from right?


Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
Contributor II

Re: Sponsor - Pre-populated LDAP drop-down list to specific AD group

right. I have multiple operator servers and multiple register pages - one per location. Every operator server (LDAP) includes only the the filter expression based on the sponsor group.

The form "sponsor lookup" for each location is working fine. But based on the selected user interface (multiple selection list) and the select2 options (default) I have to type at least 2 characters to get any results.

 

What I try to achieve is to have a dropdown list with all members of the sponsor group which I define in the filter expression. With this solution, no user interaction is necessary - except of clicking the dropdown.
I know i can configure the email list statically but the sponsors changing very rapidly and I don't want to configure this every second day. :/

 

Or maybe I got you wrong?

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: