https://bugs.openldap.org/show_bug.cgi?id=10239
Issue ID: 10239 Summary: The slapd domain name is inconsistent, synchronization cannot be modified by the rewrite dn parameter dc. Product: OpenLDAP Version: 2.4.44 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: 2458943823@qq.com Target Milestone: ---
/etc/openldap/slapd: syncrepl rid=002 provider=ldap://172.18.1.1 bindmethod=simple binddn="cn=Manager,dc=wsc,dc=ls,dc=com" credentials=lnewnews1tter searchbase="dc=wsc,dc=ls,dc=com" schemachecking=off type=refreshAndPersist retry="60 +" rewrite dn "dc=wsc,dc=ls,dc=com" "dc=wsc,dc=slave1,dc=ls,dc=com"
The error is as follows: 66912211 /etc/openldap/slapd.conf: line 281: Error: parse_syncrepl_line: unable to parse "rewrite" . 66912211 failed to add syncinfo slaptest: bad configuration directory!
https://bugs.openldap.org/show_bug.cgi?id=10239
chen 2458943823@qq.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |2458943823@qq.com Hardware|All |x86_64 OS|All |Linux
https://bugs.openldap.org/show_bug.cgi?id=10239
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- The OpenLDAP 2.4 series is historic and not supported. Please upgrade to a supported release series. Additionally, usage questions belong in the openldap-technical list, you can subscribe at https://lists.openldap.org
https://bugs.openldap.org/show_bug.cgi?id=10239
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED
https://bugs.openldap.org/show_bug.cgi?id=10239
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Since you pasted your password into this bug report, I strongly advise changing it, as well.
https://bugs.openldap.org/show_bug.cgi?id=10239
--- Comment #3 from chen 2458943823@qq.com --- (In reply to chen from comment #0)
/etc/openldap/slapd: syncrepl rid=002 provider=ldap://172.18.1.1 bindmethod=simple binddn="cn=Manager,dc=wsc,dc=ls,dc=com" credentials=testt01 searchbase="dc=wsc,dc=ls,dc=com" schemachecking=off type=refreshAndPersist retry="60 +" rewrite dn "dc=wsc,dc=ls,dc=com" "dc=wsc,dc=slave1,dc=ls,dc=com"
The error is as follows: 66912211 /etc/openldap/slapd.conf: line 281: Error: parse_syncrepl_line: unable to parse "rewrite" . 66912211 failed to add syncinfo slaptest: bad configuration directory!
https://bugs.openldap.org/show_bug.cgi?id=10239
--- Comment #4 from chen 2458943823@qq.com --- (In reply to chen from comment #0)
/etc/openldap/slapd: syncrepl rid=002 provider=ldap://172.18.1.1 bindmethod=simple binddn="cn=Manager,dc=wsc,dc=ls,dc=com" credentials= searchbase="dc=wsc,dc=ls,dc=com" schemachecking=off type=refreshAndPersist retry="60 +" rewrite dn "dc=wsc,dc=ls,dc=com" "dc=wsc,dc=slave1,dc=ls,dc=com"
The error is as follows: 66912211 /etc/openldap/slapd.conf: line 281: Error: parse_syncrepl_line: unable to parse "rewrite" . 66912211 failed to add syncinfo slaptest: bad configuration directory!
https://bugs.openldap.org/show_bug.cgi?id=10239
chen 2458943823@qq.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |--- Status|VERIFIED |UNCONFIRMED
--- Comment #5 from chen 2458943823@qq.com --- (In reply to chen from comment #4)
(In reply to chen from comment #0)
/etc/openldap/slapd: syncrepl rid=002 provider=ldap://172.18.1.1 bindmethod=simple binddn="cn=Manager,dc=wsc,dc=ls,dc=com" credentials= searchbase="dc=wsc,dc=ls,dc=com" schemachecking=off type=refreshAndPersist retry="60 +" rewrite dn "dc=wsc,dc=ls,dc=com" "dc=wsc,dc=slave1,dc=ls,dc=com"
The error is as follows: 66912211 /etc/openldap/slapd.conf: line 281: Error: parse_syncrepl_line: unable to parse "rewrite" . 66912211 failed to add syncinfo slaptest: bad configuration directory!
https://bugs.openldap.org/show_bug.cgi?id=10239
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #6 from Quanah Gibson-Mount quanah@openldap.org --- Again:
2.4 series is historic and unsupported. Additionally "rewrite" is not a valid directive for a syncrepl statement. This bug will be closed. If you open it again, you will be banned from the bug tracker for abuse. If you need help on how to configure OpenLDAP, use the openldap-technical list as previously noted in c#1
https://bugs.openldap.org/show_bug.cgi?id=10239
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED
https://bugs.openldap.org/show_bug.cgi?id=10239
--- Comment #7 from chen 2458943823@qq.com --- Hello, thank you very much for your support. No relevant cases were found in the historical issue list.
How to synchronize when the dc of the primary server and the secondary server are inconsistent?
https://bugs.openldap.org/show_bug.cgi?id=10239
--- Comment #8 from Quanah Gibson-Mount quanah@openldap.org --- (In reply to chen from comment #7)
Hello, thank you very much for your support. No relevant cases were found in the historical issue list.
How to synchronize when the dc of the primary server and the secondary server are inconsistent?
You need to use the openldap-technical email list for your configuration questions, as has already been advised repeatedly.
https://lists.openldap.org/ to subscribe.
-