Replication module syncprov not loaded on centos
Cookbook version
2.2.0
Chef-client version
12.12.13
Platform Details
Centos 7.2 (Linux coe-ldap0.tamu.edu 3.10.0-327.28.3.el7.x86_64 #1 SMP Thu Aug 18 19:05:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux)
Scenario:
I am unable to make replication work due to an "unless" statement in the slapd.conf.erb that prevents the replication module from being loaded on centos.
Steps to Reproduce:
Set up a master LDAP server on centos.
Expected Result:
Slapd starts normally
Actual Result:
Slapd fails to start with the following error:
overlay "syncprov" not found
/etc/openldap/slapd.conf: line 74:
The error refers to the attempt to use the overlay module without it being loaded first.
I'd like second this. Also shouldn't the flag --enable-modules be set on install/config?
I took a stab at a bit of cleanup on this cookbook this weekend. It needs a lot more love. This is part of that work as is refactoring things to support the ldif based config that slapd uses now.
Thanks much for your work on this. I wonder if loading the default schemas, syncprov and accesslog modules should be default, if only just for Centos?
That seems reasonable to me.
Blake Dworaczyk Senior Information Specialist College of Engineering Texas A&M University
On Sep 20, 2016 11:31 AM, "danniAdams" [email protected] wrote:
Thanks much for your work on this. I wonder if loading the default schemas, syncprov and accesslog modules should be default, if only just for Centos?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_chef-2Dcookbooks_openldap_issues_76-23issuecomment-2D248356246&d=CwMCaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=pGHjxvf3_iz7eqBCgF9rkQ&m=u0fFrE5GSQKvCXr6_XKzsa8qy7wjHgN0y1-zUncjeZQ&s=zk9BSAwg2GKBv-QdteaHOxRSxm9DmQDNjZx-hgr8L98&e=, or mute the thread https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ATT4hVsfrlXwYuzhud7urirb9vjPBDbWks5qsApcgaJpZM4J-5FBZ9&d=CwMCaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=pGHjxvf3_iz7eqBCgF9rkQ&m=u0fFrE5GSQKvCXr6_XKzsa8qy7wjHgN0y1-zUncjeZQ&s=y2WxSSnXXmKiMWIHFxaHScs_2QiKqKxpke8PtAdYRNw&e= .