Oracle OS authentication through ODBC from Windows to UNIX

I have a third party application on Windows 2003 Server that I will use to write data to an Oracle 10g database on HP UNIX. The software vendor says I need to start the application and the login that is running the application needs to be windows authenticated to the Oracle database in order to insert or select data. I have setup OPS$ accounts for operating system authentication but the ODBC returns a SQLConnect to "ODBC" error -1. How can a Windows user do a operating system authentication to an Oracle database on a UNIX platform? Thank you for your help.

Hi,
What is the error message?
The ODBC driver doesnt do any sort of authentication, it just passes on what you give it to the client/networking layer. As such, I'd expect you to have the same issue making a sqlplus connection from the client machine, so a forum that deals with pure client connectivity may be a better place to post your question.
The above assumes however, that your problem is specific to OS AUTH, and the app isnt running as a Service, an IIS app, etc. In that case, the user the process is running as may not be who you think it is.
Can you connect ok without using OS Auth? (ie, supplying a username/password)? There were permissions issues in the base 9201 and 10201 client install that prevented Oracle client software from working at all unless you are an admin user.
Hope it helps,
Greg

Similar Messages

  • Hello, How do I tell sql+ to spool output file from windows to Unix server?

    Hello, How do I tell sql+ to spool output file from windows to Unix server?
    I am new to SQL+ and just learned how to spool the file. But file is saved in my local windows enviroment and since it's 2GB in size...I want to spool it directly to another remote unix server.
    Pls answer in detail... I have been to most of the thread and didn't see relevant answer to above question.
    Am I suppose to develope some script which FTP the spool file directly to the server I want to
    or
    i Have to use UTL_FILE Package ?
    Thanks for reply

    You may not be able to...
    SQL*Plus can only spool to the local machine. If you have mapped a directory on the Unix server from your Windows machine, you can specify that directory in your SPOOL command.
    You could telnet to the Unix server, run SQL*Plus there, and spool the file to a local (Unix) directory.
    If the Unix server is also the Oracle database server, you could use the UTL_FILE package rather than using SQL*Plus to spool a file.
    If the Unix server is also an FTP server, you could also FTP the file from your local machine to the server.
    Of course, I would tend to re-examine a requirement to regularly generate a 2 GB text file. It seems likely that there is a better way...
    Justin

  • Ora-25215 from windows to unix - please help

    I have successfully set up streams replication from unix to windows -- it works beautifully!
    However, when I set up streams with a different set of tables going from windows to unix, I get the propagation error, "ora-25215: user_data type and queue type do not match"
    I have been all over metalink and the internet trying to find a solution or explanation, and there is very little out there. I found a dozen hits on my metalink search on ora-25215 and one of them was "How to resolve ora-25215..." Alas, it really doesn't address a fix for simple streams, it goes into setting up a payload, etc...
    Like I said, my unix to windows works like a charm, but unix to windows doesn't. By the way, my windows is 2k and my unix is solaris 8. Anyone have any ideas for what the problem is?
    Thanks,
    jimmy

    Jimmy,
    Make sure your propagation is configured correctly. It is also possible to get this error in Oracle9iR2 if you use the wrong queue name or schema when configuring propagation.
    Janet

  • Migrating database from windows to unix

    Can anyone, please suggest me some reading on migrating a database from windows to unix? Thanks

    Yes an export import is the most likely migration path you have. There is another option. You may install, just temporarily a 10g environment on the windows platform, then upgrade using the DBUA from 8i to 10g on the same platform. This way you will make sure you don't miss a piece of data during the migration process.
    Once your database is at the 10g platform, you may proceed with a transport tablespace from 10g win to 10g unix. Violà, your database will be on the 10g platform.
    Next, deinstall the windows temporary 10g installation.
    Notes:
    1. Make sure your 8i db is at the latest patchset available at 8i (8.1.7.4.0)
    2. Define which unix platform you are referring to. It's because of endian issues.
    ~ Madrid.

  • ABAP Adaption while migrating from Windows to Unix

    Dear All,
    I am working on a project where SAP system has been migrating from Windows to Unix os. Because of this all ABAP which are using Files, Operating system command has to be adapted as well.
    How can I get such a list of ABAP objects which will be affected by this migration.
    Example I can look for Dataset command, External OS Commands and so on..
    Please advice if there is a straight forward way to get such a list?
    Your prompt response would be higly appreciated.
    Thanks in Advance
    Hemendra

    Hello -
    You need to visit URL - System Copy and Migration
    Also refer to SAP note 547314, and the System Copy Guide for your SAP
    release on SAP Service Marketplace :
    http://service.sap.com/instguides -> <SAP System> -> <Release>
    ->Installation.
    Regards.

  • Tnsping timed out using dg4odbc from Oracle to MYSQL through ODBC

    Hi,
    I encountered problem when trying to connect from Oracle to MYSQL using dg4odbc, hope you can shed some light
    Oracle database is 11.1.0.7 on SUSE Linux 64-bit.
    Since the application which runs on MYSQL DB only offers ODBC driver on Windows platform, so I installed the 32-bit ODBC driver (from ServiceNow) on a 32-bit windows server (driver download from http://wiki.service-now.com/index.php?title=ODBC_Driver) .
    created system DSN: MYSQLDEV, The DSN connection works fine. I then installed Oracle 11.2.0.1 gateway for ODBC 32-bit on the same windows server, the following configurations were done:
    On 32-bit Windows server:
    in gatewayHome\hs\admin
    initMYSQLDEV.ora:
    # HS init parameters
    HS_FDS_CONNECT_INFO = MYSQLDEV
    HS_FDS_TRACE_LEVEL = DEBUG
    in gatewayHome\network\admin:
    listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abcdes.sda.sdva.com)(PORT = 1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=MYSQLDEV)
    (ORACLE_HOME=C:\product\11.2.0\tg_1)
    (PROGRAM=dg4odbc)
    ADR_BASE_LISTENER = C:\product\11.2.0\tg_1
    stop and started listener on windows server and check listener status
    C:\product\11.2.0\tg_1\bin>lsnrctl status listener
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 29-MAR-2012 21:42:08
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=abcdes.sda.sdva.com)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 29-MAR-2012 21:11:36
    Uptime 0 days 0 hr. 30 min. 32 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\product\11.2.0\tg_1\network\admin\listener.ora
    Listener Log File c:\product\11.2.0\tg_1\diag\tnslsnr\abcdes\list
    ener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=abcdes.sda.sdva.com)(PORT=1521)))
    Services Summary...
    Service "MYSQLDEV" has 1 instance(s).
    Instance "MYSQLDEV", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    On Linux server where Oracle DB resides.
    Added the following tns entry "jelly" on the Linux server ORACLE_HOME/network/admin:
    jelly =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=TCP)
    (HOST=abcdes.sda.sdva.com)
    (PORT=1521))
    (CONNECT_DATA=(SID=MYSQLDEV))(HS=OK)
    tnsping from Linux server (64-bit) failed with timeout error:
    tnsping jelly
    TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 29-MAR-2012 21:12:38
    Copyright (c) 1997, 2008, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP) (HOST=abcdes.sda.sdva.com) (PORT=1521)) (CONNECT_DATA=(SID=MYSQLDEV))(HS=OK))
    TNS-12535: TNS:operation timed out
    tnsping from Windows server works fine: (added same tnsnames entry on windows server for testing purpose only)
    C:\product\11.2.0\tg_1\bin>tnsping jelly
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 29-MAR-2
    012 21:45:20
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\product\11.2.0\tg_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=abcdes.sda.sdva.com)(PORT=1521)) (CONNECT_DATA=(SID=MYSQLDEV)) (HS=OK))
    OK (20 msec)
    if listener is not listening to the service, then the tnsping on the windows server should fail as well.
    I don't know why only the tnsping from Linux failed, is it due to the 32-bit ODBC uncompatibility with 64-bit oracle server? or my configuration problem?
    Of course, when I created the DB link from oracle, the connection failed with
    create database link mysqldev connect to xxxx identified by "xxxxx" using 'jelly';
    Database link created.
    select * from tab1;
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from MYSQLDEV
    Thanks for your help,

    Hi Mike,
    This is part of the tnsping.trc file which contains the error. IP address is in the tnsnames entry with this tnsping.
    nsopen: opening transport...
    nttcon: entry
    nttcon: toc = 1
    nttcnp: entry
    nttcnp: creating a socket.
    nttcnp: exit
    nttcni: entry
    nttcni: Tcp conn timeout = 0 (ms)
    nttcni: trying to connect to socket 5.
    ntt2err: entry
    ntt2err: soc 5 error - operation=1, ntresnt[0]=505, ntresnt[1]=110, ntresnt[2]=0
    ntt2err: exit
    nttcni: exit
    nttcon: exit
    nserror: entry
    nserror: nsres: id=0, op=65, ns=12535, ns2=12560; nt[0]=505, nt[1]=110, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    nsopen: unable to open transport
    nsiocancel: entry
    nsiofrrg: entry
    nsiofrrg: cur = 53b9f8
    nsbfr: entry
    nsbaddfl: entry
    nsbaddfl: normal exit
    nsbfr: normal exit
    nsiofrrg: exit
    nsiocancel: exit
    nsvntx_dei: entry
    nsvntx_dei: exit
    nsopenfree_nsntx: nlhthdel from mplx_ht_nsgbu, ctx=53a7e0 nsntx=53ade0
    nsiocancel: entry
    nsiofrrg: entry
    nsiofrrg: exit
    nsiocancel: exit
    nsmfr: entry
    nsmfr: 2712 bytes at 0x53ade0
    nsmfr: normal exit
    nsmfr: entry
    nsmfr: 1528 bytes at 0x53a7e0
    nsmfr: normal exit
    nsopen: error exit
    nscall: error exit
    nscall: entry
    nscall: connecting...
    nsclose: entry
    nsclose: normal exit
    nladget: entry
    nladget: exit
    nsmfr: entry
    nsmfr: 264 bytes at 0x528900
    nsmfr: normal exit
    nladtrm: entry
    nladtrm: exit
    nscall: error exit
    nlse_term_audit: entry
    nlse_term_audit: exit
    Thanks,

  • Since the most recent Firefox update I have been unable to click through links from Windows Live to Firefox, but it works for Internet explorer?? Any explanations?

    Firefox is my default browser and since the most recent Firefox update I have been unable to click through links I receive from Windows Live Email to the Firefox browser, but it works if my browser is set to IE9?? I have checked the defaults settings and both are fine, so Any explanations or ideas on how to solve this?

    Take each of the following steps that you haven't already tried, until the problem is resolved.
    Step 1
    Restart the router. Many problems are solved that way.
    Step 2
    Change the name of the wireless network, if applicable, to eliminate any characters other than letters and digits. You do that on your router via its web page, if it's not an Apple device, or via AirPort Utility, if it is an Apple device.
    Step 3
    Run the Network Diagnostics assistant.
    Step 4
    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Enter the name of your wireless network in the search box. You should have one or more "AirPort network password" items with that name. Make a note of the name and password, then delete all the items. Quit Keychain Access. Turn Wi-Fi off and then back on. Reconnect to the network.
    Step 5
    You may need to change other settings on the router. See the guidelines linked below:
    Recommended settings for Wi-Fi routers and access points
    Potential sources of interference
    Step 6
    Make a note of all your settings for Wi-Fi in the Network preference pane, then delete the connection from the connection list and recreate it with the same settings. You do this by clicking the plus-sign icon below the connection list, and selecting Wi-Fi as the interface in the sheet that opens. Select Join other network from the Network Name menu, then select your network. Enter the password when prompted and save it in the keychain.
    Step 7
    Reset the System Management Controller (SMC).

  • Migrating an Oracle Forms 4.5 application from Windows Server 2000 to 2003

    We are upgrading a number of servers from Windows Server 2000 to Windows Server 2003 (Standard Edition, R2). Can we re-install Forms 4.5 on 2003 and what is involved. If not, what can we do.
    Kind regards,
    Malcolm

    Forms 4.5 has been desupported way before Windows 2003 was ever available. So, you can be sure that Forms 4.5 is not supported on Windows 2003. You could give it a try, but you could very well run into problems.

  • File Upload Performance using IE from Windows to Unix via HTTPS

    Hi,
    Is there any performance issue uploading a file
    using IE from Windows client to UNIX server via HTTPS?
    Before that, we were using HTTP protocol and everything run smooth
    Once we change to HTTPS, we might hit the "HTTP 500 Internal server error"
    Even though this does not happen all the time but still, it affect the overall performance of our system
    We'd tested other browsers such as Netscape, Firefox, Opera and we don't hit any problem with them
    Is there any way to improve the performance?
    Is there any site i can refer to? cause i need some explaination on how this could be happen
    Thanks

    Is there any performance issue uploading a file
    using IE from Windows client to UNIX server via
    HTTPS?With HTTPS, the contents of the files are encrypted while uploading. This might hit the performance in some cases.

  • Script for transfer the file from windows to UNIX machine

    Hi expert
    1. I neeed one script that will transfer the files from windows machine to UNIX machine.
    2. And the data updated in Windows file should also be update in UNIX file.
    3. Please send me the steps how can i schedule this script.
    Thanks in advance
    Regards
    Frnd

    It depends on what you need.
    It's possible to use:
    -winscp
    But that means using a program to drag and drop files. This is most commonly used.
    -setup samba on the unix system (the samba package/software needs to available for your unix)
    This requires some setup on the unix system, and your windows system (connect the unix system and put a share defined on the unix system to a driveletter on your windows system), but lets you easily make a batchfile which copies data from one windows drive to another. A batchfile can be scheduled using 'at'.

  • Migration BIEE repository from Windows to Unix

    Hi,
    has someone experience with migrating repository objects from a windows to Unix environment or vice versa? Are there any problems (different XML generated etc.)?
    Background: We are developing in a Windows environment but later we want to move to Unix. Until now no Unix server is available.
    Thanks,
    Marcus

    How is it at the GiantEagle (worked in Cranberry last year)?
    How exactly do you do a short-deck migration/promotion to UAT or PROD? How do you ensure that changes in the DAC make it into the UAT/PROD without killing the existing objects?
    Currently we have 3 env, DEV/INT/UAT/PROD and we're trying to write a policy manual to ensure that what goes on in DEV gets all the way into PROD without damaging INT, UAT or PROD.
    jrod.

  • Secure connection from Windows to Unix based Oracle

    Greetz!
    I hope this is the correct forum to post in for this. I am a .Net developer and I have need to authenticate to an Oracle DB on a UNIX server from a Windows server.
    I have a requirement for an excel spreadsheet that takes in a large amount of data and creates a pivot table and several worksheets a few times a day.
    It is saved to a SharePoint site where users can download it. We will be moving to SP 2010 in about 8 months but I can't wait for that (of course) and am not convinced that would help this issue.
    We are currently on 10g but in the process of 11g. The solution will likely run on 11g (place is nuts..nothing is certain)
    I cannot pass credentials using ODBC because it is clear text.
    The Oracle instances do not have Oracle Advanced Security turned on.
    Is it possible to pass a username/password from the windows server to the unix server securely (encrypted).
    Thank you!

    Depending on which version of UNIX you are migrating to, transportable tablespaces will require RMAN for conversion.
    select * from v$transportable_platform;The ENDIAN_FORMAT determines if conversion is needed. If one platform is BIG and the other is LITTLE, then conversion will be required.

  • Oracle-Backup from Windows to Unix-Samba over FTP

    Hello!
    I would like to set up backup for Oracle DB from Tcode DB13.
    <b>My SAP systems are installed on Windows (64 Bit).
    The backup data should be saved on the Unix-Samba share via FTP.</b>
    If I execute DB-Backup the backup is successful, BUT:
    The file names are very strange e.g. S3FV1~6
    The second problem is that the files will be written to the wrong directory
    (I have set the path to "sap/backup" and the files will be written to "sap").
    My question is:
    <b>Which FTP-server-parameters or settings in the init<DBSID>.sap are responsible for this issue?</b>
    The second problem I have:
    I have two SAP Systems installed on the same host.
    If I execute redo logs archive from DB13 I get the error "no files processing", because of I already executed redo logs for the other SAP system on the same host.
    How can I set up this issue?
    Thank you very much
    regards

    Hi Peter!
    Excuse me, but my problem is still open and it is very important.
    I have posted the similar post to the Forum "Data transfers", because it makes sence to ask not only Oracle-experts, but also experts in area data transfers.
    I think my problem is more FTP-server settings than oracle.
    BUT I am not sure.
    Please excuse me once again, if I have made mistake.
    Can you please recommend how to proceed with my question?
    Thank you very much!
    regards

  • Call Oracle Stored Procedure with Parameters from Windows Batch File

    Hi,
    I have an oracle procedure that requires two parameters to execute, start date and end date as such:
    CREATE OR REPLACE PROCEDURE insert_orders(
    pSTART_DT IN varchar2
    , pEND_DT IN varchar2
    I want to create a windows batch file to execute the procedure but want to be able to specify the parameters (ie start and end dates) in the batch file as opposed to changing the sql file that the batch file uses to execute the procedure but I don't know what the syntax is. I tried the following but it still doesn't work.
    Sql File: call_insert_orders.sql
    execute insert_orders('&1','&2');
    exit
    Batch File:
    sqlplus username/password @call_insert_orders.sql %01-jan-2010% %01-jan-2011%
    When I execute the batch file, my DOS window still prompts me to enter value 1 so I think it recognizes that there is a variable being used but is not able to fill in the actual value I specify. I'm not an experienced DOS/Windows Batch File person so I'm guessing it's my syntax that's screwed up. There is not a lot of documentation on this subject matter hence my post on this forum. Any helps would be appreciated.
    Thanks

    Hello,
    Just try the same DOS command without all the % sign.
    In MS-DOS, the % at the beginning and at the end of a string are for variables. Which means your batch is looking for a variable called 01-jan-2010 and a variable called 01-jan-2011, but those are the values you want to pass, not the name of variables.
    As they are not defined, nothing is passed to the sqlplus script, and that is why you are prompted for values.
    Hope it will help.
    Regards,
    Sylvie

  • Switching between apps launched through RemoteApp from Windows 2008 R2 server

    I have a problem with RemoteApp on Windows 2008 R2 Standard SP1.
    When I try to switch between apps, launched from RD Web Access web-page, it is not always succeded. Instead of it the target app blinks and I still remain at the previous app. In another words, the next app window remains behind the previous
    app window and I have to minimize the previous app before switching to the next app.
    Following the recommendations given by the TechNet Online Chat assistant, I've been installed all the available updates on that server from the Microsoft Update, but it didn't help us.
    Is there any way to resolve this trouble?
    Thank you.

    Hi,
    Thanks for posting in Windows Server Forum.
    Which version of RDP client you are using? I can suggest you to use RDP 8.0 for better assistance. 
    Remote Desktop Protocol (RDP) 8.0 update for Windows 7 and Windows Server 2008 R2
    http://support.microsoft.com/kb/2592687
    In addition there are available updates for RemoteApp for server 2008 R2, you can install and check the result.
    Available Updates for Remote Desktop Services (Terminal Services) on Windows Server 2008 R2 SP1
    http://support.microsoft.com/kb/2601888
    Hope it helps!
    Thanks,
    Dharmesh

Maybe you are looking for

  • How to connect external 24'' display to a Satellite A210?

    I am using an lcd tv as an external display for my satellite a210, connected with a vga cable. But I cannot just use the external monitor, I can only use both at the same time. Also, the maximum analysis I can get by using them at the same time is 12

  • When is verizon going to upgrade fios speed tiers?

    I'd like to upgrade my speed from 35/35 plan.  Does anyone know when Verizon is going to upgrade the fios speed tiers?  Compared to cable co docsis 3, fios is starting to look and feel slow.

  • Updated to ios6 and now it won't work in the car

    **** - this apple help is really not helping i updated my iphone to the io6 and now it doesn't work in my car.  Why's that?  I tried another iphone with the same problem, it was just updated to io6 and now nothing works ***

  • Code (not sql) injection by hackers via coldfusion

    Does anyone have any information on how hackers might inject code into my coldfusion files.  I am having a problem with hackers installing javascript links to their trojans inside the actual pages of my site.  I run the server with many different sit

  • Using Macbook as a HTPC, should I keep the battery in it?

    So today, I had a quick brown out from the wind. Since the macbook I use connected to my TV as a HTPC doesn't have a battery, it instantly turned off. I took the battery our cause it got real real fat. There is known issue with these batteries that f