openldap icon indicating copy to clipboard operation
openldap copied to clipboard

Replication module syncprov not loaded on centos

Open bdd4329 opened this issue 9 years ago • 4 comments

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: handler exited with 1!

The error refers to the attempt to use the overlay module without it being loaded first.

bdd4329 avatar Sep 16 '16 14:09 bdd4329

I'd like second this. Also shouldn't the flag --enable-modules be set on install/config?

danniAdams avatar Sep 19 '16 17:09 danniAdams

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.

tas50 avatar Sep 19 '16 21:09 tas50

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?

danniAdams avatar Sep 20 '16 16:09 danniAdams

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= .

bdd4329 avatar Sep 20 '16 17:09 bdd4329