OpenLDAP version: 2.4.44
Requirement: How to configure the slapd.conf file to successfully synchronize user information between master and slave servers from different DCs, to keep the user DC consistent with the slave server DC.
Current issue:
1. When filling in the syncrepl synchronization rule with suffixmassage "dc=ws,dc=sip,dc=com" "dc=ws,dc=slave2,dc=sip,dc=com", it shows Error: parse_syncrepl_line: unable to parse "suffixmassage".
--On Thursday, July 18, 2024 1:32 PM +0000 2458943823@qq.com wrote:
OpenLDAP version: 2.4.44
Requirement: How to configure the slapd.conf file to successfully synchronize user information between master and slave servers from different DCs, to keep the user DC consistent with the slave server DC.
Current issue:
- When filling in the syncrepl synchronization rule with suffixmassage
"dc=ws,dc=sip,dc=com" "dc=ws,dc=slave2,dc=sip,dc=com", it shows Error: parse_syncrepl_line: unable to parse "suffixmassage".
Provide your syncrepl line from slapd.conf, minus any username/password if using simple bind.
--Quanah
syncrepl rid=001 provider="ldap://192.168.1.1" bindmethod=simple binddn="cn=Manager,dc=ws,dc=sip,dc=com" credentials=* searchbase="dc=ws,dc=sip,dc=com" schemachecking=off type=refreshAndPersist retry="60 +" suffixmassage dn "dc=ws,dc=sip,dc=com" "dc=ws,dc=slave2,dc=sip,dc=com" mirrormode on
--On Monday, July 22, 2024 4:41 AM +0000 2458943823@qq.com wrote:
syncrepl rid=001 provider="ldap://192.168.1.1" bindmethod=simple binddn="cn=Manager,dc=ws,dc=sip,dc=com" credentials=* searchbase="dc=ws,dc=sip,dc=com" schemachecking=off type=refreshAndPersist retry="60 +" suffixmassage dn "dc=ws,dc=sip,dc=com" "dc=ws,dc=slave2,dc=sip,dc=com" mirrormode on
Hello,
This is not the syncprov overlay configuration. However, if this is how you configured your provider it is likely that your provider configuration is wrong, since it is highly unlikely it should be doing a suffix massage. Without the full context of your overall configuration (minus passwords) it is not possible to provider further assistance.
--Quanah
"suffixmassAge"?!
On 2024/07/18 14:32, 2458943823@qq.com wrote:
OpenLDAP version: 2.4.44
Requirement: How to configure the slapd.conf file to successfully synchronize user information between master and slave servers from different DCs, to keep the user DC consistent with the slave server DC.
Current issue:
- When filling in the syncrepl synchronization rule with suffixmassage "dc=ws,dc=sip,dc=com" "dc=ws,dc=slave2,dc=sip,dc=com", it shows Error: parse_syncrepl_line: unable to parse "suffixmassage".
Hello, openldap version: 2.4.29, primary server dc=sip,dc=com, secondary server dc=slave1,dc=com, when the primary and secondary servers are synchronized, how do the secondary servers need to configure the dc that can be synchronized from the primary server to the secondary server dc in slapd.conf
--On Wednesday, July 24, 2024 8:30 AM +0000 2458943823@qq.com wrote:
Hello, openldap version: 2.4.29, primary server dc=sip,dc=com, secondary server dc=slave1,dc=com, when the primary and secondary servers are synchronized, how do the secondary servers need to configure the dc that can be synchronized from the primary server to the secondary server dc in slapd.conf
Hello,
There's not really enough information about your environment to go on here or what you are attempting to accomplish. I would note that the OpenLDAP 2.4 series is no longer supported. Additionaly, 2.4.29 is is 12 years old and had numerous known replication issues. If you need assistance, your first step should be migrating to a current supported OpenLDAP release series.
Regards, Quanah
openldap-technical@openldap.org