diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2010-08-26 17:30:29 -0700 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-08-31 10:37:35 -0700 |
commit | a0282b832d09951a893a4293707a2586020d09cf (patch) | |
tree | 722c08df4ee3c2ad18b15276978b71ae2773af83 /ldap/servers/slapd/back-ldbm/monitor.c | |
parent | 7cd57ad2fc78c90a2405128df1e5414161e1ff9d (diff) | |
download | ds-a0282b832d09951a893a4293707a2586020d09cf.tar.gz ds-a0282b832d09951a893a4293707a2586020d09cf.tar.xz ds-a0282b832d09951a893a4293707a2586020d09cf.zip |
Bug 531642 - EntryUSN: RFE: a configuration option to make entryusn "global"
https://bugzilla.redhat.com/show_bug.cgi?id=531642
Resolves: 531642
Fix description:
1. Introduced a config parameter nsslapd-entryusn-global: on|off to
enable | disable the global mode. By default, off.
In the global mode, search on root dse returns "lastusn: <num>"
without the backend subtype (e.g., "lastusn;userroot: <num>")
2. Added slapi_get_next_suffix_ext to mapping_tree.c, which visits
children as well as siblings in the mapping tree.
(Note: slapi_get_next_suffix does just siblings.)
3. import (ldif2db) adds "entryusn: 0" to every entry unless the
entry already contains the entryusn attribute.
4. ldbm_back_delete, ldbm_back_modify, ldbm_back_modrdn: set
ldap_result_code to pblock so that bepost plugin could see if
the operation was successful or not.
See also http://directory.fedoraproject.org/wiki/Entry_USN#Global_mode
Diffstat (limited to 'ldap/servers/slapd/back-ldbm/monitor.c')
0 files changed, 0 insertions, 0 deletions