Configuring OID and logging into a database with a OID username\password

I've installed the Oracle database software (v9.2.0.2.1) and created a database called OIDDB. I then installed the "Management and Integration" portion of the Oracle database software which includes "Oracle Management Server" and "Oracle Internet Directory". All of this installation is on the same database box.
On another server, my other database (called: BAHDB) resides that I OID enabled. I've already used the "Database Configuration Assistant" to register it with the directory service.
What else needs to be done at this point to log into the database without a Oracle username and password? What high level main steps am I missing? Do I need to do anything with Oracle wallets?

There's now a difference when you use domains in your network configuration:
tnsping server.at.your.domain should get resolved through tnsnames.
tnsping server shoudl get resolved through the LDAP server.
The illegal userid/password error makes me suspect you try to logon with the fully qualified server name; LDAP should respond with something like "no nickname found".
Also - the guest user is only used as a "stub" - you should be able to login with a name, defined in OID - not defined in the database!
Things to check:
- rdbms_server_dn - DBCA should take care of it during registration of the database in OID, but it does not always do that. Setting it requires a restart. Remeember, it is case sensitive! Format is cn=SID,cn=OracleContext,dc=<your realm here>
- Wallet. Was it created, what is in it?
- User mapping (Use the Enterprise Security Manager - part of the client install); open Realms, open OracleDefaultDomain within Enterprise Domains, third tab ("Database Schema Mapping"), select "Add".
Navigate to cn=Users,dc=<your realm>. Make sure Subtree level is selected, and use your globally identified user (you used guest) for schema; click OK.
Click Apply
You should now be able to logon as any user, defined in the OID under cn=Users,dc=<your realm> - orcladmin should do.
when logged on, show user will respond with "guest"; use select sys_context('userenv','external_name') from dual; to find out the real user.
The way you now set it up probably will fail to login with 'user lacks create session privilege' - for test purposes, grant create session to guest - in a 'normal' eenviroment, you would use enterprise roles, and assign these to the OID defined users, not directly to the "stub user" (guest in your example)

