Author Topic: Sogo, OpenChange, Samba4 and Ldap  (Read 2773 times)

hgurol

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Sogo, OpenChange, Samba4 and Ldap
« on: December 14, 2013, 05:37:36 pm »
Hi,

I want to know if Zentyal 3.3 uses openldap as well as Samba4 to store user information and to provide the native outlook connection feature.

I have tested Sogo's all-in-one solution ZEG; it uses openldap for their main user directory and then somehow sync the data to Samba4 to provide the native outlook connection feature.

For me, this is unnecessary complexity. Why would I use an additional ldap server while Samba4 is a requirement for this feature and it is an ldap server itself as well? I asked the same question to Sogo developers and while they, somewhat, agree they told me that they have their own reasons for that. Mostly about some debugging problems.

However, I would prefer to use only one ldap server, Samba4, plain and simple.

I am wondering how Zenytal 3.3 is handling this feature.

Thanks...

kernevil

  • Zen Apprentice
  • *
  • Posts: 31
  • Karma: +10/-0
    • View Profile
Re: Sogo, OpenChange, Samba4 and Ldap
« Reply #1 on: December 19, 2013, 04:08:22 pm »
Hi,

the reason why Zentyal also uses two LDAP databases (samba4 and openLDAP) is because all zentyal modules use openLDAP as the main database as of today. I agree this adds unnecessary complexity and may change in future releases.

Regards.

christian

  • Guest
Re: Sogo, OpenChange, Samba4 and Ldap
« Reply #2 on: December 19, 2013, 05:01:33 pm »
However, I would prefer to use only one ldap server, Samba4, plain and simple.

Sure... if you decide that any Zentyal deployment must contain "file sharing module".
What would you then suggest for someone deploying Zentyal as "firewall and HTTP proxy" only ?
To deploy Samba even if not needed ?  ::)

hgurol

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Sogo, OpenChange, Samba4 and Ldap
« Reply #3 on: December 20, 2013, 05:05:00 am »
Okay, I see the point.

Then how Zentyal handles the sync between OpenLdap and Samba4 ?

christian

  • Guest
Re: Sogo, OpenChange, Samba4 and Ldap
« Reply #4 on: December 20, 2013, 07:04:54 am »
Then how Zentyal handles the sync between OpenLdap and Samba4 ?

Good question.  :)
Another related question is:
"does it really matter (to know how it works under the hood) unless you want to develop/deploy something that would be tightly dependant on this "synchronization?"

I never saw any documentation describing this but you should be able to make some reverse engineering...

innocenti_jr

  • Zen Monk
  • **
  • Posts: 98
  • Karma: +9/-0
    • View Profile
Re: Sogo, OpenChange, Samba4 and Ldap
« Reply #5 on: December 20, 2013, 07:45:02 am »
Zentyal has a daemon process for that, called "s4sync".

Cheers - Oliver
"The problem with quotes on the Internet is that it is hard to verify their authenticity." - Abraham Lincoln