Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows authentication and SQLStringConnect()
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Windows authentication and SQLStringConnect()
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00968335
Message ID:
00968335
Views:
159
We are connecting to SQL Server using SQL Server authentication using the following code:

lnHandle = Sqlstringconnect("driver=SQL Server" + ;
";server=MySQLServer" + ;
";uid=username" + ;
";pwd=password" + ;
";database=MyDatabase" + ;
";app=MyApp(3.2.0)")

We need to move to Windows authentication where database users belong to a security group in Windows Active Directory. This Active Directory user group is then added as a login to SQL Server.

With this model the user fails to authenticate using the above string connect, as it seems that SQL is looking for the exact user login. The user can authenticate through a DSN or a CursorAdaptor but we do not use either.

Any help would be appreciated.
Randy Barnett
Ascension Capital Group
Arlington, Texas USA
Next
Reply
Map
View

Click here to load this message in the networking platform