diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2010-01-28 10:36:40 -0800 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-01-28 10:36:40 -0800 |
commit | 246527f4c01d32289e0082083d364563af59635a (patch) | |
tree | a317f382dd6cb8177f176532bc88455605ea8c5c /ldap/servers/slapd/mapping_tree.c | |
parent | 3fdcbddd6c4939954e3393f78ded57cd253fa764 (diff) | |
download | ds-246527f4c01d32289e0082083d364563af59635a.tar.gz ds-246527f4c01d32289e0082083d364563af59635a.tar.xz ds-246527f4c01d32289e0082083d364563af59635a.zip |
247413 - Incorrect error on multiple identical value add
https://bugzilla.redhat.com/show_bug.cgi?id=247413
[Problem Description] Adding multiple identical values returns
"Operations error (LDAP_OPERATIONS_ERROR == 0x1)" instead of
"Type or value exists (LDAP_TYPE_OR_VALUE_EXISTS == 0x14)"
E.g.,
dn: ou=test,dc=example,dc=com
changetype: modify
replace: description
description: test
description: test
modifying entry "ou=test,dc=example,dc=com"
ldap_modify: Operations error (1)
[Fix Description] API valueset_replace used to override any
error from the lower layer with LDAP_OPERATIONS_ERROR. If
the error is LDAP_TYPE_OR_VALUE_EXISTS, the error is now
returned as is.
Diffstat (limited to 'ldap/servers/slapd/mapping_tree.c')
0 files changed, 0 insertions, 0 deletions