Authentication with LDAP...

I managed with a LDAP hook which authenticate my domain account and it works well and everyone can connect!

What I want to do is authenticate with LDAP and then leave through the eyes of the table to the top of my list of authorized users, or to refuse the connection.
It's a small number of users is not a big problem for me to have the table with 5 or 6 users.

I like the fact that the credentials of the user are managed by LDAP, and I don't want the hassle of creating ad groups that are managed by a third party.

Does make sense?
I would like to have some sort of model in the APEX that says...
Okay, I know your domain account is valid now, let me see what you can do...
you are an end-user - ok to connect
you are an administrator of app - ok to connect
you are person - not allowed - go
I know how to deal with permitting components once the connection is permitted - just trying to find out how allow/deny connections

Would I do that on the page of authentication scheme and if so where does make sense to put in a routine for that.

Management of the Session of the page?
Connection of transformation... perahaps here = > authentication process after?

Thanks for your advice.

I'm playing with some pl/sql that looks like this in treatment/Post-Authentication connection process

declare
Ditto Boolean: = FALSE;
Start
If: P101_USERNAME = "< a user authorized >."
then same as: = TRUE;
on the other
owa_util. REDIRECT_URL ("< back to login page > '");
end if;
end;

Hello

I use LDAP had encountered the same problem. I think you have several choices available. It is the setting of "Message authentication" on the 'authentication scheme"that you use. Allows you to (citing the help): 'specify a block of code to run through the procedure of Application Express login (login API) after step of authentication (verification of login credentials). The login procedure executes this code after it has executed its normal functions include setting a cookie and to the recording of the session and just before it redirects to the page of the desired application. Specify this code as an anonymous block of PL/SQL that returns no value.

Another method, which is what I used (probably not knowing the foregoing there!), has been to add in a branch on page 1 (the login page redirects always connections to page 1). Direction parameters are:

Branch point: on charge: before header
Target type: Page of this Application
Page: 101
Clear Cache: APP
Condition type: NOT Exists (SQL query returns no line)
Term 1:

SELECT 1 FROM MYUSERTABLE WHERE UPPER(LOGINNAME) = UPPER(v('APP_USER'))

Then, even if the user has valid credentials, the branch on page 1 always redirect them back to page 101 if their LOGINNAME does not exist in the MYUSERTABLE table.

I'm sure there are other ways as well, and others advise on "message authentication" If you want to use

Andy

Tags: Database

