Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replication module syncprov not loaded on centos #76

Open
bdd4329 opened this issue Sep 16, 2016 · 4 comments
Open

Replication module syncprov not loaded on centos #76

bdd4329 opened this issue Sep 16, 2016 · 4 comments
Labels
Bug Something isn't working Help Wanted Assistance is required to resolve this issue

Comments

@bdd4329
Copy link

bdd4329 commented Sep 16, 2016

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.

@danniAdams
Copy link

danniAdams commented Sep 19, 2016

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

@tas50
Copy link
Contributor

tas50 commented Sep 19, 2016

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.

@danniAdams
Copy link

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?

@bdd4329
Copy link
Author

bdd4329 commented Sep 20, 2016

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

@damacus damacus added Bug Something isn't working Help Wanted Assistance is required to resolve this issue labels Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Help Wanted Assistance is required to resolve this issue
Projects
None yet
Development

No branches or pull requests

6 participants