Security

Reply
Occasional Contributor II

Guest - Sponsorship - Multiple LDAP Server

Hello,

For self-registration portal, I need to lookup in 2 LDAP servers (during AD migration).

 

I succeeded in configuring the portal to have the sponsor_lookup search in one of the 2 LDAP servers (using LDAP server priorities or Select2 ajax.args.server parameters) but didn't find a way to perform the search in both simultaneously.

 

Is it possible? If yes, how and if not, which other option can I use?

 

Thanks,

Re: Guest - Sponsorship - Multiple LDAP Server

I had this issue too and couldn't find a way to query both.

Cheers
James

-------------------------------------------------------
-------------------@whereisjrw-------------------
------------------------blog-------------------------
ACCX #540 | ACMX #353 | ACDX #216
-----------Mobility First Expert #11----------
-------------------------------------------------------

If a reply adequately addresses your issue, please click on the "Accept as Solution" and "Give Kudos" button so this information can benefit other users via search.
Occasional Contributor II

Re: Guest - Sponsorship - Multiple LDAP Server

Hello James,

 

thanks for the answer, not a good perspective :)

I tried using a second sponsor_lookup (duplicate field) which works for the lookup but the e-mail used is the guest's one => maybe I have something wrong but can't find what.

 

Re: Guest - Sponsorship - Multiple LDAP Server

Sounds like that should work. Wasn't an option for me at the time. :(

I'll try to have a look on my lab.

Does the 2nd sponsor lookup work if you remove the first one?
Cheers
James

-------------------------------------------------------
-------------------@whereisjrw-------------------
------------------------blog-------------------------
ACCX #540 | ACMX #353 | ACDX #216
-----------Mobility First Expert #11----------
-------------------------------------------------------

If a reply adequately addresses your issue, please click on the "Accept as Solution" and "Give Kudos" button so this information can benefit other users via search.
Occasional Contributor II

Re: Guest - Sponsorship - Multiple LDAP Server

I tried disabling the first sponsor_lookup but it is still the same.

EDIT: Little correction: the guest's email is used for the sponsor_name and the sponsor_email is not filled.

 

The solution is not very nice but it is a workaround.  As title for the field, I use: "If you don't find your host, search in the second directory:"

Occasional Contributor II

Re: Guest - Sponsorship - Multiple LDAP Server

It is working now...

I didn't do anything related to this but:

- I edited the LDAP servers to check the mapping (was working before, so didn't should have an impact)

- I created a second copy of the sponsor_lookup field and after checking parameters, deleted it

 

So, currently my configuration is:

- Duplicate sponsor_lookup field and change its name to sponsor_lookup2

- Added the sponsor_lookup2 in my form right after the existing sponsor_lookup field

- Edit both sponsor_lookup field in my form and define the LDAP server to use in the Select2 Option / ajax.args.server

- Change the label of sponsor_lookup2 to instruct the guest to search in this field if he don't find him in the first

 

Not a nice solution but it's working.

 

Maybe an improvement to do for Aruba :)

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