summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/slapi-plugin.h
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2008-07-02 18:15:22 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2008-07-02 18:15:22 +0000
commit0ff7a87e2212bbcbca7ce2435030765ebe2d9e71 (patch)
tree70c40f2dbd27b5625bbcd4bc1ebf31cd097fd3f7 /ldap/servers/slapd/slapi-plugin.h
parent326df84b4cbc89587fc41dc17f1caf622b70c8c3 (diff)
downloadds-0ff7a87e2212bbcbca7ce2435030765ebe2d9e71.tar.gz
ds-0ff7a87e2212bbcbca7ce2435030765ebe2d9e71.tar.xz
ds-0ff7a87e2212bbcbca7ce2435030765ebe2d9e71.zip
Resoves: #428929
Summary: Directory server is caching string case for attributes with Directorystring syntax even after deletion Description: Introduced a new flag SLAPI_VALUE_FLAG_USENEWVALUE for valueset_remove_valuearr to exchange the value in the deleted value set and the to be added value. With this change, the newly added value is resurrected instead of the original value.
Diffstat (limited to 'ldap/servers/slapd/slapi-plugin.h')
-rw-r--r--ldap/servers/slapd/slapi-plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldap/servers/slapd/slapi-plugin.h b/ldap/servers/slapd/slapi-plugin.h
index 92cac83c..e7d982f7 100644
--- a/ldap/servers/slapd/slapi-plugin.h
+++ b/ldap/servers/slapd/slapi-plugin.h
@@ -470,6 +470,8 @@ int slapi_value_compare(const Slapi_Attr *a,const Slapi_Value *v1,const Slapi_Va
#define SLAPI_VALUE_FLAG_PASSIN 0x1
#define SLAPI_VALUE_FLAG_IGNOREERROR 0x2
#define SLAPI_VALUE_FLAG_PRESERVECSNSET 0x4
+#define SLAPI_VALUE_FLAG_USENEWVALUE 0x8 /* see valueset_remove_valuearray */
+
Slapi_ValueSet *slapi_valueset_new( void );
void slapi_valueset_free(Slapi_ValueSet *vs);
void slapi_valueset_init(Slapi_ValueSet *vs);