Similar Questions

  • Shibboleth with LDAP authentication

    I'm running in "Internal Server Error" trying to authenticate by using shibboleth with LDAP. Here is the ColdFusion error.

    Element MYSITESHIBBOLETH. USER name is not defined in the SESSION. The specific sequence of files included or processed is: \\commonspotshare.mysite.com\commonspot$\TEST\test.mysite.com\authenticate.cfm, line: 32

    And here's the line in the file authenicate.cfm 32.

    mysiteShibboleth.png

    Well, I got it to work. I need to use reReplace() to extract the part that I need to make work of cfif and the session be prepared.

    session.testShibboleth = StructNew();

    session.testShibboleth.username = REReplace (http_header.headers.eppn, "@test.com", "","ALL");

    session.testShibboleth.mail = http_header.headers.eppn;

    session.testShibboleth.groups = ArrayToList (rematch ('WEB\.)) (([A - z-] +', http_header.headers.member));

    session.testShibboleth.isAuthenticated = "true";

  • access remote vpn with ldap

    Hi all

    IM, configuration of a vpn for remote access with ldap, for what I see in some examples, I need to create a user/pass.

    In my case, I already configured the aaa for the ldap Protocol Server. I also have the Group tunnl with the authentication server.

    I need to create a user/pass?

    Thank you.

    Hello

    I see what you mean!

    It is not necessary for the integration of LDAP.

    You don't have authentication LDAP not the LOCAL database, so no need for this.

    Do not forget to rate all my answers

    Julio Carvajal
    Main and specialist of the Core network security
    CCIE #42930, 2-CCNP JNCIS-SEC
    For immediate assistance commit to http://i-networks.us

  • User authentication with AD Director

    Hey!

    Am having a problem with the management groups.

    I try to make external authentication with users of the AD but fails with one: user authentication failed: Eric: no group admin

    Everything seems fine, political authorization, Menu access, liaison group AD with ISE Super Admin to access the data group

    My user is ok on AD (not locked, expired, or anything)

    Anyone had this problem before?

    THX

    Possibility of vice.

    CSCud31796    ISE - External RBAC fails if Member user from the group containing the apostrophe

    Symptom:

    RBAC using a storage of external identity (AD, LDAP) group mapping fails for a correct user with the groups to access the GUI of the ISE. The following message will appear:

    "User authentication failed: username: admin group.

    Conditions:

    The user is a member of a group that contains the apostrophe character.

    Workaround solution:

    There is no work around in ISE.

    1 rename all groups in the external identity store such that they do not contain apostrophes

    2 remove users participating in the administration of all external groups containing apostrophes ISE

    Jatin kone
    -Does the rate of useful messages-

  • Help with the easy VPN server with LDAP

    Hello

    I used to be able to set up our easy VPN server with local authentication.

    But now, I'm trying to use LDAP authentication to match with our policies.

    Can someone help me please to check the config and tell me what is wrong with him?

    My router is a Cisco1941/K9.

    Thank you in advance.

    Ryan

    Current configuration: 5128 bytes
    !
    ! Last configuration change at 13:25:16 UTC Tuesday, August 28, 2012, by admin
    ! NVRAM config update at 05:03:14 UTC Monday, August 27, 2012, by admin
    ! NVRAM config update at 05:03:14 UTC Monday, August 27, 2012, by admin
    version 15.2
    horodateurs service debug datetime msec
    Log service timestamps datetime msec
    no password encryption service
    !
    router host name
    !
    boot-start-marker
    boot-end-marker
    !
    !
    !
    AAA new-model
    !
    !
    AAA group ASIA-LDAP ldap server
    Server server1.domain.net
    !
    AAA authentication login ciscocp_vpn_xauth_ml_1 local
    AAA authentication login ASIA-LDAP-AUTHENTIC ldap group ASIA-LDAP
    local VPN_Cisco AAA authorization network
    Group ldap AAA authorization network ASIA-LDAP-ASIA-LDAP group authorization
    !
    !
    !
    !
    !
    AAA - the id of the joint session
    !
    !
    No ipv6 cef
    !
    !
    !
    !
    !
    IP domain name domaine.net
    IP cef
    !
    Authenticated MultiLink bundle-name Panel
    !
    Crypto pki token removal timeout default 0
    !
    Crypto pki trustpoint TP-self-signed-765105936
    enrollment selfsigned
    name of the object cn = IOS - Self - signed - certificate - 765105936
    revocation checking no
    rsakeypair TP-self-signed-765105936
    !
    !
    TP-self-signed-765105936 crypto pki certificate chain
    certificate self-signed 01
    30820229 30820192 A0030201 02020101 300 D 0609 2A 864886 F70D0101 05050030
    2 060355 04031325 494F532D 53656 C 66 2 AND 536967 6E65642D 43657274 30312E30
    69666963 37363531 30353933 36301E17 313230 36323630 39323033 0D 6174652D
    355A170D 2E302C06 1325494F 03550403 32303031 30313030 30303030 5A 303031
    532D 5365 6C662D53 69676E65 642D 4365 72746966 69636174 652 3736 35313035
    06092A 86 4886F70D 01010105 39333630 819F300D 00308189 02818100 0003818D
    C1B7E661 4893D83A EFE44B76 92BAA71A 6375 854 C 88 D 4533E51A 49791 551D8EF7
    F82E2432 E65B401D 27FE4896 2105B38A CB1908C1 9AE2FC19 8A9393C3 1 B 618390
    EE6CB1CC 5C8B8811 04FA198E 16F3297B 6B15F974 13EE4897 97270547 31 74270
    4590ACA6 68606596 97C5D4D5 462CACA0 CDDAC35A 17415302 CFD4E329 8E7E542D
    02030100 01A 35330 03551 D 13 51300F06 0101FF04 05300301 01FF301F 0603551D
    23041830 1680142E FF686472 569BCCF1 552B 1200 1 060355 5B660F30 D35060DB
    1D0E0416 04142EFF 9BCCF155 68647256 2B1200D3 5060DB5B 660F300D 06092 HAS 86
    01010505 00038181 00558F64 05207 D 35 AA4BD086 4579ACF6 BCF6A851 4886F70D
    1D0EA15B 75DBFA45 E01FBA5C 6F827C42 1A50DD11 8922F1E5 3384B8D8 8DD6C222
    0187E501 82C1C557 8AD3445C A4450241 75D771CF 3A6428A6 7E1FC7E5 8B418E65
    74D265DD 06251C7D 6EF39CE9 3 D FE03F795 692763 AE865885 CFF660A5 4C1FF603
    3AF09B1E 243EA5ED 7E4C30B9 3A
    quit smoking
    license udi pid CISCO1941/K9 sn xxxxxxxxxxx

    ISM HW-module 0
    !
    !
    !
    secret admin user name of privilege 15 5 $1 rVI4$ WIP5x6at0b1Vot5LbdlGN.
    ryan privilege 0 0 pass1234 password username
    !
    redundancy
    !
    !
    !
    !
    !
    !
    !
    crypto ISAKMP policy 1
    BA 3des
    preshared authentication
    Group 2
    !
    Configuration group customer isakmp crypto VPN_Group1
    xxxxxxxxxxxx key
    DNS 10.127.8.20
    pool SDM_POOL_1
    ACL 100
    netmask 255.255.255.0
    ISAKMP crypto ciscocp-ike-profile-1 profile
    match of group identity VPN_Group1
    authentication of LDAP-ASIA-AUTHENTIC customer list
    whitelist ISAKMP ASIA-LDAP-authorization of THE
    client configuration address respond
    virtual-model 1
    !
    !
    Crypto ipsec transform-set esp-SHA-ESP-3DES-3des esp-sha-hmac
    !
    Profile of crypto ipsec CiscoCP_Profile1
    game of transformation-ESP-3DES-SHA
    set of isakmp - profile ciscocp-ike-profile-1
    !
    !
    !
    !
    !
    !
    !
    interface Loopback0
    IP 10.127.15.1 255.255.255.0
    !
    the Embedded-Service-Engine0/0 interface
    no ip address
    Shutdown
    !
    interface GigabitEthernet0/0
    IP xxx.xxx.xxx.xxx 255.255.255.224
    automatic duplex
    automatic speed
    !
    interface GigabitEthernet0/1
    IP 10.127.31.26 255.255.255.252
    automatic duplex
    automatic speed
    !
    type of interface virtual-Template1 tunnel
    IP unnumbered Loopback0
    ipv4 ipsec tunnel mode
    Tunnel CiscoCP_Profile1 ipsec protection profile
    !
    local IP SDM_POOL_1 10.127.20.129 pool 10.127.20.254
    IP forward-Protocol ND
    !
    IP http server
    local IP http authentication
    IP http secure server
    IP http timeout policy slowed down 60 life 86400 request 10000
    !
    IP route 0.0.0.0 0.0.0.0 GigabitEthernet0/0
    IP route 10.0.0.0 255.0.0.0 10.127.31.25
    IP route 10.127.20.128 255.255.255.128 GigabitEthernet0/0
    !
    Note access-list 100 category CCP_ACL = 4
    access-list 100 permit ip 10.0.0.0 0.255.255.255 everything
    !
    !
    !
    !
    !
    !
    !
    LDAP attribute-map ASIA-username-map
    user name of card type sAMAccountName
    !
    Server1.domain.NET LDAP server
    IPv4 10.127.8.20
    map attribute username-ASIA-map
    bind authenticates root-dn CN = xxx\, S1234567, OU = Service accounts, OR = Admin, OU = Acc
    DC = domain, DC = net password password1
    base-dn DC = domain, DC = net
    bind authentication-first
    !
    !
    control plan
    !
    !
    !
    Line con 0
    line to 0
    line 2
    no activation-character
    No exec
    preferred no transport
    transport of entry all
    output transport lat pad rlogin lapb - your MOP v120 udptn ssh telnet
    StopBits 1
    line 67
    no activation-character
    No exec
    preferred no transport
    transport of entry all
    output transport lat pad rlogin lapb - your MOP v120 udptn ssh telnet
    StopBits 1
    line vty 0 4
    transport telnet entry
    !
    Scheduler allocate 20000 1000
    end

    Router #.

    Ryan,

    It seems that you are facing the question where it is indicated in the section:

    Problems with the help of "authentication bind first" with user-defined attribute maps:

    * Then you are likely to see a failure in your authentication attempt. You will see the error message "Invalid credentials, result code = 49.  The newspapers will look something like the journals below: *.

    Which is the same error you see. Go ahead and replace in your attribute map and test again.

    If you remove the command "bind-first authentication' configuration above, everything will work correctly.

    https://supportforums.Cisco.com/docs/doc-17780

    Tarik Admani
    * Please note the useful messages *.

  • Many Apex with LDAP Applications

    Hi everyone :)


    I have 7 apex applications in the same workspace. I'm using apex authentication but my company now wants to do with LDAP. No problem here. They gave me the credentials and I put that it works, using the apex forum :D

    But I have a problem...

    I created a main application, with a page with buttons, calling the various applications in the workspace. Whenever I press the button for a request, it sends me to the login page for the application of different.

    How can a single login?


    Notes:

    Button code:
     
    f?p=APPLICATION_ID:1:&APP_SESSION.

    Vitor - change the current authentication schema for each application and put in a name of cookie in the cookie name attribute. Use the name of your choice, simply put the same name in each application.

    Scott

  • 802. 1 x with LDAP

    Hello

    Please help, I have 802. 1 x configured with JUMP, and everything is OK. but who do not work with LDAP?

    Can someone help me to do this?

    Omar,

    LDAP is not supported with JUMP. Pls check this link

    http://www.Cisco.com/univercd/CC/TD/doc/product/access/acs_soft/csacs4nt/ACS32/User02/o.htm#wp623530

    Kind regards

    ~ JG

    Note the useful messages

  • Cisco ISE 1.3 - Mab authentication with a vlan for each foor

    Hello

    A client wants to implement authentication MAB with a vlan for each floor. I found a solution of Loïc

    I have set up the following:

    -the profile of different authentication with a vlan different.

    -Add the endpoint (printer etc) endpoint identity.

    -create endpoint group identity that end point of recall.

    -create a rule to authorizzation reminding all work and element... in the end.

    Do you know if there is a faster way where another way to solve the problem?

    Thank you all

    Well, mab in some environments, could be replaced by profiling and for rules, rather af with a rule authz for each floor, you can name your VLAN in your eponymous switches to "Printers", in the world, then you would only need an authz rule, where you use the name of the vlan instead of identification number, so no matter where this printer , it will end in the vlan 'Printer', whatever it is in this specific switch.

  • double authentication with Cisco's VPN IPSEC client

    Cisco VPN client (the legacy IPSEC client) does support dual authentication with RSA token AND ActiveDirectory credentials?

    I know that AnyConnect supports it and the commandsecondary- authentication -Server- group' is only for ssl connections, but must be confirmed.

    Kind regards

    Mohammad

    Hi Mohammad,.

    What is double authentication support for Cisco VPN Client?

    A. No. Double authentication only is not supported on the Cisco VPN Client.

    You can find more information on the customer Cisco VPN here.

    As you said the only client that supports dual authentication is the Cisco AnyConnect secure mobility Client.

    Please note and mark it as correct this Post!

    Let me know if there are still questions about it!

    David Castro,

  • ACS with ldap Unix

    Hi, I'm in a project security information, and I think ACS software integration with ldap hosts in Unix machine: Samba

    his works?

    Is there a trial version of GBA? any version 4.2, 5.1, etc...

    Thank you

    Try this

    ACS 4.2

    http://www.Cisco.com/cgi-bin/software/tablebuild/doftp.pl?ftpfile=Cisco/crypto/3DES/ciscosecure/ACS/win/90-dayeval/eval-ACS-4.2.0.124-SW.zip&app=tablebuild&status=showC2A%3E

    ACS 4.1

    http://www.Cisco.com/cgi-bin/tablebuild.pl/ACS-win-eval

    ACS 5.1

    https://supportforums.Cisco.com/thread/2024417

  • VCS-E for VCS - C MOVI AUTHENTICATION WITH AD AUTHENTICATION

    Hello

    We have a VCS - C and VCS-E. We have movi users currently authenticated by the local Agent of MSDS database.

    We are now in the treatment of the migration to Active Directory authentication.

    We did it by selecting "Check for credentials" on VCS - C area (entry point for provisioned client) default and each user movi on internal network is getting authenticated with credentials of the AD. (User domain\username & domain password)

    However, if a user of VCS - E attempts to authenticate the credentials of the AD, the connection fails with an invalid username and password.

    If we try to use the username and password of MSDS agent, it works very well.

    Proceed to the next step, we have activated the "Check for authentication" then the VCS - C road customer area to the VCS-E. Then authentication is fine with the AD credentials for users outside movi.

    Now, I want to know, allowing the "Check for authentication" then the VCS - C course CLient area will affect the flow of calls between VCS - C and VCS-E or any service will be interrupted.

    Best regards / / Rio

    You have all the other things listed in the VCS-E? As endpoints, gateways? In brief

    anything with the same fields that are set up on the SCV - C as well?

    You register customers movi on the VCS-E or proxy list them on the VCS - C?

    Outside calls does not at all, as the auth hits the same domain only.

    What you might try is if your movi users can always successfully connect from the outside through the

    the VCS-E to the devices registered in the VCS - C and also presence and directories.

    These are the things that break likely tend to break, if there is something else wrong.

    Not to mention that if you have configured correctly it should work correctly

    Please take some time and go through this guide, they have fine examples in the annex,

    so you can double check your configuration:

    http://www.Cisco.com/en/us/docs/Telepresence/infrastructure/VCs/config_guide/Cisco_VCS_Authenticating_Devices_Deployment_Guide_X7-0.PDF

    Maybe, Andreas has something else to add.

    Please note the answers! (click on the stars below messages)

  • Easy VPN with LDAP integration

    Hello!

    Currently I have an EASY VPN server on a Cisco 2911 with LDAP integration to authenticate the user.

    Everything works well except for one aspect. When you try to connect to the VPN (IPSec Client), the user is prompted for the credentials that are in this case their domain credentials. When the user places the identification information is immediately invite you for it again and again for about 1 minute. Then their and the VPN is in place.

    When I check the logs, I can't see him connect LDAP ranging down to connect to to the top.

    My question is if there is a way to make the LDAP connection, stand or accelerate this process.

    Thoughts?

    Jason,

    I had a long discussion with BU some time previously, if the LDAP protocol is in fact a taken AAA mechanism supported with ezvpn.

    To which (at the time) they said 'no '.

    We have therefore tabled a documentation bug:

    http://Tools.Cisco.com/support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId= CSCud35798

    (which has not yet been resolved).

    If it is in fact always a limiting factor, I suggest contacting your system engineer or open evidence of the TAC, so we can check with BU.

    M.

  • Is it possible to set up SMTP authentication with the vCSA 5.5?

    Hello.

    I have a vCenter Server Virtual Appliance 5.5 and SMTP server that requires SMTP authentication with port 587.

    I found the advanced settings "mail.smtp.port", but I found no parameters as 'mail.smtp.username' and 'mail.smtp.password '.

    Is it possible to set up SMTP authentication with the vCSA 5.5?


    Best regards.

    No, can't be done.

    Set up a separate SMTP relay that would make authentication for you. as explanation then post

    Configuring vCenter for e-mail with SMTP authentication. Adventures in a virtual world

  • Application loader stuck on "authentication with the iTunes store."

    I'm trying to submit my app via iTunes Connect. I was stuck on "authentication with the iTunes store" for more almost 20 min. Is this normal? Something wrong?

    Screen Shot 2014-09-10 at 9.09.24 PM.png

    I followed the Guide step by step Adobe publishing applications iPad and everything went smoothly thanks to the DPS App Builder. I was able to download both the app developer .ipa and distribution app .zip following the steps very well. But eventually, all measures are useless: interface of iTunes Connect has changed since the guide Adobe did, and now I'm completely lost.

    I downloaded the app Loader and try to submit this .zip app developer I have to iTunes Connect via the Application Loader. But in vain.

    Any help would be really appreciated. Thank you

    You can ignore this warning. You will, however, probably to encounter other errors. Please see http://status.adobedps.com/ for later.

    Neil

  • TMSE user import of CUCM with LDAP authentication

    Hi all

    We are plannig to deploy the CMR for TMSPE users. We must be able to import users of CUCM and keep AD authentication for users who will use the CMR.

    is there anyway we can do this?

    Kind regards

    Hi Alex,

    You can import the user into TMS / TMSPE directly in AD with filter custom.

    Also, you can activate the AD authentication and Windows Server to be part of the domain.

    Once this user can use the LDAP credentials to authenticate for CMR in the premises.

    http://www.Cisco.com/c/dam/en/us/TD/docs/Telepresence/infrastructure/TMS...

    Please see page 19 from above the document where you can enter the AD user import.

    You must also enter the configuration of Active directory on the MSDS of network settings.

    Administrative Tools > Configuration > network settings > Active Directory

    It is possible in the most recent version.

    Kind regards

    RACLOT

