Validating against a Windows NT Group in SQL Server

I am trying to access a SQL Server using a trusted Windows NT group that has been established. I have set up the group in the database's security and assigned it to the appropriate prepared statements but I'm not sure how to access it using Java for authentication of the connection. I can access individual logons with passwords, but it escapes me how to access the group so I dont have to use individual passwords to access the prepared procedures.
I am using JSPs for the front end if that makes a difference in the authentication.

Yes, I am using JDBC-ODBC.
I have gotten further in this problem. Here is where I am now.
I have managed to get the JSP to access the Java application to validate against the SQL Server group, but it is using the login name and password of who signed in to startup Tomcat instead of the person who is accessing the application through the JSP. Therefore, if an autherized person to SQL Server started Tomcat, then everyone can get in otherwise no one can get in.
I am shooting for not requiring the user to sign in to yet another application as they should be able to be authenticated through the trusted NT Domain group.
Is there something I should put in the JSP to pick up their user id to pass it along to the Java application? Should I be going down a different line of logic?

Similar Messages

  • "BCP Commit Failed" New Install On Windows 2008 R2 with SQL Server 2008 R2

    I am installing a new Netweaver install on a virtual machine loaded with Windows 2008 R2 and SQL Server 2008 R2. The install gets to the "Import ABAP" phase and just hangs. SAPINST says it is still running, but there is no activity to suggest there is anything going on. There are no errors in the main logs, but after digging a little I did find these errors in the SAPSDIC.log file.
    (IMP) INFO: EndFastLoad failed with <2: BCP commit failed:[Microsoft][SQL Server Native Client 10.0][SQL Server]Violation of PRIMARY KEY constraint 'BADI_CHAR_COND~0'.>
    (IMP) ERROR: EndFastload: rc = 2
    (DB) INFO: BADI_FILTER created
    (DB) INFO: BADI_FILTER~0 created
    (IMP) INFO: EndFastLoad failed with <2: BCP commit failed:[Microsoft][SQL Server Native Client 10.0][SQL Server]Violation of PRIMARY KEY constraint 'BADI_FILTER~0'. Ca>
    (IMP) ERROR: EndFastload: rc = 2
    (DB) INFO: BADI_IMPL created
    (DB) INFO: BADI_IMPL~0 created
    (IMP) INFO: EndFastLoad failed with <2: BCP commit failed:[Microsoft][SQL Server Native Client 10.0][SQL Server]Violation of PRIMARY KEY constraint 'BADI_IMPL~0'. Cann>
    (IMP) ERROR: EndFastload: rc = 2
    Anyone have any ideas as to what might be going on? I can't find anyone with this exact same error. And this is our first attempt at installing a system with Windows 2008 R2 and SQL Server 2008 R2. All of our other Windows SAP systems are on Windows 2003 and SQL Server 2005 and we're in the process of upgrading - this being the first system.
    Thanks in advance,
    Michael

    Set BCP_LOB=1 in your system environment
    Note 1156361 - R3load: Fastload doesn't support LOB-columns
    Markus

  • Can't install the Windows Update package KB2674319 (SQL Server 2012 SP1)

    Hi. I need to get the update of my MS SQL Server 2012 installation in order to get the SP1.
    When I run the Windows Update it appears to download well the package.
    Then when it begins to install  I get the error "84C4000E: Se ha producido un error con Windows Update" (our server is in Spanish).
    I have the last updates for Windows Server, a rebooted our server and the issue remains.
    Any idea of what should I do to get the SP1 update?
    Thanks in advance.
    Gustavo.

    Hi Gustavo,
    Based on your description, I suggest you should refer to the following articles. And then check if you can install the update successfully.
    SQL 2012 Server fails in Windows Update with error 84C4000E
    http://techtuxwords.blogspot.in/2013/10/sql-2012-server-fails-in-windows-update.html
    MS SQL Server 2008 R2 SP1 fails with error 84C4000E
    http://techtuxwords.blogspot.in/2011/09/ms-sql-server-2008-r2-sp1-fails-with.html
    If this issue still persists, please don’t hesitate to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Am failing to install Java IDM in a Windows XP machine with SQL Server 2005

    Hi,
    I am new to Java IDM . I had downloaded IDM 7.0 and trying to install. But i am failing to install Java IDM in a Windows XP machine with SQL Server 2005.
    I used .,
    JDK 1.5
    Tomcat 6.0
    Microsoft SQL Server 2005
    Microsoft SQL Server 2005 JDBC driver
    I got the following error while trying to connect the waveset database with Repository type as SQL Server 2005(JDBC Driver)
    com.waveset.util.ConfigurationError:
    ==> com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'waveset'. The user is not associated with a trusted SQL Server connection.
    what name i can specify in JDBC ... is there any need to create DSN for that ...........
    The Parameters that I have given for connection are:
    URL: jdbc:sqlserver :1433;DatabaseName=
    JDBC Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Connect as User:
    Connect Password:

    Do you have your SQL server set to Windows Authentication mode only?
    You should change it to allow mixed authentication. You can do this in SQL Server Management Studio under Server Properties -> Security.

  • Any comments on speed and robustness of RH Server running on Windows 7 and using SQL Server Express?

    Hi. Can anyone comment on their experience using RH Server on Windows 7 and using SQL Server Express? That is, is it stable and fast enough for delivering Web Help Pro documentation to support occasional viewer browses. (We would have approx 250 customers who would occasionally access the HTML docs that support our software.)
    Our company is not keen on spending $s on Windows Server and an MS or Oracle database.
    Thanks in advance.
    -Kurt

    Hi Kurt. You should have no problems with that configuration and user numbers. See Recommended OS/database combinations for RoboHelp Server « Technical Communication Suite

  • [Forum FAQ] How do I add an average line to series group on SQL Server Reporting Services column chart?

    Introduction
    In SQL Server Reporting Service (SSRS), you may need an average value on column chart.
    For the above chart, add an average score line to the chart, you can get which student’s score is larger than average score, and which student’s score is less than average score clearly. This document demonstrates how to add an average line to series groups
    on SSRS column chart.
    Solution
    To achieve this requirement, you can add another values to the chart, change the chart type to line chart. Set the value to average value of the series group and set the line to show only once by using expression. Please refer to the link below to see the
    detail steps.
    Click the chart to display the Chart Data pane.
    Add Score field to the Values area.
    Right-click the new inserted Score1 and select Change Chart Type. And then change chart type to line chart in the Select Chart Type window.
    Change the Category Group name to Subject. Here are the screenshot for you reference.
    Right-click the new inserted Score1 and select Series Properties.
    Click the expression button on the right of Value field textbox, type the expression below:
    =Avg(Fields!Score.Value,"Subject"))
    Click Visibility in the left pane, select “Show or hide based on an expression”, and type in the expression below:
    =IIF(Fields!Name.Value="Rancy",FALSE,TRUE)
    Name in the expression is one of the Students. Then only one line chart is be displayed by using this expression.
    Click Legend in the left pane, type Average_Score to the Custom legend text box.
    The report looks like below:
    Applies to
    Microsoft SQL Server 2005
    Microsoft SQL Server 2008
    Microsoft SQL Server 2008 R2
    Microsoft SQL Server 2012
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thanks,
    Is this a supported scenario, or does it use unsupported features?
    For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    in a supported way?
    Thanks! Josh

  • "Windows Authentication Mode" when SQL Server 200 and CF on different machines?

    Hi All,
    I am playing for two days with following problem. And still I
    did not able to get rid of it.
    I have installed SQL Server 2000 on machine which is my
    server (windows 2003 server) and this machine is my domain
    controller. I have user “ABC” user and I have added
    this user in administrator group.
    I have another machine where OS is Windows XP and CF 7 is
    installed. I create an ODBC Connection from Administrative Tool to
    my Database (windows 2003 server) successfully.
    Now when I create Data Socket in Coldfusion Administrator and
    when I select the my ODBC that I had created and when I Submit it
    then CF admin throughs the following message.
    Connection verification failed for data source: myTest
    java.sql.SQLException: [Macromedia][SequeLink JDBC
    Driver][ODBC Socket][Microsoft][ODBC SQL Server Driver][SQL
    Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
    Please Brother, I don’t have any Clue to solve it,
    Please help.
    One Important thing, All this working fine if my CF, and SQL
    Server are on same machine.
    Best regards,
    Shahid

    Hi Phil Thanks,
    Finally i able to configure it out..... following are the
    steps...
    I assume domain controller is properly configure.
    Following are the steps for the machine where SQL SERVER 2000
    is installed
    1- We need to create Login account for your domain account in
    SQL Server 2000 using Enterprise Manager.
    • Right Click -> New Login
    • Click to load the domain users, select any user from
    your domain that will connect to your SQL Server from LAN.
    Following are the steps for the machine where ColdFusion and
    IIS are installed.
    Step No. 1
    Stop ColdFusion MX.
    Backup your existing macromedia_drivers.jar file.
    Unzip macromedia_drivers.zip into the same directory,
    overwriting the previous
    macromedia_drivers.jar.
    You can download “macromedia_drivers.zip” from
    following URL
    http://kb.adobe.com/support/coldfusion/ts/documents/1a3c2ad0/macromedia_drivers.zip
    A new file, DDJDBCAuth03.dll, which is required for Windows
    Authentication, is also included in the zip file replacing the
    older DDJDBCAuth.DLL.
    Restart ColdFusion MX.
    ColdFusion MX loads the JDBC drivers inmacromedia_drivers.jar
    in the directory cf_root/lib. For example, with ColdFusion MX 7
    Server Configuration on Windows installed on drive C:, this would
    beC:\CFusionMX7\lib\macromedia_drivers.jar.
    Then restart Machine
    Step No. 2
    Configure all the ColdFusion Services to “Log On
    As” using the Domain User Account configured in SQL Server in
    the above mentioned step.
    Change the “Log On As” similar for the all other
    Cold fusion services (ColdFusion MX 7 ODBC Agent, ColdFusion MX 7
    ODBC Server, ColdFusion MX 7 Search Server).
    Step No. 3
    Restart the services; for the safe side reboot the system.
    Step No. 4
    Create ODBC (Control Panel -> Administrative Tool ->
    Data Sources (ODBC)) using the windows NT Authentication option to
    connect to database.
    Step No. 5
    Create Data Socket and Select the created ODBC connection in
    the Drop down (ColdFusion-> Admin)
    Thanks to all who participated in this discussion...
    With lots of Thanks to All particular to Phil who guided me
    in right direction,
    Shahid

  • How to access the datasource window in SSRS for sql server 2008 R2 for writing my query without having to go through the wizard?

    I have used SSRS a lot years ago with Sql Server 2000 and Sql Server 2005. I have written external assemblies, ... But now I have to do this with Sql Server 2008 (R2 -- which I realize I am way behind the times already but ...)  in sql server 2000 and
    2005 there was a tab for datasource to the left of the tab for design which was to the left of the preview tab. How do I get to the datasource window in sql server 2008 (r2) ?
    I see that datasource explorer.  But where can I get to the datasource window to edit my queries and so forth for sql server 2008 (R2)?
    Thanks
    Rich P

    I think I found the answer to my question --- just right-click on the the Data Sources or Datasets for editing connections and dataset queries.  I'm guessing it gets even fancier with Sql Svr 2012 - 2014.    Man, that's the one thing
    about coding platforms -- you let it go for a few years and come back, and everything has changed (well, a lot of things).  Now I need to figure out how to add an external assembly to SSRS 2008 (R2).
    Rich P

  • Windows 2008 64-bit SQL Server 2008 64-bit Linked Server fails - ODBC connects but has issues

    Installed the 64 but Oracle 11g client and Oracle ODAC. 
    From SQL Server Management Studio run script :  exec master.dbo.xp_cmdshell 'PING OracleHostNameHere'        Ping was successful
    OraOLEDB.Oracle shows up in the Provider list.  Run This Script:
    EXEC master.dbo.sp_MSset_oledb_prop N'OraOLEDB.Oracle', N'AllowInProcess', 1
    GO
    EXEC master.dbo.sp_MSset_oledb_prop N'OraOLEDB.Oracle', N'DynamicParameters', 1
    GO
    EXEC master.dbo.sp_addlinkedserver @server = N'Nav14', @srvproduct=N'Oracle', @provider=N'OraOLEDB.Oracle', @datasrc=N'TheOracleHostName'
    EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'TheOracleHostName',@useself=N'False',@locallogin=NULL,@rmtuser=N'TheUser',@rmtpassword='ThePassWord'
    Msg 15015, Level 16, State 1, Procedure sp_addlinkedsrvlogin, Line 49     The server 'TheHostName' does not exist. Use sp_helpserver to show available servers.
    Did the same process on a Windows 7 32 bit Enterprise - ODBC Works after installing ODAC
    ODBC worked, shows list of Oracle servers - picked the server - ODBC successful - MS Access able to use that ODBC service.
    In Windows 2008 64 bit installed both Oracle 11g Client and 64 bit ODAC - ODBC opens, the list of oracle servers doesn't populate, hard code in the host name - ODBC reports Success.
    Another Person Suggested:  Win7 64-bit with Oracle 11g. Oddly enough, it ran differently when I opened a command prompt window as administrator and ran setup.exe with the suggested command-line options:
    setup.exe -debug -printtime -printmemory -printdiskusage -logLevel finest
    While it had previously been failed both by running setup from the Explorer windows as administrator and by running it from the command line as administrator - it died every time at the same point mentioned by others in this thread - just after this message appeared in the log:
    Get view named [SummaryUI]
    ( I have tried re installing with no success)

    Windows 7 Enterprise 32-Bit
    Installed the version 12 for 32 bit ODAC and it worked. The key is to Install as Administrator once it is unzipped.
    Was able to set up Listener then
    Was able to set up ODBC using the ODAC. Connect MS Access 2010 to the Oracle views.
    Then, tried to install the 64 Bit onto Windows 2008 Server.
    It locked up during installation both times.
    Installed ODAC without an error.
    However, the ODBC setup will not provide a list of the servers in the ODBC  TNS Service Name listbox for Server 2008.
    In Windows 7, it populates the TNS Service Name.
    The list box in Windows 2008 is empty.
    Do you know what would cause that?
    The .ORA file scrips look the same on Windows 2008 as they do on Windows 7 except it does not have the (server = Dedicated) argument.
    Thanks.

  • Logical Aggregate Column (count(distinct)) Does Not Group for SQL Server DB

    When utilizing the count(distinct column_name) aggregate function within a Logical Fact source in the Business Model and Mapping layer in the RPD file the output in BI Answers is not grouping correctly for SQL Server 2008 database sources only. All Oracle database sources represent the same aggregate column correctly within BI Answers.
    I am using OBIEE version 10.1.3.3.3
    Does anyone know how to resolve this issue?
    Thanks in advance,
    Kyle

    I thought that I would update my current findings with this issue. If you display the report in BI Answers as a Pivot Table view the aggregate column displays properly, it does not in a Table or Compound Layout view for some reason. I am still working with Oracle Support on this.

  • SBO with Windows SBS 2003 Premium (SQL Server)

    Hi!
    Sorry for my poor English, I'm french. We have signed for SBO but have a little doubt with our Server OS. We have Windows 2003 Small Business Server Premium (with SQL Server 2000). I don't know exactly the version of SQL (I think Workgroup or Standard).
    Can SBO been installed on this OS and SQL please ?
    Thank you in advance for your help !
    Chris.

    Hi Christophe.
    I install in Windows 2003 the Standard Edition for Sql server with Service Pack 3.
    I don't have any problem with that version.

  • Windows 8.1 and SQL Server 2012

    Let me set the environment..
    I recently upgraded from Windows 8 Pro to Windows 8.1. Pro. Before the upgrade I was able to run a application that we use that has a SQL 2012 database connection.
    After the upgrade we are now getting this error "[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied."
    I have been checking some of the related errors but everything I've tried so far has not resolved the issue. Has anyone else had a similar issue? I think the upgrade may have broke something in the TCP stack.
    Keep in mind that WIndows 8, Windows 7 and previous versions are fine and not having an issue.

    SSMS = SQL Server
    Management Studio, a frontend to manage SQL Server, run queries etc.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Creating a windows cluster 2012 for sql server 2012 clustered installation

    Hello,
    I am trying to create a windows cluster for sql server 2012 clustering on windows server 2012 R2  standard edition-64bit OS
    when i perform the test after adding the cluster nodes i get this warning on networking.:Validate the servers can communicate
    do i have to enable  UDP port 1434?
    I enabled ports 3343 on both the server but i still get the error.Please see the image below .Please suggest.
    Thank you.
    lucky

    Do you have installed one SQL Server instance on the node?
    http://blogs.technet.com/b/meamcs/archive/2013/02/15/sql-2012-failover-cluster-build-step-by-step-part-1-installing-sql-2012.aspx
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Windows Azure Mobile Services - Sql Server - prebuilt columns

    am I correct in assuming that tables for WAMS need to be created in the Azure management portal and have some columns precreated.  Once the table is created:
    is it ok to modify the columns in Visual Studio once the table has been created?
    Can i just create the necessary items on my own or do I need to go through the management portal all the time?
    How do i handle foreign keys and such between two tables?
    Wally
    MVP in ASP.NET - ASPInsider - Author - Otherwise I am a loser.

    hi Wally,
    Thanks for posting!
    >>is it ok to modify the columns in Visual Studio once the table has been created?
    yes, we could modify our sql database data on the latest version (Azure SDK 2.2 ). You could use VS 2013 and install SDK2.2 to view the data. At the same time, you will
    click Add Firewall Rule and a new rule will be automatically added for you.
    Please see the blog about this question (http://weblogs.asp.net/scottgu/archive/2013/10/22/windows-azure-announcing-release-of-windows-azure-sdk-2-2-with-lots-of-goodies.aspx
    >>Can i just create the necessary items on my own or do I need to go through the management portal all the time?
    The answer is yes . If you want to manage your SQL database by azure portal, you could find your database form
    "SQL Azure", and click the "Manage" to manage your DB. Like this image:
    >>How do i handle foreign keys and such between two tables?
    you could handle foreign such as using SQL. Refer to this page (http://stackoverflow.com/questions/48772/how-do-i-create-a-foreign-key-in-sql-server
    Hope it helps.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Windows Authentication using Microsoft SQL Server 2005 JDBC Driver

    Hi,
    I am using Microsoft SQL Server 2005 JDBC Driver to connect to SQL Server 2000 database, can anyone tell me the connection URL for windows authentication. SQL authentication is working fine.
    DataDirect has drivers for windows authentication but I am not using it.
    Regards
    Arup

    You can't do it with the Microsoft driver. There's a free driver called jTDS that may be able to (I don't know).
    (edit) Looking at their FAQ it looks like it does:
    http://jtds.sourceforge.net/faq.html

Maybe you are looking for

  • Loaded dump from 12.5.4 to 15.7, Error 622 & Tables/Views not found

    Hi all, I am getting desperate trying to fix that issue. I had to import a dump from an ASE 12.5.4 into a new database on an ASE 15.7. I therefore enabled the compatibility mode server-wide and then proceeded to the load which seems to have performed

  • Adobe Print Services in Java Instance on iSeries

    Comment by moderator: An english overview of this thread is given in an answer to this posting. Sehr geehrter Herr Hoelters, wir möchten gerne GTS on System i fahren. Für fast alle Module aus GTS braucht man die JAVA Instanz. Das soweit ist wohl kein

  • Title header in Numbers 3.0

    How do I place a title header on my Numbers 3.0 spreadsheet so that it shows up at the top of each printed page?

  • Charting on a specific hierarchy Level

    Hi Experts, I have created a Profit & Loss report based on an SAP Query. I've added a hierarchy group and a key figure summary. The hierarchy has 8 levels represented in a single group. I'd like bar chart level 2 of this hierarchy in the report heade

  • How can I convert MP3 file to AIFF to use in FCP?

    Hi guys, How can I convert an MP3 file to AIFF file to use it in Final Cut Pro? Anyone please, Thanks in advance, Zia