Similar Messages

  • Can we configure mirooring and log hsipping both DR in one database?

    Can we configure mirooring and log hsipping both DR in one database?
    If yes how it does work.
    Many Thanks
    Shashikala

    You
    CAN definitely use log shipping and mirroring at the same time. You can make use of log shipping to ship the log to a remote site for DR and have a database-mirroring, high-availability configuration locally. However, Sometimes it
    is a slight bit tiresome to set up log shipping going the other way once a failover has occurred, whereas mirroring is easy in that portion.
    Some DBA use this two together if you they have to use bulk-logged recovery model, since mirroring only uses the full recovery model and in another scenario in database mirroring, we cannot
    use mirroring database as reporting (cannot query) unless we don’t create snapshot out it, but in log shipping, the database is in standby mode so we can query if it is not being restored at the same time. 
    Please remember to click “Mark as Answer” on the post that has answered your question as it is very relevant to other community members dealing with same problem in seeking the right answer

  • I bought a iPhone and I was able to log into my iCloud with no problem and when I tried to update it it kicked me out and now it's asking me for the old apple user please help what can I do...?

    I bought a iPhone and I was able to log into my iCloud with no problem and when I tried to update it it kicked me out and now it's asking me for the old apple user please help what can I do...?

    Contact the original owner, and ask them to remove the device from their icloud.
    http://support.apple.com/kb/PH13695
    HTH

  • I have connected my ipad to my computer and logged into iTunes website. To restore my Ipad I have chosen language, country then it asks you to connect with cable and log into iTunes, I have done that, but cannot find this other information I need to resto

    I have connected my ipad to my computer and logged into iTunes website. On my iPad to restore my my data Ipad I have chosen language, country then it asks you to connect with cable and log into iTunes, I have done that, but cannot find this other information I need to restore from the website. Can you help me please? the 2 replies, I thank you, but this has not helped with my problem.

    Your post is somewhat confusing. To restore your iPad you use the iTunes application on your computer and connect your iPad. Select your iPad in the left column of iTunes on your computer and select General in the right column. You should find the restore choice there.

  • I upgraded to ios5 and now I can't log into my ipad with my password.  How can I fix this?, I upgraded to ios5 and now I can't log into my ipad with my password.

    I upgraded to ios5 and now I can't log into my Ipad with the password I had set and been using for the last 2 years.  What do I need to do to get logged in?

    You will have to format your iPad.  Looks like that's the only way to reset your password.
    Formatting your iPad
    Turn off your iPad, turn on iTunes, hold large button down on ipad while connecting the white ipad cord to your Pc.
    When the window prompts format iPad,let the button go and press format button on iTunes.
    That is how I solved the same problem.

  • When I try and log into iclouds on my iphone it comes up with the max free accounts have been used on this device. How do I reset this

    When I try and log into iclouds on my iphone it comes up with the max free accounts have been used on this device. How do I reset this

    See this previous discussion.
    icloud: The maximum number of free...: Apple Support Communities

  • Error upon logging into the database

    We've been having this intermittent occurrence, where the following error pops up upon logging into a database instance (SQL Developer is already open)
    java.lang.NullPointerException
         at oracle.dbtools.raptor.utils.TNSHelper$2.compare(TNSHelper.java:349)
         at java.util.Arrays.mergeSort(Arrays.java:1270)
         at java.util.Arrays.mergeSort(Arrays.java:1281)
         at java.util.Arrays.mergeSort(Arrays.java:1281)
         at java.util.Arrays.mergeSort(Arrays.java:1281)
         at java.util.Arrays.mergeSort(Arrays.java:1282)
         at java.util.Arrays.sort(Arrays.java:1210)
         at java.util.Collections.sort(Collections.java:159)
         at oracle.dbtools.raptor.utils.TNSHelper.getTNSEntries(TNSHelper.java:355)
         at oracle.dbtools.raptor.utils.TNSHelper.getEntry(TNSHelper.java:216)
         at oracle.dbtools.raptor.utils.Connections.populateConnectionInfo(Connections.java:645)
         at oracle.dbtools.raptor.standalone.connection.RaptorConnectionCreator.getConnection(RaptorConnectionCreator.java:62)
         at oracle.dbtools.raptor.dialogs.conn.ConnectionPrompt.promptForPassword(ConnectionPrompt.java:67)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:321)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:254)
         at oracle.jdevimpl.db.adapter.CADatabaseFactory.createConnectionImpl(CADatabaseFactory.java:60)
         at oracle.javatools.db.DatabaseFactory.createConnection(DatabaseFactory.java:534)
         at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:208)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:607)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:562)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.getDatabase(Connections.java:145)
         at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:874)
         at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:855)
         at oracle.dbtools.raptor.navigator.DatabaseConnection.openConnectionImpl(DatabaseConnection.java:117)
         at oracle.dbtools.raptor.navigator.AbstractConnectionNode.getConnection(AbstractConnectionNode.java:30)
         at oracle.dbtools.raptor.navigator.ConnectionFilter.getFactory(ConnectionFilter.java:92)
         at oracle.dbtools.raptor.navigator.ConnectionFilter$1.doWork(ConnectionFilter.java:117)
         at oracle.dbtools.raptor.navigator.ConnectionFilter$1.doWork(ConnectionFilter.java:102)
         at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:492)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)What's strange is if that person closes SQL Developer and refrains from using it for about 20 minutes, everything works fine the next time they re-open the tool & try to log in. The issue seems to affect the Developer team in a round-robin fashion too, never hitting the same person 2 times in a row.
    We're using SQL Developer in a Citrix environment, and no one else has the problem simultaneously. Does anyone see something useful in the error message above?
    Thanks
    --=Chuck
    SQL Developer Version 2.1.0.63

    A good number of folks are having problems with this same error message at login, and nobody seems to have found a fix.
    I believe I have stumbled upon, if not a solution, at least part of the answer. If you're logged into a 10.4 workstation, open a Finder window and click the "Network" icon. The first time you do this, you'll only see "Library" and "Servers" icons, but if you let it sit for a moment, other folders will magically appear. One of these is "My Network" which is the critical part.
    In Workgroup Manager, edit one of your users' home directory configuration. There's a URL piece, usually "afp://server.domain.com/Users" (which is what shows up in the window when you click on the "Home" tab for that user), and then there's a "Home" path that is usually something like "/Network/Servers/servername/Users/username". Trouble is, you've noticed that 10.4 doesn't put servers into the "Servers" path, but rather into the "My Network" path.
    So, if you change that "Home" path to read "/Network/My Network/servername/Users/username", it should work--with one caveat. Apparently 10.4 doesn't create the "My Network" path on a given client until you actually browse the network on that client. If you haven't logged into a 10.4 workstation and browsed the network, the "My Network" path won't be there, and you'll still get the error. Login as a local user, browse the network (so that the "My Network" folder shows up), logout, and then login as an Open Directory user, and it should work.
    I'm betting that 10.3, 10.4, and 10.5 all handle this issue differently, so if you're in a mixed-version situation, you may have to experiment to find a workable fix.
    Derndest thing I ever saw.

  • Report Viewer unable to log into the database

    I'm fairly novice to ZFD Inventory and have a reporting issue when attempting to run from ConsoleOne (1.3.6f). Receive a Report Viewer error that states "unable to log into the database. Ensure the ODBC driver...".
    TID 10094443 describes my symptom exactly but apparently doesn't apply. It applies to ZFD6.5 and we're running 7. Does the Oracle fix it refers to even apply to ZFD7 Inventory? If not, what does address my issue?
    Is it SQL now?
    Thanks for any help.

    Originally Posted by youngj
    I'm fairly novice to ZFD Inventory and have a reporting issue when attempting to run from ConsoleOne (1.3.6f). Receive a Report Viewer error that states "unable to log into the database. Ensure the ODBC driver...".
    TID 10094443 describes my symptom exactly but apparently doesn't apply. It applies to ZFD6.5 and we're running 7. Does the Oracle fix it refers to even apply to ZFD7 Inventory? If not, what does address my issue?
    Is it SQL now?
    Thanks for any help.
    If you are using the Sybase database with ZDM7, take a look at the file \database drivers\odbcreadme.txt file on the Novell ZENworks 7 Companion 2 CD (downloadable from novell.com if you don't already have it). Page 347 of the ZDM 7 Install Doc also mentions this procedure:
    http://www.novell.com/documentation/...dm7install.pdf

  • I can't log into apple mail with out it asking me for a password.

    I can't log into apple mail with out it asking me for a password. It never used to do this. What can I do to be able to send a email without having to type in a password?

    Hey it4daddy73,
    What mail provider are you currently using (Gmail, iCloud, Yahoo?).
    Open up safari and go to that providers website and log into your email.
    If you get in than open the mail app and click on mail on the top of the screen, then go down to preferences, click on the accounts tab, and type your password. Close the window and it will save.
    If this doesn't work I would even try deleting the account by going into mail/preferences/accounts and clicking the - button in the bottom left corner. Than re add and configure the account by pressing the + button.
    Hope this works, and good luck.

  • Can not log into server computer with any accounts - "You are unable to login to the user account "abcdefg" at this time. Logging in to the account failed because an error occurred."

    I have a Mac mini running the latest version of OS X and Server. Been running fine and flawlessly. However, I had a strange problem with the iCloud preferences panel crashing when I tried to access it, so I rebooted. Now I can not log into the system with any accounts. My master admin account (along with all the others) gives me the error:
    You are unable to login to the user account "abcdefg" at this time. Logging in to the account failed because an error occurred."
    I am able to see the server from other macs and I can log into it using the same account, but it only shows me a few of the shared folders I have access to but NOT to my main directories.
    Rebooting into Command-R and doing a disk utility, I try and repair permission on that drive and get a bunch of errors like:
    ACL found but not expected on Users
    Repaired "Users"
    ACL found but not expected on Users/.localized
    Repaired "Users/.localized"
    ACL found but not expected on Users/Shared
    Repaired "Users/shared"
    ACL found but not expected on Users/Shared/.localized
    Repaired "Users/Shared/.localized"
    Permissions repair complete.
    But rebooting is no joy...same problem. Any idea what is going on or how to repair it? Should I do a time machine restore? Complete new OS X install? Any idea what is causing this or how to salvage it?

    Got everything to re-install and it worked fine...for a few hours. Then I came in to find ALL of my network users deleted. Just GONE. Then found out the Open Directory was trashed and was unable to open, recover or restore from a backup. Looks like I may have a bad drive here.
    I installed a new drive in the system, re-installed and so far (for a couple of hours anyway) the system seems to be working and stable.

  • I just bought a (used) Iphone 3gs for wife and it had angry birds and $89 Navigation on it (I paid extra for it).  Once updated and logged into my I-tunes it no longer works? How can I make those apps work?

    I just bought a (used) Iphone 3gs for wife and it had angry birds and $89 Navigation on it (I paid extra for it).  Once updated and logged into my I-tunes it no longer works? How can I make those apps work?

    Apple doesn't have anything to do with this other than enforcing the DRM protection. The developers of this content expect to be paid if someone wants to use their content. When you purchase content in the app store, you purchase a license to use the content. This license does not permit you or anyone else to resell or give this content away. The individual you purchased the phone from simply does not have the right to sell or give away any purchased content on the phone. You were deceived.

  • Convert flat file to XML document and store into Oracle database

    First:
    I have a flatfile and created external table to read that file in Oracle
    Now I want to create an XML document for each row and insert into Oracle database, I think that XMLtype.
    Could you please provide me some information/steps.
    Second:
    Is there performance issues, because everyday I need to check that XML document stored in the database against the in coming file.
    Thank You.

    Oracle 11g R2 Sun Solaris
    Flat file is | (pipe delimited), so I did create an EXTERNAL Table
    row1     a|1|2|3|4
    row2     b|2|3|4|5
    row3     c|6|7|8|9
    I want to store each record as XML document. So it will be easy to compare with next day's load and make insert or update.
    The reason is:
         First day the file comes with 5 columns
         after some days, the file may carry on some additional columns more than 5
         In this case I do not want to alter table to capture those values, if I use XML than I can capture any number of columns, CORRECT!. Please make me correct If I am wrong.
         This is the only reason to try to use the XMLType (XML Document)
         On Everyday load we will be matching these XML documents and update it if there is any column's value changes
    daily average load will be 10 millions and initial setup will be 60-80 millions
         Do I have anyother option to capture the new values without altering the table.
    Please advise!.

  • Get the data  from excel and insert into the database

    I want to read the data from excel file, get the data from excel and insert into the database.

    You can use the Apache POI HSSF API to read data from Excel files and you can use the Sun JDBC API to insert data in database.
    This has nothing to do with JSP/JSTL.

  • My Macbook Pro's iTunes App was logged in as someone else. I logged out of that account and logged into mine, but I found that the app still shows all of the previous account's content. None of my apps, songs, or movies are there!

    My Macbook Pro's iTunes App was logged in as someone else. I logged out of that account and logged into mine, but I found that the app still shows all of the previous account's content. None of my apps, songs, or movies are there! iTunes 12.1.0.50 on OS X Yosemite version 10.10. Why is iCloud doing this, and how do I view my content again?

    MacBook Pro  / Mozilla Firefox / Netflix / Silverlight Update solved - DON'T DWNLOAD FROM NETFLIX
    I solved this problem tonight. I have a MacBook Pro with 10.5.8. I know, it's old. But I love my Netflix and I recently noticed that Firefox plays Netflix much better.  Then I suddenly got this message that I needed to download the latest Silverlight - it only takes 30 seconds! - WRONG.   However, after much searching, I finally did the steps in order and it worked.  
    This was after repeatedly downloading Silverlight from the Netflix site without success.  So here's what I did:
    1. Went to http://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx
    2. Followed the directions. I felt like such an idiot for not doing it right before.
    3. Go to your hard drive and search for "Silverlight" to locate ANY existing Silverlight files: .dmg, etc.
        [also check your Libary/ Internet Plug-ins, but the above search is faster]
    4. Drag it all to the trash and empty it.
    5. Go back to the Get  Silverlight page and click on the Install on that page, not the Netflix site.
    6. Note the steps for Safari or Mozilla Firefox - I wanted Firefox, so I follwed those instructions.
    7. Once it's installed, close all the browsers and Restart that bad boy. Right away.
    8. Open a browser, go to Netflix and proceed to joyfully rot your brain with Netflix content. Yay!

  • Total no. of users logged into the database

    Can we find out total number of users logged into the database? I do not have DBA privileges.
    If it is not possible by a straight SQL then do I have any other options?
    Thanks.

    You can find the list of all users using the query "Select * from V$Sesssion_connect_info". This requires access to system tables. But this query gives the OS user information and not the database user information.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Krishnan:
    Can we find out total number of users logged into the database? I do not have DBA privileges.
    If it is not possible by a straight SQL then do I have any other options?
    Thanks.<HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • CONVERTING SMARTFORM INTO PDF AND PRINTING DIRECTLY

    Hai guys,    I got a problem. First the Smartform I created doesnt show all TABLE LINES(the rows coloumns)... so I have converted the SMART FORM to ADOBE FORM PROGRAMITICALY ... now in order to PRINT .. one has to first SAVE the FORM(adobe form) onto

  • Migration problem from 3.2 to 3.5

    hi, I had some problem with migration of an existing application from weblogic personalization server 3.2 to weblogic personalization server 3.5.I am not able to migrate the ruleset from 3.2 to 3.5.I have followed all the instructions in the migratio

  • TableView Iterator in WebDynpro as in BSP

    Hi all, i'm planning to move from BSP to WebDynpro ABAP and have a question: Does WD ABAP provide the same kind of <htmlb:tableView> as BSP? Especially, does it support the concept of an tableview iterator? Thx & Regards, Daniel

  • Firefox won't open normally. Only opens in safe mode. Help?

    I was just surfing and listening to spotify (separate app) on Windows 8 and all of a sudden all of my applications that i had open froze. i turned off the computer and turned it back on and everything worked normal except for firefox. it just kept gi

  • SWIG - byte array as IN parameter

    Hello J-Programmers! It is about native calls. I have a remaining problem for weeks. SWIG is used to generate JNI code so as to build a Java interface of a home-made native library. The goal is to "pass a byte[ ] from Java to C as an input parameter"