如何在sybase数据库的连接字符串中使用windows集成安全性 [英] How to use windows integrated security in connection string for sybase database

查看:124
本文介绍了如何在sybase数据库的连接字符串中使用windows集成安全性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我想使用IIS中提供的身份(Windows帐户)连接到Sybase 15.7数据库。我正在使用ASEOledb提供程序连接代码。但是我无法通过在连接strinf中传递Integrated Security = true来连接到数据库。



有人可以帮忙吗?



谢谢

Ajay



我的尝试:



我尝试过Integrated Security = true / SSPI,Tursted_Security = true / yes。



以上所有选项都不起作用。

Hi All,

I would like to use identity (windows account) provided in IIS to connect to Sybase 15.7 database. I am using ASEOledb provider to connect in code. But I am not able to connect to database by passing Integrated Security = true in connection strinf.

Can some one help on this?

Thanks
Ajay

What I have tried:

I tried Integrated Security = true/SSPI, Tursted_Security = true/yes.

All above options did not work.

推荐答案

从我在ConnectionStrings.com和Sybase文档中可以看出这里 [ ^ ]不支持您希望如何指定它的可信连接。您必须在连接字符串或数据源IDS文件中提供用户名和密码。
From what I can tell at ConnectionStrings.com and the Sybase documentation here[^] Trusted Connections how you want to specify it are not supported. You MUST supply a username and password in the connection string or the Data Source IDS file.


这篇关于如何在sybase数据库的连接字符串中使用windows集成安全性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