CentOS 8.x Owncloud AD integration
From Notes_Wiki
<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:
- Install and configure owncloud
- Install required php packages:
- yum -y install php-ldap
- 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
- After installing LDAP module, ldap packages and enabling the ldap module, go to settings page of LDAP module
- 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.
- Then in users tab
- Leave person as value for "Only these object classes"
- Select appropriate AD groups which should be allowed to login. It makes sense to have a dedicated group in AD for owncloud users.
- Click "Verify settings and count users". We should see non-zero user count at this point.
- Click Continue.
- Then in groups tab
- Leave group as value for "Only these object classes"
- In "Only from these groups" again select the same group selected during users tab
- Click Verify settings and count groups.
- 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
- Test configuration
- Try to login as AD user and check that integration is working as expected.
Refer:
- https://serenity-networks.com/configuring-owncloud-9-active-directory-ldap-plugin-successfully/
- https://doc.owncloud.com/server/admin_manual/configuration/user/user_auth_ldap.html
<yambe:breadcrumb self="Owncloud AD integration">CentOS 8.x Owncloud|Owncloud</yambe:breadcrumb>