ownCloud provides universal access to your files via the web, your computer or your mobile devices wherever you are. It also provides a platform to easily view and synchronize your contacts, calendars and bookmarks across all your devices and enables basic editing right on the web.
Key features:
The installation can be done through the NethServer Enterprise web interface. After the installation:
LDAP access authentication is enabled by default, so each user can login with its system credentials. After the installation a new application widget is added to the NethServer Enterprise web interface dashboard.
Nota
New installations do not need the LDAP configuration because it is done automatically.
Copy the LDAP password using the following command:
cat /var/lib/nethserver/secrets/owncloud
Login to ownCloud as administrator
Search LDAP user and group backend: Applications -> LDAP user and group backend
Enable «LDAP user and group backend»
Configure server parameters: Admin -> Admin -> Server tab
Fill «Server» tab with these parameters:
Host: localhost:389
Port: 389
DN user: cn=owncloud,dc=directory,dc=nh
Password: "you can use copied password"
DN base: dc=directory,dc=nh
Fill «User filter» tab with:
Modify coarse filter: (&(objectClass=person)(givenName=*))
Fill «Access filter» tab with:
Modify coarse filter: uid=%uid
Fill «Group filter» tab with:
Modify coarse filter: (&(objectClass=posixGroup)(memberUid=*))
Configure «Advanced» tab with:
Directory settings
Display username: cn
User structure base: dc=directory,dc=nh
Display group name: cn
Group structure base: dc=directory,dc=nh
Group-member association -> memberUid
Special Attributes
Email field: email
Configure «Expert» tab with:
Internal username Attribute: uid
Click on "Clear Username-LDAP user mapping"
Click the «Save» button
After ownCloud LDAP configuration, the user list can show some usernames containing random numbers. This is because ownCloud ensures that there are no duplicate internal usernames as reported in section Internal Username.
If two administrator users are present, they are of ownCloud and LDAP. So you can remove that of ownCloud after have assigned the LDAP one to the administrator group. So, as a result, you can use only the LDAP administrator user. You can do this by the following steps:
Trusted domains are a list of domains that users can log into. Default trusted domains are:
To add a new one use:
config setprop owncloud TrustedDomains server.domain.com
signal-event nethserver-owncloud-update
To add more than one, concatenate the names with a comma.