Zentyal Forum, Linux Small Business Server
Zentyal Server => Directory and Authentication => Topic started by: gerald_FS on November 13, 2014, 08:09:26 pm
-
Zentyal 4 and ownCloud with centralized user management (LDAP)
Hi there,
I'm trying as I got done with ownCloud central Benutzerverwlautng.
To date, however, without success!
There is an LDAP module in ownCloud, but I can not respond properly, does anyone advice?
There is a reasonable HowTo?
best regards
Gerald
-
In Zentyal 3.2 I have owncloud working with LDAP accounts, but in Zentyal 4 a complete other LDAP is used. (Samba4 instead of OpenLDAP) So I don't know how to configure it for Zentyal4.
-
Good morning forum!
well I agree with you that yes LDAP in the form is not quite existend, but bears yes samba4 the identification of the user.
SOGO and other modules have indeed access the user database.
In my eyes would wan the data you need "only out-extracting", which is only quite tingly.
With my dangerous half know I can not do it;-)
VII. does anyone know what it takes to think it will combine m ore people Zentyal with ownCloud.
Greetings from the foggy Bavaria!
Gerald
-
Samba AD is supposedly Active Directory compatible and Owncloud supports that, so in theory it should be possible. One possible avenue to look at would be to setup an up to date Samba4 domain on something like OpenSuse so that you can see if its is a Samba4 issue you are seeing or a Zentyal config one.
-
Hallo Gerald,
1. install php5-ldap on your server:
sudo apt-get install php5-ldap
2. add samba4 ldap port (tcp/udp 389) to internal firewall rules
3. enable ldap app in owncloud:
(Apps Sidebar→Apps, choose LDAP user and group backend, click on Enable)
4. add new ldap server config (change your Domain Administrator password!)
see my example test config in attachment
your CN-DN settings in Zentyal:
Users and Computers → LDAP Settings → LDAP information
Greetings from the foggy and frosty Bavaria! ;)
julio
-
Hi Julio,
Can you help me with a few point please.
Which versions of ownCloud and Zentyal are you using?
Do you mean sudo apt-get install php5-ldap ....... with the number 5, and I install this on my ownCloud machine?
I had this all working perfectly with Zentyal 3.2 and this is such a pain...... Oddly I can get pfSense to talk happily for my vpn authentication using the ldap username and password in here - /etc/postfix/login.cf so I'm a bit lost!!!
Thanks.
UPDATE - Got it working. Re-set up the latest ownCloud (it wouldn't update from 7.0.2 with the updater for some reason), had the same issue; I put in all the LDAP details and it wouldn't load the 'only from those groups:' box, then I manually refreshed the web page, and voila a green circle appeared!! Now I can go to bed.
-
Hi jmccoy555,
Zentyal 4 + ownCloud 7.0.3
yes, install php5-ldap on your server, sorry... :)
-
Danke! - Einfach geil!!!
Da mach ich mir gleich noch ein Tegernseer auf :D - Prost.
-
I am having no luck at all with this. On the first tab, I get the little green icon to say the server configuration is correct, then go to the second tab, and it turns red and says it is incorrect.
-
Well, after purging Zentyal-*, and re-installing all the Zentyal components, still no luck. So I went to owncloud -> apps and disabled the LDAP app, reloaded and re-enabled it, and all is working again.
Unfortunately, I have no users in Zentyal any more - so have to add them all back :-)
-
Hello,
got a problem here, it will not work with the setup parameters from above
Zentyal 4.0 - core 4.0.5
Owncloud 7.0.4
php5-ldap is installed
disabled the LDAP app in Ownrloud, reloaded and re-enabled it - No Way
after a fresh Zentyal and Owncloud install the problem still exist
is there someone already come next?
-
Hi,
Internal Firewall TCP/UDP port: 389 is enabled?
-
Hi ,
i disable the firewall for testing
-
Hello,
I've zentyal 4.06 and owncloud 8 installed.
With Julios post I get the mistake "Base-DN konnte nicht festgestellt werden". With ldap and ldaps, what is favourated. Inserts are from zentyal. After pressing "continue", I cannot make any configuration. Everything is empty (object class).
Greets
-
Hey,
I have the same problem. The bindings did not work for Zentyal 4.1 and owncloud 8. I already open the znetyal firewall for port 389. I entered the Base DN like cn=domain,cn=lan and the Root-DN like uid=Administrator,OU=Users,DC=domain,DC=lan
Server ip: 192.168.178.6 without and with ldaps/ldap - nothing happend. The BASE-DN isn't recognized by owncloud
ANy ideas?
Greetz phiku
-
:) I find the a Solution in a Owncloud-Forum with using an Ubuntu AD (as Zentyal is based on ubuntu) and it's working :)
Here are my pictures
-
It' me agian. As you can see in my last post and the pictures, I get the users in the owncloud-user-panel.
But... I can't login with the AD credetials for my users. Has anybody an Idea?
grettings,
phiku
-
I'm really wondering why I persist with Zentyal. Why can they not give us the documentation that will let us use Zentyal as an LDAP server to authenticate clients without having to jump through all these hoops. Earlier versions gave us a read only user in the admin panel and let us set up clients with ease. Now you have to dig into the guts of it just to find the dn of a user to use to log into LDAP.
If all Zentyal is going to do is provide the same functionality as a windows server (including the fucked up upgrades), I might as well just use windows. At least Microsoft give you documentation, and they support third party applications on the servers. Zentyal seem to be trying to stop anyone doing anything other than file sharing and Outlook.
-
I was able to get it working using Phiku's method in the screenshots... however it was very sporadic. One second it was showing nothing, the next suddenly it just went green after going back and forth between tabs. I just rebuilt the server and I'm going to try from scratch using those same instructions this time and see if it works. Would be nice to have this Wiki'd if someone could get it accurately working.
-
maybe this post can help?
https://forum.zentyal.org/index.php/topic,26262.0.html
TfN
-
:) I find the a Solution in a Owncloud-Forum with using an Ubuntu AD (as Zentyal is based on ubuntu) and it's working :)
Here are my pictures
Thanks phiku for pointing out the solution:
Two remarks: in the first picture has some caveats that could lead to somemisunderstanding:
- The IP is shown as server address: I can confirm this. Using the full qualified domain name is NOT working (server.zentyaldomain.lan).
- Using the account "Administrator" is not necessary: any user can be used here. I simply created one.
- The DN is not correct. "OU=Users," does not work for me. I simply had to use the settings as shown at the LDAP information page which you can easily copy from the webinterface at https://zentyal:WEB_PORT/Samba/Composite/Settings
And: Using ldaps://IP or ldaps://FQD and Port 686 is NOT working for me.