diff options
| author | Nathan Kinder <nkinder@redhat.com> | 2010-04-08 15:55:29 -0700 |
|---|---|---|
| committer | Nathan Kinder <nkinder@redhat.com> | 2010-04-09 07:49:03 -0700 |
| commit | c53b8b31c8655d8b387c4b213caee885778c3872 (patch) | |
| tree | 67813a4f60b725162ac86f4aa9d4675af19365a0 /ldap/admin/src/scripts | |
| parent | b433e4c852a2ef78558dffc1ccbaf464c1186934 (diff) | |
| download | ds-c53b8b31c8655d8b387c4b213caee885778c3872.tar.gz ds-c53b8b31c8655d8b387c4b213caee885778c3872.tar.xz ds-c53b8b31c8655d8b387c4b213caee885778c3872.zip | |
Bug 578863 - Password modify extop needs to send referrals on replicas
The password modify extended operation was modifying the local database
on a read-only replica instead of returning a referral. The server is
designed to let the plugin ID used for updating password retry info make
local updates instead of returning a referral. This plugin ID was being
used by the password extop code, which it should not be doing.
The second issue is that we need to check if a referral needs to be sent
as early as possible when processing the extop request. We don't want
to reject the change if an entry does not exist before checking if a
referral is necessary since the server we refer to may have the target
entry present. This required adding a new helper function that allows
one to see if a write operation to a particular DN would require a
referral to be sent. The password modify extop code leverages this new
function to get the referrals and return them to the client if necessary.
Diffstat (limited to 'ldap/admin/src/scripts')
0 files changed, 0 insertions, 0 deletions
