CentOS 8.x Owncloud AD integration

From Notes_Wiki

Home > CentOS > CentOS 8.x > Desktop tools or applications > Owncloud > AD integration

For owncloud AD integration with owncloud 9.0 and user_ldap 0.8.0 use following steps:

  1. Install and configure owncloud
  2. Install required php packages:
    yum -y install php-ldap
  3. Login into owncloud as Admin. Go to settings -> Apps -> Show disabled apps and see if LDAP integration plugin is installed but disabled. If there is no such plugin download appropriate version plugin based on owncloud version installed from Owncloud Marketplace https://marketplace.owncloud.com/apps/user_ldap
  4. After installing LDAP module, ldap packages and enabling the ldap module, go to settings page of LDAP module
  5. Then to add server on the server tab enter AD details including
    server host
    FQDN or IP
    port number
    389 should work
    Username
    Either AD administrator account or service account created for owncloud authentication purposes
    Password
    Appropriate password for the user
    DN
    Base DN should work
    Click Continue.
  6. Then in users tab
    1. Leave person as value for "Only these object classes"
    2. Select appropriate AD groups which should be allowed to login. It makes sense to have a dedicated group in AD for owncloud users.
    3. Click "Verify settings and count users". We should see non-zero user count at this point.
    4. Click Continue.
  7. Then in groups tab
    1. Leave group as value for "Only these object classes"
    2. In "Only from these groups" again select the same group selected during users tab
    3. Click Verify settings and count groups.
  8. Click on expert button and set following values
    Internal Username Attribute
    SAMAccountName
    UUID Attribute for Users
    Leave it blank
    UUID Attribute for Groups
    Leave this blank
    Clear Username-LDAP User Mappings
    Click this once Do this only one a new server without any existing AD login
    Clear Groupname-LDAP Group Mappings
    Click this once Do this only one a new server without any existing AD login
  9. Test configuration
  10. Try to login as AD user and check that integration is working as expected.


Refer:


Home > CentOS > CentOS 8.x > Desktop tools or applications > Owncloud > AD integration