HOW-TO specify database credentials in LDAP user

Hi:
I want to know how can i specify oracle database credentials (oracle database usernname) that one specific user will use to connect to the database for instance when using Oracle Forms.
I saw in OID some "tags" like orcluserv1, etc... is this ? how can i do it ?
For instance i want that:
LDAP user Database user
user00001 dbuserA
user00002 dbuserA
user00003 dbuserA
user00004 dbuserB
user00005 dbuserB
So ldap user00001 will connect to the database with dbuserA ..
Thanks in advance,
Ricardo

Hi Ashish:
I've succesfully created an user with OIDDAS and assign it a "resource acess information" of type OracleDB.
So, when creating this user i specified the username in db that this user will use to access database. Until now, it's all perfect. But, where's this information is stored ?
I've access OID Manager and see that user is create in the Entry Management, but the DB information is not stored in any of the properties of this user.
This is a problem, because I want to make an APP that will use DBMS_LDAP pack to create user dynamically, so I have to know what attributes/classes/properties that user needs for assign it to a specific DB user.
Can you help ?
Thanks The information is stored in an Oracle Specific container called 'cn=oracleContext' in the default subscriber.
You can use the DBMS_LDAP_UTL package (shipped in iAS 902) to query these Resource Access Descriptors. Directly
storing these from PL/SQL is not presently supported. OIDDAS is the only interface through which you can get this done.

