Security

Reply
New Contributor
Posts: 4
Registered: ‎01-19-2017

Clearpass Guests sponsor email

Hello

 

I am trying to setup a captive portal with sponsoring. I can search users in my AD based on a LDAP filter and choose users, but when I try to register, it get back to the same page saying Sponsor email:"Parameter must be a string" 

 

Below is my sponsor_lookup form(select2 options)

placeholder = (Type the email of your sponsor)

maximumSelectionSize = 2

minimumInputLength = 2

_advancedRender = 1

ajax.dataType = sajax

ajax.url = NwaLdapSponsorUserSearchAjax

ajax.args.server = AUTHSERVER

ajax.quietMillis = 500

 

Below is my Authentication Server

Filter

(&

  (objectClass=user)

  (objectCategory=person)

  (|

    # Match users in any of these groups

  (memberOf=CN=group1,OU=customer,DC=example,DC=local)

  )

  (|

    # Match users by any of these criteria

   (sAMAccountName=*@SEARCH@*)

   (displayName=*@SEARCH@*)

   (cn=*@SEARCH@*)

   (sn=*@SEARCH@*)

   (givenName=*@SEARCH@*)

  )

)

 

Display attribute

#sAMAccountName = id

displayName = text

# title = desc

#userPrincipalName = desc

mail = desc

 

Attribute mapping

#sponsor_name | cn

#sponsor_email | mail

sponsor_lookup | mail

 

What am I doing wrong?

 

Regards

 

 

MVP
Posts: 992
Registered: ‎04-13-2009

Re: Clearpass Guests sponsor email

[ Edited ]

Hi,

 

When you type the sponsor's name is an email address displayed below like in the image below?

 

ipman.jpg

 

 

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.
New Contributor
Posts: 4
Registered: ‎01-19-2017

Re: Clearpass Guests sponsor email

Hi

 

That is correct. My field is called "Sponsors's Email: and when I type two letters I get a suggestion of one of my users in the LDAP group
The name is displayed followed by the email below, according to my display attribute;

 

Display attribute

displayName = text

 

mail = desc

 

Regards

 

New Contributor
Posts: 4
Registered: ‎01-19-2017

Re: Clearpass Guests sponsor email

Anyone got any advice?

MVP
Posts: 992
Registered: ‎04-13-2009

Re: Clearpass Guests sponsor email

Have you confirmed that the email functionality is work on your CPPM server?
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.
New Contributor
Posts: 4
Registered: ‎01-19-2017

Re: Clearpass Guests sponsor email

Yes, it works fine when I don't use select2 options and type in the mail manually. That way the sponsoring works.

 

It is when I active it and use LDAP lookup, it does the lookup correct but when I press next I get the error message "Parameter must be a string" under sponsors email field

MVP
Posts: 992
Registered: ‎04-13-2009

Re: Clearpass Guests sponsor email

I've not come across that issue before, I'd recommend calling TAC.

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.
Guru Elite
Posts: 8,637
Registered: ‎09-08-2010

Re: Clearpass Guests sponsor email

In your attribute mapping, sponsor_email is commented out.

Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
Search Airheads
Showing results for 
Search instead for 
Did you mean: