Solved

Delphi2 + SQL Server 7.0

Posted on 2000-02-28
2
151 Views
Last Modified: 2010-04-04
Having just upgraded our SQL server to version 7 from 6.5, I have taken the opportunity of providing access to the SQL server using NT logon verification only.  When my Delphi 2 application prompts for logon, it fails as it does not recognise the user as it appears to be looking for SQL authenticated user, even though the user is part of a valid NT group for that database.

Is it possible to use NT verification as part of the application or do I have to kludge it by setting up a new user with SQL authentication.

Regards


Ian  
0
Comment
Question by:Ianternet
2 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 100 total points
ID: 2565182
hi Ianternet,

if u use native sql-links, then
look at this from borland

---paste begin

Question and Answer Database

     FAQ: FAQ4731B - NT Authentication/Integrated security
Category: Database (MSSQL)
Platform: All-32Bit
 Product: All
Question:

If Integrated Security is enabled on my MSSQL sql server
how do I make the BDE MSSQL SQL Links driver use
Integrated Security?


Answer:

Leave user name and password blank in your application's
TDatabase and make sure that the USER NAME in the BDE
ALIAS and MSSQL driver settings is blank (used as a default
when an ALIAS parameter is blank).

7/13/99 10:13:32 AM

---paste end

meikl
0
 

Author Comment

by:Ianternet
ID: 2565216
Fantastic....cheers Kretzschmar
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now