CentOS 8.x Owncloud AD integration

From Notes_Wiki
Revision as of 23:17, 22 July 2020 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb self="Owncloud AD integration">CentOS 8.x Owncloud|Owncloud</yambe:breadcrumb> =CentOS 8.x Owncloud AD integration= For owncloud AD integration with ownclou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb self="Owncloud AD integration">CentOS 8.x Owncloud|Owncloud</yambe:breadcrumb>

CentOS 8.x 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.
  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:


<yambe:breadcrumb self="Owncloud AD integration">CentOS 8.x Owncloud|Owncloud</yambe:breadcrumb>