<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00006Tt44hSABOkta Classic EngineIntegrationsAnswered2024-04-15T10:39:21.000Z2019-07-24T13:43:01.000Z2019-07-30T17:28:09.000Z

1jtyg (1jtyg) asked a question.

memberOf LDAP filter

Hi, I'm trying to configure a product called Snipe-IT for LDAP authentication with Okta.

I would like to be able to filter the ability of someone to login by Okta group membership and am trying to use the memberOf property but I can't seem to find the right filter expression to get it to work.

I'm trying:

(&(objectClass=inetOrgPerson)(memberOf=cn=IT Ops,ou=groups,dc=<mycompany>,dc=okta,dc=com))

Is that the correct path and syntax?


  • Thank you for contacting Okta Support.

     

    By the look of it, the expression seems to be in order; the only problem I can think of is that your search parameter (IT Ops) is composed of 2 words. In case it helps, here's our LDAP Interface documentation: https://help.okta.com/en/prod/Content/Topics/Directory/LDAP_Using_the_LDAP_Interface.htm

     

    If you'll need further assistance, please don't hesitate to open a Support case with us.

     

    Thank you,

    Paul Auer

    Technical Support Engineer | Okta

    Expand Post
    Selected as Best
  • 1jtyg (1jtyg)

    Thanks for the response Paul.

     

    One other question that isn't directly related. Is there an LDAP attribute in Okta that contains just the prefix portion of a users email? i.e the <username> in <username>@company.com? We have a product that we'd like to sync with Okta LDAP but we'd like it to pull that prefix value rather than the whole email address as the username.

    Expand Post
This question is closed.
Loading
memberOf LDAP filter