locked user is still able to connect

Hello world!

I create users for my application manually inside the application. I have a lock_user process, that is executed when the user clicks on a button and it must lock the user into the form on the page so it cannot connect to the app more. It seems to work, because in "managing users and groups" - section, the user is locked. In any case, the user CAN still access my application. I use the default login page.

This is the code of my approach:

BEGIN

UPDATE user
SET batch = '0'
WHERE user_id =: P45_user_ID;

APEX_UTIL. LOCK_ACCOUNT (p_user_name = > upper (:P45_USERNAME));)
commit;
END;

The update of the user to the table is just for information, I do not use the connection table. What might have gone wrong? Solutions, tips or advice are appreciated!

-Friday-

Published by: 943770 on the 30.06.2012 03:01

Hi 943770,

have you checked the setting "Account of Expiration and locking" (as an admin workspace go to Administration-> Service manage-> Set Workspace Preferences) or
the parameter "require the user account Expiration and locking" (as long as an administrator of the instance go to manage Instance-> Security-> Login control workspace) if one of those is enabled?

Help text for "Account Expiration and locking":

Make a selection to determine whether the end user Application Express accounts can be expired or locked.
This feature applies only to the user accounts created using the user Application Express management interface. Available options include:
Enable
Disable
This function provides additional authentication for applications security. If you select Enable, user account passwords expire after a configurable time period,
accounts will be locked after a number of configurable authentication failures, and passwords can be configured to expire after the first use.
If the Application Express Administrator for this installation set Expiration account user require setting environment and lock Yes, this means that the function must be
allowed for all the workspaces and the element display turn on and cannot be changed by the administrator of the workspace.

Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Tags: Database

