跟踪 LDAP 中已删除的记录
我们使用 OpenLDAP 2.3 来存储联系人。
我们使用 Spring LDAP 构建了一个 java 项目来每周导出联系人。在导出文件中,我们会标记是否新添加联系人或是否修改现有联系人。这很好用。问题是在 LDAP 中删除联系人时出现的问题。删除联系人后,LDAP 中的整个记录都会被删除。
LDAP 中有没有办法跟踪已删除的记录?
We are using OpenLDAP 2.3 to store contacts.
We have built a java project using Spring LDAP to do weekly export of the contacts. In the export file we flag if a contact is newly added or if an existing contact is modified. This works fine. The issue is when a contact is deleted in LDAP. When a contact is deleted, the whole record is removed in LDAP.
Is there a way in LDAP to keep a track of deleted records?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Openldap 有一个您可以添加的审计模块。您必须查询该模块才能查看上一时期删除的内容。 LDAP 之外的另一个选项是保留上次运行导出的联系人列表,并在最后比较两者。
Openldap has an audit module you can add in. You would have to query that to see what was deleted in the last period. Another option outside of ldap is to keep a list of contacts of exported from the previous run and compare the two at the end.