Security

 View Only
  • 1.  ldap filter | Please advise

    Posted Sep 01, 2016 09:55 AM

    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



  • 2.  RE: ldap filter | Please advise

    Posted Sep 01, 2016 09:58 AM

    This will support both UPN and samAccountName

     

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


  • 3.  RE: ldap filter | Please advise

    Posted Sep 03, 2016 01:54 AM
    Thanks for the fast response, Sent your answer to my client , will check it soon. AirHeads - Because mobility have one place for knowledge