Similar Questions

  • Renamed user AD not able to connect

    Hi guys

    I have a problem with a user with access to vFoglight through LDAP authentication. The user was renamed to AD. (name changed)

    After the name change, the user is not able to connect.

    In the audit trail, the user is first OK authenticated, and then in the same second there is a connection FAILURE.

    I tried to remove the user from the vFoglight, wait for a while and then try to connect again.

    I checked on the AD domain controller, and the user is authenticated OK

    What is a SQL question?

    Any ideas?

    Hi, Lars

    I hope you get a solution to your problem, but someone else might have the same problem,.

    I will be the top my solution to the problem that just had.

    We are in a process to rename all connections of users I have AD...

    And once a connection of users has been renamed to AD, the user could not log on.

    With no errors in the journal errror FMS or on our advertising servers.

    New users was created in correct Foglight, but when the user tried to log on, but still had a connection error.

    I found a solution that works for us.

    I found that when I turned on debugging on FMS, I got this error message in the error log:

    Cannot insert duplicate in the "dbo.sec_user_alias" object key The duplicate key value is (Michael dry).

    We run the Foglight database on a Microsoft SQL Server, so I looked in the sec_user_alias of the table,

    and even that I had deleted the former user in Foglight, the login name and the username was still in this table:

    userAlias username isdeleted

    str_xxx Michael dry F

    So I just update the table of user with this name:

    UPDATE sec_user_alias

    SET username = 'Michael dry - old'

    WHERE useralias = "str_xxx."

    and then I could connect with the new login user name,

    but all the settings for this user and config disappeared...

    And as I have not talked with Quest/Dell about this, I don't know if this is allowed to do.

    and I don't take any responsibility that it will work in your configuration.

    Best regards.

    Michael

    Update: I found this: Knowledge Article 85132 - 'LDAP user cannot connect after LDAP name changed"- https://support.quest.com/SolutionDetail.aspx?id=SOL85132

    Post edited by: Michael dry

  • Not able to connect to VCAC 6.0

    Hello

    One of the user is not able to connect to the VCAC 6.0 user interface and I'm not able to find or locate any abnormal behavior in Catalina.out of SSO and VCAC device logs.

    It is: user login on the portal using their credentials AD with tenant administrator privileges, the login process creates a token for the connection and returns a valid message but the user is not able to connect because there again to get the login page that actually shows any sort of error However, if he tries to put a random password, Which launches the error message "user name or password invalid.

    When I tried connecting on the portal of his computer even, I could able to connect, and when he also tries to connect to the portal by using my computer, the connection behavior is the same (i.e. to process credentials and then reload the login page).

    I don't know that I'm not able to reach a place where I could get the log of the error or cause the issue, but I need your expert help to understand.

    Need your help! Thanks in advance

    BR,

    MG

    The issue proved to be with LDAP, where user is a member of a group that has the flight of white space and prevent the user to log on. It is a little wired, why the hack vCAC is looking in the LDAP user attributes and then enumerate in a log file... just for free!

    However, setting the group by removing trailing white space, the user is Happy all so I am...

    BR,

    MG

  • Cannot able to connect in fdm

    We (all users) are not able to connect in the FDM. The user have full access (FDM admin). We get the message "authentication of security failure. I restarted IIS and Services not yet no luck. Peuvent some please help?

    Thank you
    Ministry of health

    Published by: user10926115 on May 24, 2013 11:32

    I noticed there is no record for the administrator account in the tSecUser and tSecUserPartition tables and I was able to confirm through the user interface, the admin account was not in the list of users of FDM. I reapplied the FDM provision for the SSP administrator account and was then able to login using the admin account

    Thank you

    MB

  • Discoverer user not be able to see all records

    Hi all,

    We have a user who is able to connect with Discoverer Plus, able to create a new workbook, but go to the next step (STEP 2) unable to see all the folders/lists in the business district.


    Y at - it a profile option or addiitional configurations I need to do to have the user see the business district.

    Any help would be greatly appreciated.

    I think that the Admin of Disco will grant access to the bottom for this user.

    HTH
    Srini

  • I am not able to connect on my user profile.

    I am not able to connect to my user profile.  I'm the account administrator.  My password does not work or I can not recall.  I read a lot about other people having similar problems, and most of the advice given to them is not really easy to understand.  It seems that the person must jump through a bunch of hoops just to solve a problem that happens sporadically for no apparent reason a lot of people.  I had this problem before, except that all my accounts could not be consulted and spent a lot of money to get it repaired.  Now, four months later, cannot access my main account, and the other two accounts don't change anything because they are not the main account.  What can we do to prevent that from happening.  You should not have more than one account as your main account for just because you know you need to because you know it will happen again, no matter what you do?

    Hello

    Maybe this will help you:

    You can try to fix it with Safe Mode - repeatedly press F8 as you bootup.

    Some programs such as the Google Updater (if you added the toolbar Google, Chrome or Google Earth) has been
    known to cause this problem.

    How to fix error "the user profile Service has no logon. User profile cannot be loaded. »
    http://www.Vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html

    How to fix error "your user profile was not loaded correctly! You have been logged on with a temporary
    Profile. "in Vista
    http://www.Vistax64.com/tutorials/135858-user-profile-error-logged-temporary-profile.html

    BE VERY CAREFUL IF YOU USE THIS ONE:

    DO NOT USE THE ACCOUNT HIDDEN ON A DAILY BASIS! If it corrrups you are TOAST.

    How to enable or disable the real built-in Administrator account in Vista
    http://www.Vistax64.com/tutorials/67567-administrator-account.html

    Use the hidden administrator account to lower your user account APPLY / OK and then lift it to ADMIN.
    This allows clear of corruption. Do the same for other accounts if necessary after following the above message.

    You can use the hidden - administrator account to make another account as an ADMINISTRATOR with the same password (or
    two with the same password) use to test or difficulty of the other.

    You can run the Admin account hidden from the prompt by if necessary.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    If you cannot access your old account, you can still use an Admin to migrate to another (do not forget to always
    not that an Admin account that is not used except for testing and difficulty).

    Difficulty of a corrupted user profile
    http://windowshelp.Microsoft.com/Windows/en-AU/help/769495bf-035C-4764-A538-c9b05c22001e1033.mspx

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Not able to connect to the user account, error: user profile Service has no logon

    I'm on a HP Pavilion dv7 with Windows 7.  I created a user account for my wife but she cannot open a session because of the messages "the user profile Service has no logon.  User profile cannot be loaded. »

    Where and how can I fix it?

    Thank you.

    Larry

    Original title: need help with setting up an account

    Hi Larry,
    Thanks for posting your query in Microsoft Community.

    From your description, it seems that you are not able to connect to the user account when you try to connect you get following error. The user profile Service has no logon

    This behavior can occur if the user profile was deleted manually using the command prompt or by using Windows Explorer. A profile that is manually deleted does not remove the security identifier (SID) of the list of profiles in the registry.

    If the SID is present, Windows will try to load the profile using the profile Image path that points to a nonexistent path. Therefore, the profile cannot be loaded.

    To resolve the problem with the user account, you can follow these steps:
    Method 1:
    (a) click Start, type regedit in the start search box, and then press ENTER.
    (b) search for, and then expand the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

    (c) right click the SID that you want to remove, and then click on remove.
    (d) log on to the computer and create a new profile.
    You can also check this link:
    Error message when you log a computer Windows Vista-based or Windows 7 by using a temporary profile: "the user profile Service has no logon. Unable to load the user profile.
    http://support.Microsoft.com/kb/947215

    Important: The above section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    Method 2: Also, see the steps in the following Microsoft article:

    (a) error message when you log a computer Windows Vista-based or Windows 7 by using a temporary profile: "the user profile Service has no logon. Unable to load the user profile.
    http://support.Microsoft.com/kb/947215

    Note: We strongly advise against making it the standard way to remove the user profiles on computers. Documented and supported approach is using the system advanced settings in the system, "Profiles" settings properties For programs, it is available using the API 'delete profile '.

    If the SID is present, Windows will try to load the profile using the profile Image path that points to a nonexistent path. Therefore, the profile cannot be loaded.

    (b) how to back up and restore the registry in Windows
    Back up the registry
    http://Windows.Microsoft.com/en-us/Windows7/back-up-the-registry

    (c) IF you still have the problem then you can follow the link provided below to fix the damaged user profile.
    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

    For any Windows help in the future, feel free to contact us and we will be happy to help you.

  • How to add users are able to connect and use Orchestrator?

    I'm confused how to add additional users to connect to the VCO client.  I use the last card of the VCO from VMware vCenter 5.5 b and have a SSO work Setup and configured for the VCO to use.  I add new users to the SSO administration console in vCenter, or do I connect on the VCO client and add?  I tried this last... I added a domain group and gave him all the rights except ADMIN, but still no member of this group can connect.  Then I read something about "Permissions" setting, so I install one using the same group of ads, but it still does not work.  I then read a forum announces that permissions are no longer needed/used (but still are available for Setup in the interface?) - so I am totally confused.

    I am able to log in as myself--I guess it's because when I install VCO, I used a group that I am for the parameter "VCO Admins.

    Another thing - in the region where I added the group, I couldn't browse user accounts - only groups in our AD domain.  What's supposed to be like that?  Only allow groups?  I've been a homepage, the permissions tab and clicked on the button "Add access rights...". ».  It brings up a browser window and I can see all our ad groups - but not users.  I added a group and had then a user test attempt to connect, but he tells them that they are not allowed (error 002).

    Any help is appreciated.

    NK

    The only way I could get this to work is to create a new group and assign this group to VCO "Admins" in the Configuration Orchestrator "Authentication" screen and restart the device.  All users in this group can open a session - but obviously they now have Admin rights too in all areas.  No matter what I tried in the "Permissions" of the client Java Orchestrator section, I could not any user in a group, which I have added to the permissions to be able to connect.  So I guess it's to FULL admin or anything to do with this tool in our environment.

  • How to make a user able to connect only once? and how do I restrict a user authorized to vote only 15 candidates and the brand of vote count?

    Hello

    I'm just doing my project which is the voting system. So my first question is how to make a user or a voter can connect once only using their username and password? After that they brought their vote, they can not be able to connect to a vote. Here, the user name, I replace it with IC and the password I can replace the ID (student ID). Here is my code for the connection:

    <?php
    if(isset($_POST["submit"])){
    $user=$_POST['IC'];
    $pass=$_POST['ID'];
    
    
    $con=mysql_connect('localhost','root','pass') or die(mysql_error());
    mysql_select_db('ses') or die("Cannot select DataBase");
    
    
    $query=mysql_query("SELECT * FROM voters WHERE IC='".$user."' AND ID='".$pass."'" );
    $numrows=mysql_num_rows($query);
    if($numrows!=0)
    {
    while($row=mysql_fetch_assoc($query))
    {
    $dbusername=$row['IC'];
    $dbpassword=$row['ID'];
    
    
    }
    
    
    if($user == $dbusername && $pass == $dbpassword )
    {
    session_start();
    $_SESSION['sess_user']=$user;
    $_SESSION['sess_pass']=$pass;
    
    
    
    
    /*Redirect browser*/
    header("Location: main.php");
    }
    }else{
    echo "Invalid IC Number and ID Number!";
    }
    }
    ?>
    
    

    for the second question is how to limit a voter to vote only 15 candidates and counting of the vote that voters go? When the vote is made with 15, then the popup script appears informed that the elector make themselves with their vote.for this I use box as a method of voting and each checkbox have the id which is the primary key. I appoint the id as 'No' and set it as the primary key. Here is the code for voting:

    <?php
    $servername = "localhost";
    $username = "root";
    $password = "pass";
    $dbname = "ses";
    
    
    // Create connection
    $conn = new mysqli($servername, $username, $password, $dbname);
    // Check connection
    if ($conn->connect_error) {
         die("Connection failed: " . $conn->connect_error);
    }
        
    $sql = "SELECT No, Calon, ID, Jurusan, Image FROM candidates";
    $result = $conn->query($sql);
    
    if(isset($_POST['vote'])) {
        
    //get the ID value from the radio button form field and store in an array.
    $update_vote = $_POST['candidate_id'];
    
    //loop through the array and update the database
    foreach ($update_vote as $value) {
    $vote_sachin = "UPDATE candidates SET Undi=Undi+1 WHERE No=".$value."";
    $run_sachin = mysqli_query($conn, $vote_sachin);
    
    
        }
    
      header("Location:http://localhost/VotingSystem/");
    }
    
    
    ?>
    
    
    <form method="post" id="form1" action="main.php">
    <?php
    if ($result->num_rows > 0) {
    echo "<table border >
    
    
    <tr>
    <th>NO</th>
    <th>Candidate</th>
    <th>INFO</th>
    <th>Vote</th>
    </tr>";
    // output data of each row
    while($row = $result->fetch_assoc()) {
    echo "<tr>
    <td align='center'>" . $row["No"]. "</td>
    <td><img src=" . $row['Image'] . " width=120px height=150px></td>
    <td><br/>" . $row["Calon"]. " <br/>" . $row["ID"]. " <br/>" . $row["Jurusan"]. "<br/></td>
    <td align='center'><input type='checkbox' name='candidate_id[]' value='".$row['No']."'></td>
    </tr>";
    }
        echo "<tr><td></td><td></td><td></td>
        <td><input type='submit' name='vote' value='VOTE'</td>
        </tr>";
    echo "</table>";
    
    
    } else {
    echo "0 results";
    }
    $conn->close();
    
    
    ?>
    
    

    I hope someone can help me with this because I'm still trying to learn this by my own php code...

    Thank you

    # 1, add a Boolean column in the table (VoteSubmitted) and the value initially FALSE to follow if the user has already voted.  Check this field when they connect. If the field is set to TRUE, displays a message and cannot vote again. When they get it vote, update the field from FALSE to TRUE.

    # 2, I would like to do this with javascript to allow them to select all their candidates and submit once. You could start with something like this:

    Cut paste & limit the number of boxes checked script

  • not able to connect to the database users

    Hello


    OS Oracle Solaris on SPARC (64-bit)
    database version 10.2.0.2



    There was a problem, one of the database, most of the applications were unable to connect, only 1 or 2 managed applications to connect, which totalled around 4 to 6 hours. Once the database has been recycle everything was ok, so what could be the reason? I have too many words from sr oracle, oracle specified as there was a sql with 13000 executions, also as 2 users have tried to update the same row in the table, so that users must commit frequently, just read the lines highlighted. My question is if there is a conflict of line, that would restrict other applications to connect to the database. And after reboot, everything was normal. I m wondering as is the resource_limit or max execeeded processes at this time this is why not able to sign in as user applications oracle unable to generate new processes.

    As I mentioned in the SR #, users could not establish connection to recycling of the database at all. So what is the root cause?




    Support of Oracle - December 06, 2010 16:01:13 GMT - 05:00 [Notes]

    Generic note
    ------------------------
    Report from the WORKING REPOSITORY for


    Snap Id Snap time Sessions sliders/Session
    BEGIN Snap: 14408 26 November 10 17:00:18 258 32.0
    End Snap: 14413 26 November 10 22:01:02 185 28.0
    Elapsed time: 300,74 (min.)
    DB time: 31,230.47 (min.)




    Top 5 timed events

    Event waits time Avg Wait (ms) % Total call time wait class
    enq: TX - 633 699 1 855 919 line lock conflict 99.0 2 929 Application < < < < # 1.8 million secondsdb file sequential read 2 434 765 11 577 5.6 user I/O
    Time CPU 7 758.4
    db file parallel write 269 025 1 012 4.1 system I/O
    db file scattered read 227 528 889 4.0 user I/O


    Time elapsed (s) hour (s) of the CPU executions Elap by Exec (s) % Total DB SQL SQL SQL text Module Id at the time of
    1 530 609 25 13 497 81,68 113.40 b3fzxpwsmj044 llserver@linkvprad1 (TNS V1 - V3) update KID set ID = ID + A1: where...


    single command which is close to 1.8 million seconds.

    update of b3fzxpwsmj044 KID set ID = ID + A1: where IDType = 0

    Segments of line lock waits
    Capture shows the line lock % % expected for each upper segment by report
    with the line total lock waits for all segments, captured by the snapshot
    Tablespace name object name subobject name owner Type obj. line lock waiting for Capture %
    TAB_ADM TAB_DATA KID TABLE 208 95,41 < < < < # object with line lock waits for even that above command


    UPDATE
    ========
    Hello

    It seems that many people have tried to run the same day order at the same time.
    (more than 13,000 executions)

    Update KID set ID = ID + A1: where IDType = 0

    and segment shows the same table.

    It is an application problem, two people can not update the same rows at the same time.
    OR
    After that the users update must initiate more timely work.

    sb92075 wrote:
    ..., but this has NOTHING to do with the connection problem & or not posted anything else.

    Not so sure. Is this connection to database, or application? The OP wrote "+ one of the basis of most of the applications were not able to connect, only 1 or 2 applications has managed to connect +", don't know what that means exactly, depends on how the application manage the connection. It can start with the search/update of this table where the problem may come from.

    Nicolas.

  • Locked user account and connect on demand

    Hi, any omniscient! :) I'm sorry for my bad English, but I have a question.

    Why is able to connect to an Application user using Builtin ApEx Authentication Scheme, when this user's account is locked? We see that in the ApEx 3.1, 3.2 (and I think, ApEx 3.2.1 has builtin regime too).

    As a workspace admin Home > Administration > manage Services > Set Workspace Preferences and ensure that the account Expiration and locking is set to enable.

    Scott

  • Why programs not marked in the list of windows firewall exceptions are still able to maintain the internet connection?

    Original title: exceptions to firewall

    Can someone explain how I have after uncheck the programs in the list of windows firewall exceptions, they are still able to maintain an internet connection? I use XP sp3.

    1. what makes you think that this unnamed programs are still able to maintain an Internet connection?

    2 Windows Firewall blocks unsolicited incoming connections.  Thus, for example, if you (or malicious software), set up a FTP server running on your computer, Windows Firewall will block an application from the Internet on your computer that are trying to establish a connection and download some of your files.

    However, when your web browser sends a request to a Web site server to load a page, incoming web server traffic is allowed because it's in response to a request made on your computer.

    This distinction between the incoming and outgoing traffic is why some people insist that the third-party firewall, which usually block/monitor of traffic in both directions is required.  The scenario is that you inadvertently introduce malware on your computer (in any number of ways), and then the malware "phones home" to establish a link with the bad guys, who continue to do what they want on your computer.

  • Only able to connect to the internet on behalf of the 1 user now

    Since this morning, we are only able to connect to internet from 1 account. It is not the main account. The primary user is unable to get a connection

    Please explain further, are you connected via wifi? or is it a hard link? are these local accounts on the computer or domain accounts?

  • not being is not able to connect it says unable to load the user profile

    not being not able to connect it said could not load user profile and then the computer automatically disconnects me trying

    ·                         Restore point:

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    If the above does not work:

    http://windowshelp.Microsoft.com/Windows/en-AU/help/769495bf-035C-4764-A538-c9b05c22001e1033.mspx

    Difficulty of a corrupted user profile

    After creating the profile, you can copy the files from the existing profile. You must have at least three user accounts on the computer to perform these operations, including the new account that you created.

    See you soon.

    Mick Murphy - Microsoft partner

  • I am able to connect to internet but when I switch to the amother user account it does not connect to internet

    on my computer, I am able to connect to internet but when I switch to the amother user account it does not connect to internet

    Hello

    1. Is there an error code or the message that if displayed when it is unable to connect to the Internet?
    2. You use a wired connection or wireless?
    3. You use the administrator account or standard account?
    4. All changes made to the computer before the show?
    Method 1:
    Check out the link and follow the steps.
    Method 2:
    Visit the link and try the troubleshooting provided steps.
    Why can't I connect to the Internet?
    http://Windows.Microsoft.com/en-us/Windows7/why-can-t-I-connect-to-the-Internet

Maybe you are looking for

  • Junk e-mail appearing as recipients

    I'm being flooded by dozens and dozens of spammers-often the same ones over and over again. Is not only the feature 'automatic' junk mail does not, most of the addresses of spammers are appearing in my list of recipients of the latter. When I try to

  • which means light in electrical cord feeding my MacBk Pro orange?

    Hello I have an orange light on my power cord, yet I'm fresh 79%. Should I worry the electric cord in the currency could have too or erratic electricity which may be harming my MacBook?

  • Beats audio-cool effect missing

    Hi everyone, I recently bought an envy 17-3200 series laptop computer I upgraded my hard drive and reinstall the system everything works fine my works audio beats However, before I reinstall the system When I listen to the bat button, there will be a

  • Alert tones in the 9810 Torch blackBerry Smartphones

    Just recently changed over a Torch 9800 for a Torch-9810. Nice unit, but noticed that the 9810 has only about 34 "tones alert" installed compared to the 9800 that counts more than 100 installed. Is it possible to copy the tones to alert on the 9810 o

  • Remove the Control Panel icons

    Hi all I would like to know the best way to remove the Control Panel icons. I am creating image of Windows 7 for my workplace and I would like to remove these icons, so that my users can not click on it. I assume that Microsoft has not released with