ノーコードでクラウド上のデータとの連携を実現。
詳細はこちら →30日間の無償トライアル
無償トライアルはこちら製品の詳細
LDAP ODBC ドライバーは、ODBC 接続をサポートする任意のアプリケーションからリアルタイムなLDAP ディレクトリサービスに直接接続できるパワフルなツールです。標準のODBC ドライバーインタフェースを使用して、データベースのようにLDAP オブジェクトにアクセスし、任意のObjectClass のカスタムテーブルを定義し、SQL クエリーを実行できます。
古川えりか
コンテンツスペシャリスト
こんにちは!ドライバー周りのヘルプドキュメントを担当している古川です。
The CData ODBC Driver for LDAP can be used from any platform or development technology that supports ODBC, including Sybase PowerBuilder. This article shows how to connect to LDAP objects and execute queries from the Database Painter and controls such as the DataWindow.
Follow the steps below to use the Database Painter tool to create a database profile based on an ODBC DSN (data source name) for LDAP. In the Database Painter, you can use wizards and the UI to work with LDAP objects.
リクエストを認証するには、User およびPassword プロパティを有効なLDAP クレデンシャル(例えば、User を"Domain\BobF" または"cn=Bob F,ou=Employees,dc=Domain")に設定します。 本製品は、デフォルトでプレーンテキスト認証を使用します。これは、本製品がサーバーとTLS/SSL のネゴシエーションを試みるためです。 AuthMechanism を使って別の認証方法を指定できます。 TLS/SSL コンフィギュレーションについて詳しくは、ヘルプドキュメントの「高度な設定」を参照してください。
You can use standard PowerBuilder objects to connect to ODBC data sources and execute queries. The following example shows how to retrieve LDAP objects into a DataWindow. You can add the following code to the open method:
SQLCA.DBMS = "ODBC"
SQLCA.DBParm = "ConnectString='DSN=CData LDAP Source'"
CONNECT USING SQLCA;
dw_user.SetTransObject(SQLCA);
dw_user.Retrieve();