How to unlock account on read only replica (DS 5.2 p4)

We are planning to turn on password policy to lock account after user failed to provide correct password after n times and the account will be lock forever unless administrator is to reset the password retry count.
We implemented password policy with role and cos so that the policy only imposed on end users but not administrators. The password policy works fine.
We understand that for DS 5.2 p.4, the password retry count is per instance, so the account lock is per instance. The problem we now encountered is at account unlock. We developed a function to reset the password retry count in order to unlock the account. It works fine in our test env. However, in production, we have 2 masters and 4 replicas and our replicas are all read only, all update is referred to the 2 masters. Now, when we update the master setting 0 to the password retry count, the reset is not populated to the replicas and when we try update the replica directly, the update get referred to the master and hence the attribute on the replica remains the same.
Is there a way to unlock the account that got locked at the read only replica?

As I recalled the way to unlock an account is to reset password using admin account. I think Ludovic once mentioned that in one of his post.
If I were right here in this point, you should reset password which will be replicated to your read-only account and reset the counter to be 0.
BTW, just found Ludovic's original post link:
http://forum.java.sun.com/thread.jspa?forumID=761&threadID=5159009
Message was edited by sun_iplanet
sun_iplanet
Message was edited by sun_iplanet
sun_iplanet

Similar Messages

  • How to unlock a locked read-only .txt

    On my Macbook Pro I'm trying to edit a .txt file inside a device/external hard drive(it's under the Devices tab in finder) I've tried get info, looked under general and the Locked box was unchecked, I looked under Sharing & Permissions and under Privilege it says Read & Write by my name, but it also says You can only read under the tab. I open the .txt file and I click the unlock option, and a message comes up and says: The file "Plugins.txt" is on a read-only volume and cannot be unlocked. Is there any way I can fix this to edit the file?

    If you can highlight and copy the text, just paste it elsewhere.
    If you command shift 4 and draw a marquee around the text and click, it make png image file on the desktop, which you can use Preview to change it to jpg.
    There are free optical character reader softwares over at MacUpdate.com that then can convert the image text into regular plain ASCII text to paste into any program you please.
    Since your running 10.8, you first have to System Preferences > Security > set downloads to "Anywhere" to accept software from sources you trust.
    You can try opening the file with the free TextWrangler, or saving the above text into a the same named file with same extension.

  • How to right align a read only numeric field in a panel form layout

    Hi, does anyone know how to right align a read only numeric field in a panel form layout? I am using: Style Class = AFFieldNumberMarker, but it only seems to work if the field is disabled. Disabling the field gives it a difference appearance that does not look right on our forms. These are calculated fields, which cannot be modified, so read only is necessary.
    I have looked online for some answers, and it seems that others are having similar issues.
    I have tried different combinations for the properties, but so far I cannot get it to work.
    Thanks
    Judy
    I am using JDEV 11.1.1.5

    Sorry for the delay in my response. Here is the code
    <af:inputText value="#{bindings.TotalAirlineCostEst.inputValue}"
    label="#{bindings.TotalAirlineCostEst.hints.label}"
    required="#{bindings.TotalAirlineCostEst.hints.mandatory}"
    columns="#{bindings.TotalAirlineCostEst.hints.displayWidth}"
    maximumLength="#{bindings.TotalAirlineCostEst.hints.precision}"
    shortDesc="#{bindings.TotalAirlineCostEst.hints.tooltip}"
    id="it20" readOnly="false"
    disabled="true"
    styleClass="AFFieldNumberMarker">
    <f:validator binding="#{bindings.TotalAirlineCostEst.validator}"/>
    <af:convertNumber groupingUsed="true"
    pattern="#{bindings.TotalAirlineCostEst.format}"
    type="number"
    maxFractionDigits="0"/>
    </af:inputText>
    thank you,
    Judy

  • How do I convert a read only word doc to a read only pdf file?

    How do I convert a read only word doc to a read only pdf file?
    Thanks, Linda

    Hi Linda,
    I just tried it, and was able to convert a Word .doc to to PDF, in spite of the fact that it was marked Read Only. Here are the instructions for uploading and converting to PDF with Acrobat.com:
    http://help.adobe.com/en_US/Acrobat.com/Acrobat/WS396AAA88-4AA4-4a40-87B8-004A5DC1E131.htm l
    Kind Regards,
    Michelle

  • Linked Server from SQL 2008 to Connect to 2012 read only replica never works

    I have two Production Database Servers
    1. SQLServer2008 (2 Nodes Cluster)
    2. SQLServer2012 with 2 read only replica (3 Nodes Cluster)
    I would like to draw a line here, We have routing table and URL working perfectly fine. 
    We have tested LINKED Server from 2012 Box to production Server by Specifying APPLICATIONINTENT = ReadOnly; it works perfectly fine, the routing is being used.
    When we create linked server from SQL Server 2008 Box (Please note we have installed SQL Server 2012 Client tools on this box and Restarted the Servers) using the below script
    USE [master]
    EXEC master.dbo.sp_dropserver @server=N'AGL1', @droplogins='droplogins'
    GO
    EXEC master.dbo.sp_addlinkedserver @server = N'AGL1'
    ,@datasrc='AGL1'
    ,@provider='SQLNCLI11'
    ,@provstr='ApplicationIntent=ReadOnly;Database=AdventureWorks2012'
    Linked Server is created, Now when I run the Query 
    exec ('select @@servername') at AGL1
    It always brings the Primary READ/WRITE node name only, after lots of research I found that, this linked Server is always using SQL Native Client 10.0 only, even after creating Linked Server using SNC 11, That is the reason it is not going to routing
    table. Its always connecting to Primary node.
    Below is the way I found it, on 2012 Production Server I executed below Query
    SELECT session_id, protocol_type, driver_version = 
    CASE SUBSTRING(CAST(protocol_version AS BINARY(4)), 1,1)
    WHEN 0x70 THEN 'SQL Server 7.0'
    WHEN 0x71 THEN 'SQL Server 2000'
    WHEN 0x72 THEN 'SQL Server 2005'
    WHEN 0x73 THEN 'SQL Server 2008'
    ELSE 'SQL Server 2012' 
    END,client_net_address ,client_tcp_port,local_tcp_port ,T.text
    FROM sys.dm_exec_connections
    CROSS APPLY sys.dm_exec_sql_text(most_recent_sql_handle) AS T
    The help is taken from msdn (Link Provided below) for the above Query
    https://msdn.microsoft.com/en-us/library/dd339982.aspx
    and I found it always uses SQL Server 2008 SNC.
    My Question is, is there a way to force SQL Server to use SQL Server Native Client 11.
    Has anyone tried this setup?
    Thank you in advance.

    Unfortunately no, there is no other way of forcing it without restart. The SQL Server stack has no idea of the existing Native Client as it booted prior its installation. And you cannot force "DLL reload" without proper service restart. 
    Ivan Donev MCT and MCSE Data Platform

  • When users authenticate to read-only replica [ Identity synchronization]

    Hello,
    I have 2 sites: F and L. each site has a AD and LDAP. AD are replicated. LDAP are also replicated. Each one is the slave of the other. Idsync is installed on each site too.
    All users servers are located in F. so when a user authenticates for the 1st time or after password change, he will challenge LDAP in F and this one is read-only (slave). The user will get invalid password
    Whereas if I do for example ldapsearch + authentication on LDAP in L (this can't be done for users), the windows password gets updated in LDAP in L then LDAP in F (since F is a slave).
    do you a solution for that?
    thx

    hi,
    the replication is working between master and consumer:
    If I change an attribute in ldap A for a user in site A, the attribute is replicated to ldap in site B.
    If I change an attribute in ldap B for a user in site B, the attribute is replicated to ldap in site A.
    If I change an attribute in ldap A for a user in site B, I get an error that this is a read-only replica. OK.
    If I change an attribute in ldap B for a user in site A, I get an error that this is a read-only replica. OK.
    The password is getting updated in the consumer following a password change on the master.
    Where is the problem then? When a user in site A wants to change his password, his password is updated only in AD. ldap in site A (and IdSync) will not be aware of this change since the user in site A will login to servers (ldap clients) in site B and those servers are configured with ldap in site B. the ldap in site B is a slave for the subtree of users in site A. It stores then the password that is in ldap site A i.e. an invalid password.
    I imagine a solution where servers (ldap clients) are configured with both ldap servers so that if a user from site A logins, the ldap client challenges the ldap server in site A. is this feasible?
    any other solution?
    thank you,

  • SQL Server 2012 - Wat Is The Best Solution For Creating a Read Only Replicated/AlwaysOn Database

    Hi there I was wondering if someone may have a best recommendation for the following requirement I have with regards setting up a third database server for reporting?
    Current Setup
    SQL Server 2012 Enterprise setup at two sites (Site A & Site B).
    Configured to use AlwaysOn Availability groups for HA and DR.
    Installed on Windows 2012 Servers.
    This is all working and failover works fine and no issues. So…
    Requirement
    A third server needs to be added for the purpose of reporting, to be located on another site (Site C) possibly in another domain. This server needs to have a replicated read only copy of the live database from site A or Site B, whichever is in use. The Site
    C reporting database should be as up-to-date to the Site A or Site B database as possible – preferably within a few seconds anyway….
    Solution - What I believe are available to me
    I believe I can use AlwaysOn and create a ReadOnly replica for the Site C. If so do I assume Site C needs to have the Enterprise version of SQL server i.e. to match Site A & Site B?
    Using log shipping which if I am correct means the Site C does not need to be an Enterprise version.
    Any help on the best solution for this would be greatly appreciated.
    Thanks, Steve

    for always on - all nodes should be part of one windows cluster..if there site C is on different domain - I do not think it works.
    Logshipping works --as long as the sql on site C is is same or higher version(sql 2012 or above).  you can only do read only.
    IMHo, if you can make site C in the same domain then, Always is better solution else log shipping
    also, if your database has enterprise level features such as - partitonin, data compression -- you cannot restore the database on lower editions- so you need to have enterprise edition.
    Hope it Helps!!

  • How to make form as read only when another time as  user sees it..

    Hi All,
    I have a form to raise the issue. once the issue is raised it appears in the issue raised reports( that is form on a report )
    so all can view this report and click on issue no ..the form with details appear .
    but i want to restrict it , by allowing only one up manager to view the form on a report in editable format rest all can just view it .
    how can i do this?????????
    can any one help me with this ????..
    my approach is like this ...
    a column called "checked shud be added to issue table , then its values must be set to "raised" when issue is submitted for the very first time..( so it is zero when the end user is submitting it ).
    when ( the logged in user =1 up manager or checked!="raised") then
    form fields to be displayed as edited
    else
    form fields need to be read only .
    Thanks & Regards,
    Nandini Thakur.
    Edited by: Nandini thakur on Jun 26, 2010 12:04 PM

    Nandini,
    If you edit any item, you can see a section where you can specify "Read-Only" condition. Here you can write your read-only logic using SQL OR PL/SQL or predefined conditions.
    Cheers,
    Hari

  • How Do I:  Fill a read-only field based on selections from 2 DDlists?

    Follow-up from issue:  
    http://forums.adobe.com/message/2417876#2417876
    I have 2 drop-down lists...  "Department" and "SubDepartment"
    The selection in DDlist "Department" spawns a unique list in DDlist "SubDepartment"
    I select the proper items from both DDlists.
    When I do this, I want read-only text field "NameOnIDBadge" to be populated with a pre-defined entry.
    Example:
    In "Department" DDlist, select item "Finance & Administration"
    In "SubDepartment" DDlist, select item "Food Service" from the list that appears
    THEN:
    In read-only text field "NameOnIDBadge" the following predefined read-only text appears:  "Contract Food Serv."
    (Thanks to Paul, I already know how to make the selection in DDlist "Department"  affect the selection list in DDlist "SubDepartment"
    but I don't know how to make the selection of both DDlists create a new pre-defined entry in a text field.)
    I have attached a mockup of the file I am working with...

    I tried that but a few things went wrong.
    1. After I select "Food Service" in the second "SubDepartment" DDlist, a Javascript error message pops up (see attached), and I have to click it to make it go away.  Then the text "Contract Food Serv" appears in the text box.
    2. If I select a different value in the Department DDlist, the rawtext still remains in place... it should clear out.
    3. The raw text seems to be based on the selection of the SubDepartment DDlist only.  However, I need specific raw text to be generated based on the combination of BOTH DDlists.   (It could happen that a totally different Department DDlist could have the same item in its corresponding SubDepartment DDlist.  In that case, the rawtext would be completely different.)
    Correct example:
    Department DDlist = Finance & Administration
    SubDepartment DDlist = Food Service
    NameOnIDBadge = Contract Food Serv  <-- CORRECT
    Incorrect example:
    Department DDlist = Clinical Services
    SubDepartment DDlist = Food Service
    NameOnIDBadge = Contract Food Serv   <--  INCORRECT   (it might be something else)

  • HOW TO MAKE FIELDS AS READ ONLY IN TABLE MAINTAINANCE

    HI ABAPers,
    HOW TO MAKE SOME FIELDS AS DISPLAY MODE.
    FOR SUPPOSE, THERE ARE 5 FIELDS in SM30.
    AMONG THEM 1 FIELD SHUD BE USED FOR EDITING AND THE OTHER 4 FIELDS SHUD ONLY BE USED FOR DISPLAY PURPOSE
    WHEN EVER I ENTER A VALUE IN THAT 1 PARTICULAR FIELD THEN THE DATA OF THE REMAINING 4 FIELDS SHUD BE DISPLAYED IN THE SAME SCREEN ITSELF.
    HOW CAN IT BE POSSIBLE...
    PLZ HELP.
    THNX IN ADV,
    SP.

    Hello SP,
    You can create a maintenance view for the table & here you can define the maintenance attribute for individual fields.
    For the fields you want to be READ-ONLY pass 'R' to those fields. (It is the 4th column from the left, the one to the immediate left of the Key column).
    Don't change the TMG function group directly. If you regenerate the TMG the changes would be overwritten !
    You can use the Event '01' to fulfill your requirement:
    *&      Form  f_event_01
    *       text
    FORM f_event_01.
      DATA: v_indx TYPE sy-index,
            v_land1 TYPE land1,
            v_name1 TYPE name1.
      FIELD-SYMBOLS: <vendor> TYPE lifnr,
                     <val> TYPE ANY.
      BREAK-POINT.
      "TOTAL contains all data which are read, changed and created in TMG
      LOOP AT total.
        IF <action> = neuer_eintrag " New Entry.
        OR <action> = aendern "Changed entry
        OR <action> = original. "Same as DB
          READ TABLE extract WITH KEY <vim_xtotal_key>.
          IF sy-subrc = 0.
            v_indx = sy-tabix.
          ELSE.
            CLEAR v_indx.
          ENDIF.
          ASSIGN COMPONENT 'LIFNR' OF STRUCTURE total TO <vendor>.
          CHECK sy-subrc = 0.
    *     select data from the LFA1 based on LIFNR
          SELECT SINGLE name1 land1 FROM lfa1
            INTO (v_name1,v_land1)
            WHERE lifnr = <vendor>.
          CHECK sy-subrc = 0.
    *     Populate the hidden fields NAME1 & LAND1
          ASSIGN COMPONENT 'NAME1' OF STRUCTURE total TO <val>.
          CHECK sy-subrc = 0.
          <val> = v_name1.
          ASSIGN COMPONENT 'LAND1' OF STRUCTURE total TO <val>.
          CHECK sy-subrc = 0.
          <val> = v_land1.
          MODIFY total.
          CHECK v_indx GT 0.
          extract = total. "Pass the changes in TOTAL to EXTRACT
          MODIFY extract INDEX v_indx.
        ENDIF.
      ENDLOOP.
      sy-subrc = 0.
    ENDFORM.                                                    "f_event_01
    BR,
    Suhas
    Edited by: Suhas Saha on Aug 16, 2010 11:58 AM

  • How to load data into read only cells in HFM?

    Can any one help me in loading data into Read only cells in HFM?. I am trying to lad data into a read only cell using data load file and i m getting the below error.
    NB: I need the "UseLineItem Details" to be enabled.I shud be able to submit the data thoudh the "UseLineItem Details" property of the account member is enabled
    Data load File
    !Column_Order = Scenario, Year, Period, View, Entity, Value, Account, ICP, Custom1, Custom2, Custom3, Custom4
    !DATA
    Actual; 2013; January; Periodic; NZ; NZD; 141100; [ICP None]; [None]; [None]; [None]; [None]; 10000
    Error Received
    Line: 4, Error: Cell for Period January is not an input cell.
    Actual; 2013; January; Periodic; NZ; NZD; 141100; [ICP None]; [None]; [None]; [None]; [None]; 10000
    >>>>>>
    Can any one please help me ....

    Hi,
    Example: Assume that you have Travel Account#141100
    Now you have below information
    Travel Expenses $30,000
    Food Expenses $50,000
    Hotel expenses$20,000
    To enter this details normally you will create additional 3 accounts(1.TravelExpenses 2.FoodExpenses 3.HotelExpenses) under Travel Account#141100
    Using lineItem Details No need to create additional accounts. you can show the detailed information in a single cell(Single Account).
    To do this
    1.Create a New datagrid in workspace
    2.Right-click and select Cell Line Item Detail on Account#141100 (which is enabled line item details)
    3.Click on add button then provide the description and Enter the amount then press enter.
    1)Travel Expenses $30,000
    2)Food Expenses $50,000
    3)Hotel expenses$20,000
    4.Total $100,000 will be shown in Account#141100
    (If you want to see the detailed information just Right-click and select Cell Line Item Detail on Account#141100)
    To get clear understanding please go through the HFM Admin guide.
    Regards
    Sarilla

  • DSplugin psw on read-only replica

    I am running a Directory Server 6.3 which is a master to 2 read-only consumers (one is DS 6.3, one is DS 5.2). Replication is working to both consumers.
    On the master server, I have ISW for Windows 6.0.
    I am able to sync passwords from AD to the master DS. That is working fine. When a user changes their password in AD; then authenticates against the master DS server, the new password is pulled from AD.
    I am having trouble when a password is changed on AD and the user tries to authenticate to the read-only replia. They get an Authentication error. I think I have the DS plugin installed on both of my read-only servers. I can not figure out why they won't send the request to the master server to get the password from AD. pswvalidate does get set to True.
    My master server has 2 interfaces (master-if1 and master-if2) and the 6.3 readonly replica can only reach master-if2.
    # ./idsync printstat -D "cn=Directory Manager" -w secret -s dc=mycompany,dc=org -q anothersecret
    Exploring status of connectors, please wait...
    Connector ID: CNN100
    Type: Sun Java(TM) System Directory
    Manages: dc=mycompany,dc=org (ldap://master-if1.mycompany.org:389) (ldap://master-if2.mycompany.org:389)
    State: SYNCING
    Installed on: master-if.mycompany.org
    Plugin SUBC100 is installed on ldap://master-if1.mycompany.org:389
    Plugin SUBC101 is installed on ldap://consumer6.3.mycompany.org:389
    Connector ID: CNN101
    Type: Active Directory
    Manages: mcnc.org (ldap://ad1.mycompany.org:389) (ldap://ad2.mycompany.org:389)
    State: SYNCING
    Installed on: master.mycompany.org
    Sun Java(TM) System Message Queue Status: Started
    Checking the System Manager status over the Sun Java(TM) System Message Queue.
    System Manager Status: Started
    SUCCESS
    I see no errors in any log files I can find. I can provide more information if needed.
    Thanks, Carole

    Is there any experience in an environment with a master DS (6.3) server, read-only consumer servers and Identity Synchronization for Windows?
    I am not able to get authentication queries to my ro consumers to poll the master DS which in turns pulls the new password from AD.
    Thanks, Carole

  • How to make form field read only for users with certain permissions

    We need to make two form fields read only for users with certain permissions. Kindly guide me on how to do this in Infopath. I searched and there is an option to disable to the column, but no option to select user permissions. 
    Please give your suggestion on this. 
    thanks.

    Hi,
    See the link below:
    http://info.akgroup.com/blog-0/bid/69277/InfoPath-Restrict-visibility-to-users-in-a-SharePoint-Group
    Here you can add the fomatting action on the field to disable the field if those users belong to certain Sharepoint group (does not matter the permission levels though). Hope it helps.
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

  • How to make Select List Read only (Keep key Data)

    I'd like to make a select list read only when the screen is in maintenance mode because the select list value is part of the key.
    However, when I make the select list read only, the update fails because it appears making it disable lose's it's value.
    How can I make a select list read only and keep it's value for update.

    In HTML Header I have
    <script type="text/javascript">
    function Disable_List(pthis,hideitem)
    if ($x(hideitem).value == 'Y')
    {   $x(pthis).disabled = "disabled";
    </script>
    <script type="text/javascript">
    function Load_Start()
    Disable_Item('P5_SUBCODE','P5_XW_HAS_VALUE');
    Disable_List('P5_LTY','P5_XW_HAS_VALUE');
    </script>
    When I click apply changes, my Validation check that doesn't allow nulls in the "P5_LTY" fires saying the field can't be null. The select list is grayed out and I see the value, but the validation check thinks it's null.
    Edited by: spuchc on Jun 15, 2010 8:03 AM

  • How to monitor performance in Read Only data base

    Hi,
    We have a read only database that is using us to run reports against it.
    1. How can i monitor performance in this read Only database ?
    If i cant run statspack , how can i know what happened last hour for example
    in the database ?
    2. I use the glance utility to monitor the OS.
    I see that the Disk Utilization is 100% and the swap is 80%.
    Any suggestion what to do ?
    Thanks

    Hi,
    Since the database is read only its cant be done:
    clone SYS@pcrm > @spcreate.sql
    ... Installing Required Packages
    create or replace package dbms_shared_pool is
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-16000: database open for read-only access
    Thanks.

Maybe you are looking for