Similar Messages

  • How to move database objects from one user to another user

    Could someone help how to move database objects from one user to another user
    Thanks in advance

    Thanks a lot for the reply.
    Actually I wanted to know whether there is any command to change the owner ship of the table.
    For ex table1 belongs to user1. can the owner of table1 to be changed to owner2.
    directly using an oracle command. I knew that it can be done using import and export, since the table was 200 million thought the rename command would be faster instead of import and export.
    Thanks Billy for letting me know that it is not possible using oracle query.

  • How to set database credentials to form?

    Hi All,
    I'm newbie em Forms. I'm facing a situation and I don't know how to solve it. I run a forms application in a giver browser and I'm always asked to type database credentials in order to connect to this database. In development time there's no problem, however, general users cannot have database user and password to be able to access the form.
    Is there any way to set database credentials (user, password, database) in order to user not being asked to provide these info ?
    thanks a lot

    Hi,
    Plz configure formsweb.cfg file in order to achieve this. Set the parameter 'userid=<YourDatabaseCredential>'.
    e.g. userid=scott/tiger@orcl
    thanks & best regards,
    Qasim Javaid Malik

  • Enabling Direct Database Request for LDAP User in RPD

    Hi All,
    Can anybody help me out how to set the Direct datasbase parameter in repository for the respective LDAP User.
    Actually I am implementing PROXY USer setup, in this process im encountering the below error
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
    [nQSError: 13017] User or group has not been granted the Direct Database Access privilege to access the database 'So n So'. Please verify the User/Group Permissions in the Oracle BI Administration Tool. (HY000)
    http://1.bp.blogspot.com/-NqzXnCsUse0/UT5D2F6SksI/AAAAAAAAA1s/SpygihX4z5A/s1600/3.PNG
    If i create the user in the repository and for him if i set "direct database Request" to "Allow" then he is able to use the PROXY functionality , but in my case i am using LDAP there are no room for the USers.
    Any assistance , greatly appreciated.
    Thank you./
    Siva Budagam.

    Hi All,
    Can anybody help me out how to set the Direct datasbase parameter in repository for the respective LDAP User.
    Actually I am implementing PROXY USer setup, in this process im encountering the below error
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
    [nQSError: 13017] User or group has not been granted the Direct Database Access privilege to access the database 'So n So'. Please verify the User/Group Permissions in the Oracle BI Administration Tool. (HY000)
    http://1.bp.blogspot.com/-NqzXnCsUse0/UT5D2F6SksI/AAAAAAAAA1s/SpygihX4z5A/s1600/3.PNG
    If i create the user in the repository and for him if i set "direct database Request" to "Allow" then he is able to use the PROXY functionality , but in my case i am using LDAP there are no room for the USers.
    Any assistance , greatly appreciated.
    Thank you./
    Siva Budagam.

  • How to only synchronize one specific LDAP user group with SAP?

    Hi,
    Hopefully this is the correct forum to post this in. I want to have continuous one-way synchronization of users from my LDAP server to my SAP central system. I've started configure in SAP using transaction SM59 and LDAP. Can I somewhere set that only one specific LDAP user group shall be transferred to SAP (they do not need to be assigned to any specific group, profile, role in SAP) - or should this be done on the LDAP server side (or is it at all possible)?
    Correct me if I'm wrong, but the User Group field in the report RSLDAPSYNC_USER only concerns SAP user groups right? This would therefore not be sufficient since I want to select the users to synchronize based on user groups in the directory.
    Thanks, Oscar

    We've used a repository constant to specify the LDAP filter for reading users / groups from the LDAP target.
    E.g. LDAP_FILTER_USERS (&(objectCategory=person)(objectClass=user))
    Then we also have a constant for the LDAP_STARTING_POINT
    For our AD Group Initial Load we filter according to these settings:
    LDAP_FILTER_GROUPS = (objectclass=group)
    LDAP_STARTING_POINT_GROUPS = ou=IDMManagedGroups,ou=Groups,dc=cfstest,dc=le,dc=ac,dc=uk
    The above example only reads AD groups starting at the specified OU
    Then in a Job From LDAP Pass the LDAP URL looks like this:
    LDAP://%$rep.LDAP_HOST%:%$rep.LDAP_PORT%/%$rep.LDAP_STARTING_POINT_GROUPS%?*?SUB?%$rep.LDAP_FILTER_GROUPS%
    I hope this helps
    Paul

  • How to get Request object and LDAP user

    Hi All,
    How to get Request object, coz i want to see the out put of this code
    IUser myUser = request.getUser();
    String uid=myUser.getUid();
    I want to get only LDAP user from the server, for that i am having  code but i think this code is returning me all user from the server.
    com.sap.security.api.IUser user = null;
    try {
          IUserFactory userFactory = UMFactory.getUserFactory();
         IUserSearchFilter searchFilter = userFactory.getUserSearchFilter();
    ISearchResult searchResult = userFactory.searchUsers(searchFilter);
       int count = 0;
        List list = new ArrayList();
         while (searchResult.hasNext()) {
                      count++;
                       String uniqueid = (String) searchResult.next();
                        user = userFactory.getUser(uniqueid);
                        list.add(user.getUniqueName());
    This code is giving me all user from the server LDAP and as well as portal user.
    But i want only LDAP.
    Please help me out. It's urgent.
    Regards,
    Deepak

    Hi
    use the following code
    //Request
    IWDRequest = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
    //User
    IWDClientUser = WDClientUser.getCurrentUser();
    Regards
    Ayyapparaj

  • How to get database out of single user

    Hi
    SQL Server 2005. Had changed database to single user/read only option. Now I cant change database back to multi user and all commands are getting stuck.
    Msg 924, Level 14, State 1, Line 1
    Database 'db1' is already open and can only have one user at a time.
    I have tried all below and failed to get around this issue
    sp_dboption db1, 'single', false
    alter database db1 multi_user with rollback immediate
    I cannot select the spid with as I get Msg 924 with below commands which all get stuck.
    select spid from sysprocesses where dbid = (id of database)
    sp_who does not show
    What can be done to get out of this as this is a production server and difficult to restart midweek.

    I had a similar problem when the Query Tab for the single user got closed accidently.
    1. I logged in through DAC. I tried killing a SPID (sp_who2) that I thought had the lock but could not get access to the database and I could not bring the database to muti-user mode.
    2. I logged on as sa, but I could not bring the database to muti-user mode.
    3. I tried re-starting the SQL Server instance (Test Server), the instance would not stop.
    4. I had to reboot the Database Server (Test Server). The database recovered on it's own.
    I was then able to bring the database to single user mode, ran check db and then brought the database back to multi-user mode.
    -Jeelani

  • How to Populate Database values in OIM user form

    Hi friends,
    I have created some groups in OIM and I have created a new field in OIM user form. Now i want the group values visible as new field values.
    How the database table values can be made visible in OIM field ..?
    please help me in doing it
    Regards
    sri

    Just follow this document and from fig 13 select LOV type as query.
    http://docs.oracle.com/cd/E21764_01/doc.1111/e14308/conf_mangmnt.htm
    Regards
    Shashank

  • How to create database from scratch using user input

    what I am trying to do is to create database via my java code (using hibernate and my sql) and based on user input.
    The details like the name of table.... or the number of columns in it are all supposed to be determined from user input (only the first time).
    On subsequent run the program should remember the previously created database and hence work with it.
    Can somebody help me through this?
    Suppose I did create it using firing queries from my program then the next problem is how my program would start up next time......?????

    Anuvrat wrote:
    what I am trying to do is to create database via my java code (using hibernate and my sql) and based on user input.
    The details like the name of table.... or the number of columns in it are all supposed to be determined from user input (only the first time).
    On subsequent run the program should remember the previously created database and hence work with it.
    Can somebody help me through this?Presumably because you want to (fun) rather than because you need to (job or project.)
    If the second then don't do it.
    >
    Suppose I did create it using firing queries from my program then the next problem is how my program would start up next time......?????You would start by learning about DDL which is the common name for the languages, which vary by database, used to create the entities that represent the structure of a database. Until you figure out the syntax of that you can't do anything in java.

  • Openrowset - how to specify database name

    Hi,
    I want to run
    DBCC SHOWFILESTATS against a specific database on my server. I can get openrowset to retun the data for master; but, how do I specify a different database?
    select * FROM OPENROWSET ('SQLOLEDB','SERVER=(local) ;TRUSTED_CONNECTION=YES;',
    'Set FmtOnly OFF;EXEC (''DBCC SHOWFILESTATS'')'
    How/where do I put the DB name?

    You're right. I forgot the closing paren.
    select
    FROM
    OPENROWSET
    ('SQLOLEDB','SERVER=(local);database=test1
    ;TRUSTED_CONNECTION=YES;',
    'Set FmtOnly OFF;EXEC (''DBCC SHOWFILESTATS'')'   )

  • How to configure EP7 to use LDAP users?

    We need our EP to use LDAP as our user source exclusively.
    Our LDAP can be MS directory service OR iplanet.
    Can anybody help give the details how to achieve it?
    Points guaranteed. Thanks!

    Hi,
    To configure your EP to LDAP you need to set the following properties in config tool. Please, refer the following link to know more about this configuration properties.
    http://help.sap.com/saphelp_nw70/helpdata/en/63/14f5b51a6eff429f2d8b2063400e82/frameset.htm
    Thanks
    R.Murali

  • How to add security credentials to SOAP header for EBS Web Service call..

    All,
    I am trying to invoke a webservice that I successfully exposed as a WSDL Web Service using EBS Integrated SOA Gateway. I am using OBIEE 11g Action Framework which uses WebLogic.
    Here are the steps I completed:
    - I exposed a WSDL web service in EBS R12 via Integrated SOA Gateway
    - I granted the access to this service in EBS R12 to user SYSADMIN
    - I used OBIEE 11g to make a Action to call the Web service (using Action Framework) by searching for the WSDL
    - When I try to execute the action: I get the error:
    Action could not be invoked.
    ServiceExecutionFailure :
    Error invoking web service HR_PHONE_API_Service at endpoint http://ip-10-87-33-3.ec2.internal:8000/webservices/SOAProvider/plsql/hr_phone_api/ Missing <wsse:Security> in SOAP Header
    PROBLEM: I am unsure how to add the credentials for SYSADMIN user and password to add the SOAP username/pwd to the outgoing call. Anyone on this forum know how to set up the SOAP to call with the correct credentials? I have been looking at the documentation but it is not clearly explained.

    Dear Heiko,
    did you solve this problem?
    We are facing the same problem. Every parameter that requries "cmd" does not work. I guess we don´t use this paramter the right way.
    Best, Chris

  • LDAP user to application role mapping

    Hi All,
    OBIEE 11.1.1.5
    I have a table with ldap username and role. I have also configured external LDAP server in RPD. Users are able to login to portal.
    Can some one guide me, how to make sure that when user login to OBIEE automatically by table the role will be fetched and mapped with application role created?
    Or, In simple words,
    How can I assign an external ldap user to be mapped to application role? One by one?? or Via table as mentioned above?
    Anyone can help? All documents are not giving this simple picture to me.
    It was easy in 10g, In 11g is it rocket science so that my company can loose the hope to go ahead with 11g?

    Hi,
    1. Create block to initialize USER variable with user name from LDAP
    2. Create block to initialize GROUP variable with role name from external table
    3. In initializtion block for GROUP variable add precedence with User init block to make sure that USER variable have value
    4. If one user can have few roles you should check row-wise-initialization oprion
    Hope it's helpful

  • Database Credentials When Scheduling Crystal Report

    In our Crystal Reports 2008 server, each user has their database credentials populated in their user account on the Crystal Reports Server.
    (in the area where is says "Enable Database Credentials").
    For each of our reports, we have the option "Use SSO context for database logon" selected.
    This causes the server to connect to the database using each user's database credentials when they run reports "on-demand".
    However, these credentials do not automatically populate when they go to schedule a report.
    Is there a way to get these credentials to populate the Database Login fields when scheduling reports to run?
    It seems odd to me that it would use the credentials "on-demand", but not when setting up a scheduled report.
    Any info would be appreciated.
    Thanks.

    Thanks Brian.
    What you describe is what we currently have setup.
    The difference with what I'm asking is that each user's account has different database login credentials.
    So when running "on-demand", it logs in using the credentials in their account settings.
    But when running "scheduled" everyone logs into the database using the default account.
    We have row-level security on the database (using Oracle VPD) to enforce security based on the user account that is logged into the database.
    This means that when running the report scheduled, the security doesn't work because it doesn't populate the database credentials from the user's account.

  • How to enable only a subset of LDAP users to be able to login to OBIEE

    We have enabled LDAP authentication. Now every single LDAP user can login to Presentation server. That is an issue. Not all LDAP users are OBIEE users. Only a small subset of the LDAP users should be able to access OBIEE. We have a database table that lists all OBIEE users. This table however does not have user password information. User Password information is stored in the LDAP.
    so question is how do we limit OBIEE access to only OBIEE users and not all LDAP users.
    Thank you

    Thanks for your suggestion. If i understand it correctly, user will still be able to login to Presentation server but will not have access to any content using your solution approach. Did i get it right?
    In my current setup, user gets authenticated against LDAP, then i extract user group for that user and assign it to GROUP. Only those users gets assigned to GROUP who have access to OBIEE. We have secured RPD and Catalogs so that user must be a member of at least one GROUP to be able to access content.
    Right now, a LDAP user who is not present in OBIEE user table, is able to login to BI Presentation server but is not able to see any thing. Because user gets authenticated, but does not have any authorization rights. So far so good.
    I would like to take next step, where use login to BI Presentation server is denied if user id does not exist in the OBIEE user table ( but exists in the LDAP).
    Thank you

Maybe you are looking for

  • Difference in Trial balance and Subledger of asset

    Hi , After running the depreciation for the period 3 user come to know that there is difference in Accumulated deprecation (FS10n) and Asset balance in S_ALR_87011990 .The difference is 0.1 . How to find these difference ? Which asset is affecting wr

  • Daniel or anyone else, Help on why I can't access certain jsp pages

    I have installed the Web Service Portlet Wizard to build my portlets. In particular, I have created a URL porlet jsp which receives its content from a URL. This URL that I retrive is an application that I have running on my Weblogic 6.1 Server. I can

  • WL7.0 SP2  different version?

    I am getting the following: ####<Mar 3, 2004 7:49:52 PM EST> <Info> <EJB> <server1> <app1> <main> <kernel identity> <> <010008> <EJB Deploying file: Bean1.jar> ####<Mar 3, 2004 7:49:52 PM EST> <Warning> <EJB> <server1> <app1> <main> <kernel identity>

  • FYI - For all preview clients of Adobe Connect 8

    Hello! For anyone who is part of the Preview Release of Adobe Connect 8 that wish to modify their account, please see the following statement from the Prerelease team here at Adobe: Adobe offers select customers and users an opportunity to discover a

  • Verizon GSM sim card for unlocked Sumsung Galaxy S2

    I have an unlocked Sumsung Galaxy S2. I bought it from Bangladesh. It has been working well with any Bangladeshi GSM sim card. I just arrived in USA. Is it possible to get a Verizon GSM sim card for my phone? If yes, please let me know the link from