My working setup step-by-step: zentyal 3 (core 3.0.7+all updates) + mysql 5.5 + phpmyadmin + owncloud 4.5.3 with Zentyal LDAP users
I'll just shoot all in one row, hopefully you will understand. Just copy-paste commands to your terminal...
--
apt-get update
apt-get install mysql-server
apt-get install phpmyadmin
sudo dpkg-reconfigure phpmyadmin
Connection method for MySQL database for phpmyadmin: unix socket
Name of the database's administrative user: root
Password of the database's administrative user: rootpassword
MySQL username for phpmyadmin: root
MySQL database name for phpmyadmin: phpmyadmin
Web server to reconfigure automatically: apache2
ERROR 1045
ignore
--
sudo nano or vi /etc/apache2/apache2.conf
add to end of file line:
Include /etc/phpmyadmin/apache.conf
service apache2 restart
--
sudo dpkg-reconfigure mysql-server-5.5
New password for the MySQL "root" user: rootpassword
Repeat password for the MySQL "root" user: rootpassword
After all this run following command on terminal to secure your mysql server:
sudo mysql_secure_installation
Enter current password for root (enter for none): rootpassword
Change the root password? [Y/n] n
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] y
Remove test database and access to it? [Y/n] y
Reload privilege tables now? [Y/n] y
--
sudo nano or vi /etc/apache2/mods-available/php5.conf
Add # in front of php_admin_value engine off to disable it
service apache2 restart
http://localhost/phpmyadmin/--
OwnCloud:
apt-get install php5-ldap
apt-get install curl
apt-get install libcurl3-dev
apt-get install php5-curl
wget
http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.10/Release.keyapt-key add - < Release.key
echo 'deb
http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.10/ /' >> /etc/apt/sources.list.d/owncloud.list
apt-get update
apt-get install owncloud
--
http://localhost/phpmyadminCreate owncloud database
http://localhost/owncloudcreate admin user and connect to mysql with credentials you did earlier in dpkg-reconfigure
--
enable in owncloud Settings-Apps-LDAP user and group backend
--
Settings-Admin-Ldap Basic
Host: ldap://localhost:390
Base DN: dc=yourserver,dc=com
User DN: cn=zentyal,dc=yourserver,dc=com
Password: Zentyal LDAP password
User Login Filter: uid=%uid
User List Filter: objectClass=person
Group Filter: objectClass=posixGroup
Admin-LDAP Advanced:
Port: 390
Users DN: ou=Users,dc=linex,dc=it
Groups DN: ou=Groups,dc=linex,dc=it
---
voilà
Have phun!