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 SAP ASE.
SAP 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 ASE 16 ODBC for WIN10/11 32/64驱动
共182个文件
sql:30个
vcproj:20个
dll:18个
需积分: 0 2 下载量 149 浏览量
2022-11-10
08:01:09
上传
评论
收藏 9.19MB RAR 举报
温馨提示
sybase ASE 16 ODBC for WIN10/11 32/64驱动
资源推荐
资源详情
资源评论
收起资源包目录
sybase ASE 16 ODBC for WIN10/11 32/64驱动 (182个子文件)
build.bat 4KB
build.bat 4KB
install_odbc_sprocs.bat 2KB
install_odbc_sprocs.bat 2KB
build.bat 93B
build.bat 93B
build.bat 93B
build.bat 93B
build.bat 93B
build.bat 93B
build.bat 93B
build.bat 93B
build 93B
build 93B
build 93B
build 93B
build 93B
build 93B
build 93B
build 93B
odbcloblocator.cpp 75KB
odbcloblocator.cpp 75KB
asynchexec.cpp 13KB
asynchexec.cpp 13KB
odbcbatch.cpp 13KB
odbcbatch.cpp 13KB
cursor.cpp 12KB
cursor.cpp 12KB
advanced.cpp 12KB
advanced.cpp 12KB
dabinding.cpp 12KB
dabinding.cpp 12KB
simple.cpp 8KB
simple.cpp 8KB
sybdrvodb64.dll 4.4MB
sybdrvodb.dll 3.24MB
msvcr110.dll 855KB
msvcr110.dll 855KB
msvcr110.dll 829KB
msvcr110.dll 829KB
msvcp110.dll 646KB
msvcp110.dll 646KB
msvcp110.dll 522KB
msvcp110.dll 522KB
errorstrings.dll 34KB
errorstrings.dll 34KB
errorstrings.dll 21KB
errorstrings.dll 21KB
odbcinpdlg.dll 8KB
odbcinpdlg.dll 8KB
odbcinpdlg.dll 8KB
odbcinpdlg.dll 8KB
odbcversion.exe 22KB
odbcversion.exe 20KB
select.frm 19KB
select.frm 19KB
select.frx 710B
select.frx 710B
sybasesqltypes.h 10KB
sybasesqltypes.h 10KB
advanced.h 25B
simple.h 25B
asynchexec.h 25B
cursor.h 25B
advanced.h 25B
simple.h 25B
asynchexec.h 25B
cursor.h 25B
sybdrvodb.lib 15KB
sybdrvodb64.lib 14KB
register_odbc64.log 17B
register_odbc32.log 17B
makefile 2KB
makefile 2KB
makefile 24B
makefile 24B
makefile 24B
makefile 24B
makefile 24B
makefile 24B
makefile 24B
makefile 24B
sybdrvodb64.pdb 11.65MB
sybdrvodb.pdb 11.47MB
注册.reg 938B
select.resX 22KB
select.resX 22KB
kerberos.resX 5KB
kerberos.resX 5KB
odbc64samples.sln 21KB
odbcsamples.sln 21KB
odbc_mda_150.sql 183KB
odbc_mda_150.sql 183KB
odbc_mda_120.sql 183KB
odbc_mda_120.sql 183KB
odbc_mda_12503.sql 183KB
odbc_mda_12503.sql 183KB
odbc_mda_1251.sql 183KB
odbc_mda_1251.sql 183KB
odbc_mda_125.sql 183KB
共 182 条
- 1
- 2
资源评论
qq_29270319
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功