Maybe you are looking for

  • Question number

    I am trying to add today's date, in column B, when a box is check in column A. What is the formula for this? Thank you Casey

  • Re: Satellite A500 will turn on automatically at 23:00

    Hi all I have a Satellite A500 who decides he wants to get into itself every night about 23:00.I disabled all the tasks in the Task Scheduler and it still happens.I have no other idea I can do to prevent this. Can anyone help. It starts from the comp

  • Equium A100-306: built-in speakers do not play certain sounds

    I got my A100-306 for 2 weeks, and my speakers do not play certain sounds. This problem appeared only in recent days. When I go in the speaker settings control panel it says that there are no speakers. Can someone tell me what to do to fix this?

  • Driver for network card

    Hello can you please provide a link to my HP Pavilion DV6? the hardware id values are the following: PCI\VEN_8086 & DEV_008B & SUBSYS_53158086 & REV_34 PCI\VEN_8086 & DEV_008B & SUBSYS_53158086 PCI\VEN_8086 & DEV_008B & CC_028000 PCI\VEN_8086 & DEV_0

  • today 2 times my computer flashed on a background of blue/white words, why is that happening?

    Sweetiep here;  today is Wednesday, 11/4/12 and today 2 times my computer flashed on a blue/white background of words, I took the words "shutting down for a major data dump" and then she flashed to enter a backgr/white black "start normal microsoft",