ADO Kerberos Sample
-------------------
Purpose
--------
The Kerberos sample demonstrates the connection string format for the various Windows related data access products, the ODBC drivers and OLE DB Providers that access Sybase ASE.
Sybase Products:
-----------------
When using ODBC Data Source Administrator to setup Kerberos use the Security tab. The properties are described below
and are the same names for both ODBC and OLEDB. There is no GUI tool at this time for the OLE DB Provider to setup
Data Sources.
AuthenticationClient (Authentication Client as seen in the GUI): Set this to the Kerberos software that you are using.
Currently the values are:
mitkerberos (Use MIT Kerberos) - when using MIT
cybersafekerberos (Use CyberSafe Kerberos) - when using CyberSafe
activedirectory (Use Active Directory) - when using Microsoft Active Directory
UserPrincipal (User Principal): The User to acquire credentials for. This is the User name registered with the Kerberos KDC.
For mitkerberos and cybersafekerberos, if you used kinit or leash32 to get your ticket, then this parameter is optional.
If the authenticate client is activedirectory (activedirectory can be used when the windows domain
controller is the KDC), the UserPrincipal is optional and client need not use kinit in this senario.
ServerPrincipal (Server Principal): The name of the ASE configured in the KDC.
Examples of connection strings:
ODBC:
Driver={Adaptive Server Enterprise};Server=aseHost;Port=12530;AuthenticationClient=mitkerberos;ServerPrincipal=kerbASE@KERB_TEST;UserPrincipal=kerbUser@KERB_TEST;
OLEDB:
Provider=ASEOLEDB;Data Source=aseHost:12530;AuthenticationClient=mitkerberos;ServerPrincipal=kerbASE@KERB_TEST;UserPrincipal=kerbUser@KERB_TEST;
The application
----------------
This application is self explanatory. You pick the option of which product to use. All of the Kerberos fields are provided and you
can edit each value to plug in your own values. The MsgBox and Debug.Print statements are provided to demonstrate what is going
on as the run of the application progresses. Once connected the application executes a simple SQL Statement, select count(*) from
sysobjects. This is done so you can verify the connectivity.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
sybase_odbc_driver_12.5.4.zip (84个子文件)
sybase_odbc_driver_12.5.4
安装说明.txt 927B
reg_x64_(WIN7_64bit).reg 1016B
reg_x86_(WINXP).reg 968B
DataAccess
bin
sybdrvadm.ico 766B
msvcp71.dll 488KB
dsnmigrate.exe 148KB
msvcr71.dll 340KB
sybdrvadm.exe 536KB
OLEDB
dll
sybdrvssl.dll 116KB
msvcp71.dll 488KB
msvcr71.dll 340KB
sybdrvkrb.dll 14KB
sbgse2.dll 1.01MB
sybdrvoledb.dll 660KB
sp
getversion.sql 886B
sp_version.sql 8KB
oledb_mda_125.sql 170KB
oledb_mda_1251.sql 170KB
oledb_mda_12503.sql 170KB
oledb_mda_120.sql 170KB
install_oledb_sprocs.bat 2KB
sp_drv_common.sql 8KB
samples
adovbsample
adovbsample.vbproj 6KB
select.vb 43KB
select.resX 22KB
select.frx 710B
select.frm 19KB
AssemblyInfo.vb 913B
readme.txt 2KB
oledbsamples.sln 1KB
kerberos
kerberos.vb 35KB
kerberos.resX 5KB
adoKerberos.vbproj 6KB
AssemblyInfo.vb 917B
readme.txt 2KB
ODBC
dll
sybdrvssl.dll 116KB
msvcp71.dll 488KB
msvcr71.dll 340KB
sybdrvkrb.dll 14KB
sbgse2.dll 1.01MB
sybdrvodb.dll 432KB
sp
getversion.sql 886B
odbc_mda_125.sql 163KB
sp_version.sql 8KB
install_odbc_sprocs.bat 2KB
odbc_mda_120.sql 163KB
odbc_mda_12503.sql 163KB
sp_drv_common.sql 8KB
odbc_mda_1251.sql 163KB
samples
adovbsample
adovbsample.vbproj 6KB
select.vb 43KB
select.resX 22KB
select.frx 710B
select.frm 19KB
AssemblyInfo.vb 913B
readme.txt 2KB
advanced
advanced.cpp 9KB
advanced.vcproj 3KB
advanced.h 431B
makefile 540B
build.bat 435B
readme.txt 1KB
build 1KB
odbcsamples.sln 3KB
simple
simple.cpp 4KB
makefile 544B
build.bat 429B
simple.h 425B
simple.vcproj 3KB
readme.txt 1KB
build 1KB
kerberos
kerberos.vb 35KB
kerberos.resX 5KB
adoKerberos.vbproj 6KB
AssemblyInfo.vb 917B
readme.txt 2KB
cursor
cursor.vcproj 3KB
makefile 516B
cursor.cpp 8KB
build.bat 448B
cursor.h 507B
readme.txt 1KB
build 1KB
readme.txt 2KB
共 84 条
- 1
资源评论
- zszts5262019-01-11垃圾一点用都没有
- eternalinfo2018-01-28好像可用。
- at1012017-10-17一步一步,按设置,设置好。然后重启,然后还是不能使用。头痛。win7 64位。
hoodlum1980
- 粉丝: 14
- 资源: 15
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 课程设计-python爬虫-爬取日报,爬取日报文章后存储到本地,附带源代码+课程设计报告
- 软件和信息技术服务行业投资与前景预测.pptx
- 课程设计-基于SpringBoot + Mybatis+python爬虫NBA球员数据爬取可视化+源代码+文档+sql+效果图
- 软件品质管理系列二项目策划规范.doc
- 基于TensorFlow+PyQt+GUI的酒店评论情感分析,支持分析本地数据文件和网络爬取数据分析+源代码+文档说明+安装教程
- 软件定义无线电中的模拟电路测试技术.pptx
- 软件开发协议(作为技术开发合同附件).doc
- 软件开发和咨询行业技术趋势分析.pptx
- 软件测试题详解及答案.doc
- 软件漏洞生命周期管理策略.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功