-
Notifications
You must be signed in to change notification settings - Fork 363
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
About implementing syncrepl (rfc-4533) consumer #422
Comments
This requires #319 to be merged first. |
I'm investigating. To provide syncrepl feature, I have to implement Controls as below.
https://ldap.com/ldap-oid-reference-guide/ To test a syncrepl consumer, the slapd server needs the below overlay configuration.
|
#80 implemented Persistent Search, but this feature is different from syncrepl provided by OpenLDAP server (slapd).
|
I understood the rough design. To provide the syncrepl feature, I have to implement Control structs to handle the above OID packets. Control structs encode/decode the packet from OpenLDAP server. |
I understood what the control is for.
I'm considering declaring another Response struct instead of reusing searchResponse because the generic search function differs from the persistent search provided by syncrepl (rfc-4533). |
* feat: add syncrepl (rfc-4533) consumer feature #422 * refactor: change Syncrepl interface to be able to pass reloadHint #447 * refactor: unify syncrepl (Syncrepl) instead of syncRepl (SyncRepl) #447 * refactor: integrate xxx_syncrepl.go into control.go/response.go for maintainability #447 * refactor: return an error if an unknown tag is received during the search process
I implemented it. Thanks for consulting with me. |
I am new to OpenLDAP. Recently, I started developing a module connected with the OpenLDAP server using go-ldap. Go-ldap really helps me. Thanks a lot.
I'm interested in syncrepl for LDAP Sync Replication. It is my understanding that syncrepl has 2 components, provider and consumer. I think the provider is an OpenLDAP server (maybe slapd). To use syncrepl in Go, I have to implement a consumer module. Does go-ldap have a plan to provide some functions related to syncrepl? I could not find resources about it.
Reference
The text was updated successfully, but these errors were encountered: