Bug 591313 - plug-ins can't use slapi_modify_internal_set_pb() on read-only replica
plug-ins can't use slapi_modify_internal_set_pb() on read-only replica
Status: CLOSED CURRENTRELEASE
Product: 389
Classification: Community
Component: Directory Server (Show other bugs)
1.2.7
All All
medium Severity medium
: ---
: ---
Assigned To: Rich Megginson
Viktor Ashirov
:
Depends On:
Blocks: 389_1.2.7 590062 639035
  Show dependency treegraph
 
Reported: 2010-05-11 16:51 EDT by Ulf Weltman
Modified: 2015-12-07 12:18 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-12-07 12:18:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch proposal (2.51 KB, patch)
2010-05-11 16:54 EDT, Ulf Weltman
no flags Details | Diff

  None (edit)
Description Ulf Weltman 2010-05-11 16:51:36 EDT
It would be handy if plug-ins were able to perform internal updates on read-only updates, for example to maintain local state in users.  Password policy cheats by being hardcoded to be allowed to write for example passwordretryCount to entries when they fail authentication.
Comment 1 Ulf Weltman 2010-05-11 16:54:38 EDT
Created attachment 413259 [details]
patch proposal

Adds SLAPI_OP_FLAG_BYPASS_REFERRALS flag to tell the mapping tree code to allow updates on "refer-on-update" backend.
Comment 2 Rich Megginson 2010-10-04 11:34:19 EDT
commit 32e2b04dd1d98d96d90fdfaa3841524b3003dcdb
Author: Rich Megginson <rmeggins@redhat.com>
Date:   Fri Sep 17 08:18:29 2010 -0600

    add the account policy plugin and related server code, schema, and config
Comment 4 Amita Sharma 2011-06-13 07:37:38 EDT
Do I need to test the values of the plugin attributes should get modified on the read only replicas? Please confirm with the steps.
Comment 5 Rich Megginson 2011-06-13 16:16:08 EDT
I think you would have to set up replication with a master and a read-only replica and attempt to use account policy on the read-only replica.
Comment 6 Amita Sharma 2011-09-14 06:04:53 EDT
I am able to set password policy on a read only replica successfully.
Hence marking this as VERIFIED.

Note You need to log in before you can comment on or make changes to this bug.