Security

Reply

ldap filter | Please advise

Hi AirHeads,

Good afternoon,

 

We have some issue that authentication sometime uses that sAMAccountName and sometimes userPrincipalName, it depended if its certificate based authentication or user/pwd with the same authentication source

 

 

It didn’t work for UPN until I changed the filter to use it but now its not working with sAMAccountName

 

 

Is it possible to format this query

 

(&(userPrincipalName=%{Authentication:Username})(objectClass=user))

 

Please advise.

 

Thanks in advance,

Me

*****************2Plus Wireless Solutions****************************
Aruba Airheads - Powered By community for empower the community
************ Don't Forget to Kudos + me,If i helped you******************
Guru Elite

Re: ldap filter | Please advise

This will support both UPN and samAccountName

 

(|(&(sAMAccountName=%{Authentication:Username})(objectClass=user))(&(userPrincipalName=%{Authentication:Username})(objectClass=user)))

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

Re: ldap filter | Please advise

Thanks for the fast response, Sent your answer to my client , will check it soon. AirHeads - Because mobility have one place for knowledge
*****************2Plus Wireless Solutions****************************
Aruba Airheads - Powered By community for empower the community
************ Don't Forget to Kudos + me,If i helped you******************
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: