SQL Developer: Windows Authentication on Linux

Hello.
I have trouble getting SQL Developer to authenticate using "windows authentication" and a MS SQL server 2005. I'm on a Linux OS. Authenticating "normally" is no problem, however only windows authentication will be allowed in near future. Does anyone have success using this option? It simply gives me an error that it is unable to login.
Hope anyone can be of help. Thanks in advance.
Stefan

Just wondering why the option would be there in the linux version (which is different in other areas than the windows one).
Is it not possible using Kerberos perhaps?
regards

Similar Messages

  • Sql developer + windows authentication

    Hi,
    Is it possible to use windows authentication to connect to windows databases when using sql developer? From what I have seen, it seems that it is not straight forward.
    Is ther any kind of work around?
    Thanks in advance for any help
    Seastian

    It is, but it it's complicated - at least from what I have experienced.
    First you need the jtds-1.2.1.jar on your machine (a tutorial here..http://www.oracle.com/technology/products/database/sql_developer/files/viewlets.html) - it doesn't mention that you need to unzip the file (from sourceforge.et) and add the SSO directory to your windows PATH variable.
    It gets complicated depending on the Win Server (e.g. clustered)
    On the Hostname I had to add this "ip adress":1433;instance=CVDEV instead of just the server's ip\CVDEV as you would do in a win connection
    And you get disappointed, from what I found out, you need a connection for each of the databases there (e.g. master, temp, etc) it doesn't show all the databases on the server under the same connection

  • Having trouble connecting SQL Developer to database on LINUX machine

    Having trouble connecting SQL Developer to database on LINUX machine
    Hello,
    I am trying to connect my windows 7 home premium machine to an oracle database 11g on a RedHat 5 machine using SQL Developer. i got this error message on SQL Developer
    Status : Failure - Test failed :The Network Adapter could not establish the connection
    on Linux
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                03-APR-2013 16:13:13
    Uptime                    7 days 22 hr. 16 min. 41 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.X.X.X)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orc11g" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11gXDB" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11g_XPT" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL> and TNSPING
    tnsping 172.x.x.x
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 11-APR-2013 14:32:17
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=172.x.x.x))(ADDRESS=(PROTOCOL=TCP)(HOST=172.x.x.x)(PORT=1521)))
    OK (0 msec)
    [oracle@ltebilling ~]$Tnsnames.ora On Linux ,
    ORC11G =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orc11g)
    )Listner on Linux ,
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    )/ect/hosts Linux ,
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    172.x.x.x             LTEBillingand there is no problem of ping linux from windows
    Edited by: user11309581 on Apr 11, 2013 3:16 PM

    yes really i'm already enaple the port 1521 and SELINUX=disabled
    [root@ltebilling ~]# /etc/init.d/iptables status
    Table: filter
    Chain INPUT (policy ACCEPT)
    num  target     prot opt source               destination
    1    RH-Firewall-1-INPUT  all  --  0.0.0.0/0            0.0.0.0/0
    Chain FORWARD (policy ACCEPT)
    num  target     prot opt source               destination
    1    RH-Firewall-1-INPUT  all  --  0.0.0.0/0            0.0.0.0/0
    Chain OUTPUT (policy ACCEPT)
    num  target     prot opt source               destination
    Chain RH-Firewall-1-INPUT (2 references)
    num  target     prot opt source               destination
    1    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
    2    ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           icmp type 255
    3    ACCEPT     esp  --  0.0.0.0/0            0.0.0.0/0
    4    ACCEPT     ah   --  0.0.0.0/0            0.0.0.0/0
    5    ACCEPT     udp  --  0.0.0.0/0            224.0.0.251         udp dpt:5353
    6    ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:631
    7    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:631
    8    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
    9    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:1521
    10   ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:22
    11   REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibitedbut from windows system when i'm try tnsping i got this error
    C:\Windows\system32>tnsping orc11g
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 11-APR-2
    013 14:44:09
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    D:\app\ubai\product\11.2.0\dbhome_2\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x
    .x)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orc11g))
    TNS-12535: TNS:operation timed out
    C:\Windows\system32>

  • SQL Developer: Windows 7 64-bits double numerical entries

    I am using sql developer windows 7 64-bits version 64-3.2.20.09.87-no-jre.
    I am entering data directly on tables.
    Sometimes when I use numeric pad to enter numbers, double entries appears on the first digit.
    For example: entering 1234
    it appears 11234 - with first numeric entry appearing twice.
    This also happens with the past versions, different notebook brands.
    How do I solve this problem?

    997844 wrote:
    Hi can anyone advise
    The Problem
    We are currently using Oracle SQL Developer 1.2.1.3213 to administer to the oracle database, unfortunately, this version does not play well with a 64 bit environ. The current airbus standard for Oracle SQL Developer which is happy with Windows 7 64 bit is version 3.1.07, again unfortunately, this version does not support versions of the Oracle database less than I think it is 8. Budget precludes the option of upgrading to a newer version of dbase.
    The Question
    Is there a version of Oracle SQL Developer that will meet our needs for windows 7 while remaining on the same version of the oracle database, or are there other competing products that you could recommend that will fit the bill. The product will require a GUI I don’t want to go back to entering SQL at the command line.
    regards
    Kevin" this version does not support versions of the Oracle database less than I think it is 8."
    What do you mean by this statement?
    SQL Developer is just a client. Clients do NOT have to be exactly version matched to a database. I am running SQLDeveloper 3.2 on a Win 7 Pro 64-bit desktop and my databases are a mix of 10.2.0.4 and 11.2

  • Get an error for changing the windows authentication mode to the both SQL and windows authentication mode

    I installed the SQL server Express 2008 R2 and then SQL Server Management Studio 2008 R2 . But during the installation, I could not choose the both SQL and windows authentication mode and an error accrued so I did that just with windows authentication mode. 
    Now, I want to change the windows authentication mode account to the SQL authentication mode but it shows me an error which is you do not have permission (Although I am the administrator in windows), what can I do?
    Following steps are the steps that I went but I got an error:
    Server properties >> security >> choose the option of SQL Server and Windows Authentication mode 
    and the error that I got is attached(access is denied)  
    Can you please help me?

    You can change the setting after you gain admin rights to your SQL Server. You don't admin rights automatically, you have to explicitly add yourself during the install
    Here's a guide on how to (re)gain those rights:
    http://v-consult.be/2011/05/26/recover-sa-password-microsoft-sql-server-2008-r2/

  • SQL Developer 1.2 - (ADC) Linux - How to turn off GUI activity logs

    I have two questions:
    1. I am an internal Oracle engineer, trying to configure SQL Developer
    to run within ADE - to debug SYS-installed DBMS packages.
    If there is already an internal cheatsheet/wiki page on how to do
    this, could you please point me to it? (Since this is a public forum,
    please let me know if I can send you a direct internal mail to get
    this info).
    2. I installed the latest rev (sqldeveloper-1.2.29.98-1.noarch.rpm) on my
    ADC Linux box, and I get outputs (stderr I'd presume) on my launch
    window - xterm/xemacs. Is there a switch to turn this off? I do not want
    to use a shell redirect because I don't know if these are coming out of
    stderr or stdout - and thereby miss out on some legit errors.
    [oracle/tklocal> reloadBuffers(): 60 nodes checked in 0.010883 s
    reloadBuffers(): 60 nodes checked in 0.007401 second(s)
    reloadBuffers(): 60 nodes checked in 0.005423 second(s)
    reloadBuffers(): 60 nodes checked in 0.009839 second(s)
    reloadBuffers(): 60 nodes checked in 0.016451 second(s)
    and on and on
    This seems to happen whenever my mouse scopes out of SQL Developer
    and into another window and back.. but this could also be a periodic output,
    I am not sure.
    Thanks, Ram                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    For 1: there is an internal site for SQL Developer (sqldeveloper.oraclecorp.com). It may provide details about internal lists etc. you can use (although I can't verify at the moment, since it appears to be down for maintenance).
    For 2: These messages are debug diagnostics. They really ought to be turned off by default in SQL Developer, but it seems like they aren't for some reason. You can switch them off by adding the following line to sqldeveloper.conf:
    AddVMOption -Dide.AssertTracingDisabled=trueThanks,
    Brian

  • Connecting to MSSQL Windows authentication from Linux

    Hi,
    From linux (OIM) environment we need to connect to window authenticated MSSQL server.In windows we set sql.dll file.How to do in linux?
    Thanks!

    There is a database library that can provide you with the additional options. It's here http://jtds.sourceforge.net/
    With it, you can provide domain authentication credentials.
    -Kevin

  • SQL query (Windows) to Oracle (Linux)

    Hi,
    I have an Oracle on Linux, it is an Oracle XE. From Windows 7, I would like to access this Oracle Linux using any SQL query software. So, to do it, I would like to know:
    1) which components do I need to install ?
    2) how can I setup the components or the operating system or Oracle?
    4) where I can download the components? and what would be the name of the components?
    4) which SQL software I can run on Windows  to access Linux directly using the components or some settings on this software?
    5) are there any software that it is free to download?
    tks.

    ac01e371-bc09-4b23-81d2-b251ca9edd1e wrote:
    Hi,
    I have an Oracle on Linux, it is an Oracle XE. From Windows 7, I would like to access this Oracle Linux using any SQL query software. So, to do it, I would like to know:
    1) which components do I need to install ?
    2) how can I setup the components or the operating system or Oracle?
    4) where I can download the components? and what would be the name of the components?
    4) which SQL software I can run on Windows  to access Linux directly using the components or some settings on this software?
    5) are there any software that it is free to download?
    tks.
    Oracle SQL Developer Downloads</title><meta name="Title" content="Oracle SQL Developer Downloads…
    SQuirreL SQL Client Home Page</title></head><body><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 …

  • Issue Install SQL Developer - Windows 7 64 Bit

    I am trying to install SQL Developer 3.2 on my Windows 7 - 64 bit laptop. When I attempt to install and put in the Java path I get the following error:
    "Cannot find a J2SE SDK installed at path: ;C:\Program Files\Java\jdk1.7.0\bin."
    I tried using the version 6 path and it did not work either.
    Can someone please advise?
    Thanks for your help!
    NS

    Does your path really start with ';' - if so, that's wrong.
    Also, take out the \bin, should look something like this
    C:\Program Files\Java\jdk1.7.0_05

  • SQL Server Window Authentication Slow

    Hi
       We are using SQL Server 2012. When we run our applications with window authentication it runs really slow. But if we use same application with database user authentication then it runs really fast.
        Any Suggestion?
    thanks
    Drew

    Hi Drew,
    When you use Windows Authentication I assume your are using domain accounts (no local account). Your database server has probably some issue connecting to Active Directory. You might have similar delay logging on to the server using a domain account and
    or rebooting the server might also be slow. Most likely your DNS server settings on that server or on your client are incorrect or out of date.
    You can check this from the Command Prompt with the IPCONFIG.EXE /ALL command. Make a note of configured DNS servers. The configured DNS servers should ONLY be the DNS servers from the Active Directory domain (typically those are the same servers as the
    domain controllers). You should remove any DNS servers from the Internet.
    Why does this matter? You may ask. SQL Server needs to connect to the domain controller to verify your credentials. to that it first needs to know the IP address of the domain controller. This information is stored on a DNS server in your Active Directory
    domain, not on public DNS servers on the Internet. If your server is configured with public DNS servers from the Internet, requesting this information will fail and cause an delay until either a correct DNS server is contacted or the domain controller is contacted
    using legacy (NTLM) methods.
    You may have a more complicated situation if more Active Directory domains are involved (e.g. domain trusts, forest trusts, complex nested group memberships.), or if the configured Domain Controller is located at another site and is only connected by a slow
    link, or there is actually a performance issue with your domain controllers. In that case your Active Directory Administrator may supply with more information.
    In short: check your DNS server settings.
    Hope this helps.

  • SQL Developer Windows Config

    Hi all,
    I used to have a window in SQL developer which would display information on my stored procedures such as compiled, compiled with errors etc. It also gave a list of compile errors and gave line numbers.
    I seem to have lost this window from the bottom of my screen and cannot seem to get it back.
    Is anyone aware of how I can return to the default layout or get this window back?
    Thanks for your help

    A question in a similar vein, if I may...
    I've been trying to find the Compiler-Log window off and on all day...and I just can't find it!
    I created a package that returned a warning that it did not compile properly, but I cannot find the list of statements that caused the errors.
    In SQL Developer 1.5.5 I was able to see an option to Compile the package when I right-clicked on the package. That would open up a 'Compiler - Log' window and show the error messages and the lines they occurred on.
    However, I am now using SQL Developer 2.1.1 and when I right-click on the package I do NOT see the option to Compile. I see a list: Edit / Run / Debug ... instead of: Edit / Open / Run / Compile / Compile for Debug.
    I am assuming that the Compile and Compile Log options were not removed from SQL Developer (cause that would be more than just a pity), and that I am missing something so obvious that I can not see it.
    Can anyone tell me how I can see the list of errors and the lines they are on so I don't have to keep running SQL Developer 1.5.5 just to see them???
    Thank you.

  • Microsoft JDBC 2.0 driver for SQL:  Integrated Windows Authentication?

    Has anyone had success with the MS JDBC 2.0 driver for SQL and Integrated Windows Authentication in distributed mode (Multiserver)?  At best, we can get server-to-server authentication.

    Hello Thomas,
    You may want to download the driver again and install it again.
    heres a sample xml tag in the config.xml:
    <JDBCConnectionPool
    DriverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    InitialCapacity="3" MaxCapacity="12" Name="MSpool"
    Password="{3DES}fUz1bxR0zDg=" Properties="user=uid"
    Targets="myserver"
    URL="jdbc:microsoft:sqlserver://mydbserver:1433"/>
    ensure that you follow the instructions from Microsoft. For using 2000
    driver you will need to have
    Install_dir/lib/msbase.jar and Install_dir/lib/msutil.jar in addition to
    Install_dir/lib/mssqlserver.jar in the CLASSPATH.
    hth
    sree
    "Thomas" <[email protected]> wrote in message
    news:3c91ec0e$[email protected]..
    Hi,
    Has anybody used the JDBC 2.0 driver for sql server 2000 downloadable from
    the
    microsoft website?When I try using it with WL 6.1 sp1 it says it can't load
    the
    driver.I try viewing the class file from the jar file using the jar utility
    it
    gives an unknown Zip format error.Anybody has any solution for this ?If
    anybody
    has managed to work with this microsoft driver i will be grateful if they
    provide
    me with a solution.
    Thanks
    Thomas

  • SQL Developer window

    Hi,
    I have SQL Developer 1.1.2.25. I keep many sql windows open to do different. Whenever I go back from one window to the other and so on, all of a sudden, the windows come down to the bottom. This way, I can see both the windows in the same page, but then the problem is that the result shows up in such a small space that it becomes difficult to scroll down and it all looks so confusing. I dont want that happening. I want to be able to switch back and forth to any window i want. Please advise at the earliest. I'm going crazy with this sql developer. Pls advise soon. Thanks.

    Hi,
    I guess I have not mentioned my query clearly. Ok, in SQL Developer, for instance I hv two sql windows open, for eg. abc and xyz. i have done a select statement in the first sql window, for eg. select * from employee_information where employee_type = 'manager'. now in the xyz sql window, I have a select statement select * from employee_information where employee_type = 'administrative' . Now I hv two different results in abc sql window and xyz sql window. Now, for eg. I want to look at both the results, i go to abc, then xyz and so on by switching back and forth.
    So after I do this couple of times, all of a suddent, automatically the second sql window (xyz) comes down, which means, instead of both the windows being vertical side by side, they now come horizontal. So my abc window is on the top, followed by the result of my sql query. Then comes my xyz window, followed by the results of the sql query.
    I dont want that to happen. I want to be able to open any number of sql windows side by side vertically so that I can switch back and forth.
    Any advises.

  • Running SQLs in background in batch mode via SQL developer ( windows 7)

    Hi
    Can anybody share any tips to run a set of SQLs in background in batch mode via SQL developer in Windows 7 environment
    am trying something as below but not succeeding though
    1) Create a .txt file name 'mysqlfile.txt' in desktop which contains the below statements
    Create table A
    Create table B
    2) Create a .bat file name 'run.bat' and kept in desktop which contains the below statements ( syntax may not be correct though)
    sqldeveloper -s <DBusername>/<pwd>@//<Hostname>:<port>/<SID>@<C:\Users\<username>\Desktop/mysqlfile.txt>
    3) Double click 'run.bat'
    Regards
    -Learnsequel

    SQL Developer doesn't have a command-line interface to support what you're looking for.
    You could use SQL*Plus.
    We have some requests on the Exchange in this area you could add your vote to. This is an area we are investigating for future releases.

  • SQL and windows authentication login

    Please clear my doubt.
    If login is windows authntication, we can not lock and expire that account right. We can just disable that account.
    We can not do lock the account manually, if it is windows and sql logins.
    Please clear my doubt

    Hello Shashikala,
    In SQL Server you can manually disable a Windows and SQL Logins, but you can't lock them, you only manually unlock a SQL Login.; a SQL Server Login can be locked by SQL Server, if e.g. the password period has expired.
    Windows Logins can also be locked, but that happens on OS / AD level, not on/from SQL Server.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for