<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
0D51Y00006RWRm6SAHOkta Classic EngineUniversal DirectoryAnswered2024-04-16T12:18:16.000Z2019-07-15T11:32:58.000Z2020-08-19T16:45:20.000Z

hpscy (hpscy) asked a question.

Is it possible for a macOS device to join the OKTA LDAP interface?

The LDAP Interface allows cloud-based LDAP authentication against Okta's Universal Directory instead of an on-premises LDAP server or Active Directory.

 

macOS is able to join an on premise LDAP service, so I was wondering if it is possible to hook it up to Okta's LDAP interface. Has anyone been able to get this working?


  • In response to the question about using the Okta LDAP interface to join macOS, that configuration isn't supported currently by Okta.

     

     The Okta LDAP Agent officially supports the following Operating Systems:

    • CentOS 6 or newer
    • Debian 7 or newer
    • Ubuntu 14 or newer
    • Windows Server 2008 R2 SP1 
    • Windows Server 2012 

     

     

     

    Expand Post
    Selected as Best
  • In response to the question about using the Okta LDAP interface to join macOS, that configuration isn't supported currently by Okta.

     

     The Okta LDAP Agent officially supports the following Operating Systems:

    • CentOS 6 or newer
    • Debian 7 or newer
    • Ubuntu 14 or newer
    • Windows Server 2008 R2 SP1 
    • Windows Server 2012 

     

     

     

    Expand Post
    Selected as Best
  • EricK.22493 (Kohl&amp;#39;s)

    MacOS requires posix attributes to function. I believe posix support is "coming" later this year.

  • hpscy (hpscy)

    @eric Any idea when this is due?

  • mod6f (mod6f)

    @hpscy (hpscy)​ @EricK.22493 (Kohl&amp;#39;s)​ 

    Don't necessarily treat the following as gospel but it is based on numerous battle scars.

     

    Apple themselves only officially support 100% genuine OpenDirectory (their own system) and 100% genuine ActiveDirectory. There is a good chance that SAMBA4 configured in AD mode should work well but I have not yet tried this.

     

    I can say that FreeIPA only partially works. There is no Apple schema available for it and this means as a first step having to define a manual mapping of LDAP fields on each Mac client, this cannot easily be automated and I suspect Catalina will have made this worse. Even if one does do this and again manually sets up Kerberos and the matching rootCA and does all the other steps you are left with one big issue. Whilst a manual setup with working Kerberos will allow users to change passwords via System Preferences -> Users & Groups this will not work if you reset the users password at the server end which causes the need to change the password at the login screen, this is because before you login you don't have a working Kerberos ticket to change the password via so you then get stuck in a loop. This is why for OpenDirectory you have Password Server which does this via an alternative method. Password Server used to be available as open source but neither the FreeIPA nor OpenLDAP projects ever bothered to port it to their systems. Annoyingly Apple have now removed the source from their open source server.

     

    Much the same applies to OpenLDAP, however here there is or was an Apple schema available (ironically part of the SAMBA schema) so in theory you don't have to worry about the field mappings. You still have the password reset issue though.

     

    I would therefore imagine that if you did use Okta LDAP for Mac clients it would at best be on the same level as FreeIPA. If/when Okta add POSIX support this would in itself be an improvement I do not believe it will otherwise help provide true Mac support due to the above schema and Password Server issues.

     

    Something to consider is Jamf Connect based on the NOMAD code, this can link user accounts to Okta accounts and sync passwords. It is not anywhere near as elegant as the built-in OD and AD support of Macs but might be better than nothing.

     

    Another approach might be to build a SAMBA4 AD system and link this to Okta with the Macs linked to the SAMBA4 AD server. Okta do have both an AD agent for Linux and an LDAP agent for Linux.

     

    It should be noted that binding Windows AD clients to Okta is also not possible in the way that one normally interprets this. If it was one could have potentially bound Macs as AD clients to Okta. I cannot stress how big a deal this would be if Okta supported this. Right now almost the entire world revolves around AD which gives Microsoft an almost complete monopoly, if someone like (cough) Okta got off their fat ass and implemented a compatible alternative this would I am sure be in huge demand. Azure AD is only a partial solution with Microsoft expecting you to link to 'real' AD to fill-in the gaps e.g. support for binding Macs.

    Expand Post
This question is closed.
Loading
Is it possible for a macOS device to join the OKTA LDAP interface?