Author Topic: (SOLVED) Zentyal 4 and ownCloud with centralized user management (LDAP)  (Read 18174 times)

gerald_FS

  • Guest
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
« Last Edit: November 17, 2014, 08:02:08 am by gerald_FS »

robb

  • Guest
Re: Zentyal 4 and ownCloud with centralized user management (LDAP)
« Reply #1 on: November 13, 2014, 08:17:17 pm »
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.

gerald_FS

  • Guest
Re: Zentyal 4 and ownCloud with centralized user management (LDAP)
« Reply #2 on: November 14, 2014, 09:13:25 am »
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

Gopher

  • Zen Apprentice
  • *
  • Posts: 45
  • Karma: +7/-0
    • View Profile
Re: Zentyal 4 and ownCloud with centralized user management (LDAP)
« Reply #3 on: November 14, 2014, 11:28:14 am »
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.

julio

  • Guest
Re: Zentyal 4 and ownCloud with centralized user management (LDAP)
« Reply #4 on: November 14, 2014, 08:29:24 pm »
Hallo Gerald,

1. install php5-ldap on your server:
Code: [Select]
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
« Last Edit: November 15, 2014, 06:44:15 pm by julio »

jmccoy555

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +1/-0
    • View Profile
Re: Zentyal 4 and ownCloud with centralized user management (LDAP)
« Reply #5 on: November 14, 2014, 11:32:27 pm »
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.
« Last Edit: November 15, 2014, 01:16:15 am by jmccoy555 »

julio

  • Guest
Re: Zentyal 4 and ownCloud with centralized user management (LDAP)
« Reply #6 on: November 15, 2014, 06:43:47 pm »
Hi jmccoy555,

Zentyal 4 + ownCloud 7.0.3
yes, install php5-ldap on your server, sorry...  :)

gerald_FS

  • Guest
Re: Zentyal 4 and ownCloud with centralized user management (LDAP) - SOLVED
« Reply #7 on: November 16, 2014, 01:14:25 pm »
Danke!   - Einfach geil!!!

Da mach ich mir gleich noch ein Tegernseer auf  :D - Prost.

don

  • Zen Apprentice
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: (SOLVED) Zentyal 4 and ownCloud with centralized user management (LDAP)
« Reply #8 on: December 13, 2014, 12:01:22 pm »
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.


don

  • Zen Apprentice
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: (SOLVED) Zentyal 4 and ownCloud with centralized user management (LDAP)
« Reply #9 on: December 14, 2014, 07:08:32 am »
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 :-)

Mittelerde

  • Zen Warrior
  • ***
  • Posts: 153
  • Karma: +8/-0
    • View Profile
Re: (SOLVED) Zentyal 4 and ownCloud with centralized user management (LDAP)
« Reply #10 on: January 19, 2015, 10:24:12 am »
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?

« Last Edit: January 19, 2015, 02:37:20 pm by Mittelerde »

julio

  • Guest
Re: (SOLVED) Zentyal 4 and ownCloud with centralized user management (LDAP)
« Reply #11 on: January 19, 2015, 11:04:14 pm »
Hi,

Internal Firewall TCP/UDP port: 389 is enabled?

Mittelerde

  • Zen Warrior
  • ***
  • Posts: 153
  • Karma: +8/-0
    • View Profile
Re: (SOLVED) Zentyal 4 and ownCloud with centralized user management (LDAP)
« Reply #12 on: January 20, 2015, 12:53:38 pm »
Hi ,

i disable the firewall for testing

kidax

  • Zen Apprentice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: (SOLVED) Zentyal 4 and ownCloud with centralized user management (LDAP)
« Reply #13 on: February 25, 2015, 11:43:23 am »
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

phiku

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
Re: (SOLVED) Zentyal 4 and ownCloud with centralized user management (LDAP)
« Reply #14 on: April 23, 2015, 03:28:07 pm »
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