macOS DSN の構成
このセクションでは、macOS でODBC 接続をセットアップしDSN を設定する方法を示します:
macOS の最小バージョン
CData ODBC Driver for Garoon 本製品 にはmacOS Sierra (10.12) 以上が必要です。
ドライバーのライセンス
端末で次のコマンドを実行して、本製品 のライセンスを取得します。評価版をアクティベートするには、<key> の入力を省略してください。
cd "/Applications/CData ODBC Driver for Garoon/bin"
sudo ./install-license.sh <key>
名前とパスワードを入力するよう求められます。これらは、あなたの名前とマシンのパスワードを指します。
Garoon への接続
認証値に加えて、下記のパラメータを使いGaroon に接続しデータを取得します。
- Url:アカウントのURL。
NOTE:サポートされているバージョンで許容されるURL 形式は以下のとおりです。
- Cloud 版:https://(subdomain).cybozu.com
- Package 版(Windows 環境):http://(server IP address or host name)/scripts/(installation identifier)/grn.exe
- Package 版(Linux 環境):http://(server IP address or host name)/cgi-bin/(installation identifier)/grn.cgi
Garoon への認証
Garoon は、以下の認証メソッドをサポートしています。
パスワード
Garoon への認証には、以下を設定する必要があります。
- User:アカウントのユーザー名。
- Password:アカウントのパスワード。
- AuthScheme:AuthScheme をPassword に設定。
Additional Security
In addition to the mentioned authentication schemes, Garoon offers additional security in the form of both an additional Basic Auth header, and an SSL Certificate.Basic
Garoon environments using basic authentication will need to pass additional basic credentials. To do so, specify the following:
- BasicAuthUser - The basic login name.
- BasicAuthPassword - The basic password.
クライアントSSL
In addition to your authentication information, Garoon may be configured to require an SSL certificate to accept requests. To do so, set the following:
- SSLClientCert - The file containing the certificate of the SSL Cert. Or alternatively, the name of the certificate store for the client certificate.
- SSLClientCertType - The type of certificate.
- SSLClientCertSubject - (Optional) If searching for a certificate in the certificate store, the store is searched for subjects containing the value of the property.
- SSLClientCertPassword - If the certificate store is of a type that requires a password, this property is used to specify that password to open the certificate store.
ドライバーのアンインストール
ドライバーをアンインストールする最も簡単な方法は、ターミナルを開いて、インストールディレクトリにあるuninstall.sh スクリプトを実行します。次に例を示します。
cd "/Applications/CData ODBC Driver for Garoon" sudo ./uninstall.sh
Note:このスクリプトはインストールディレクトリから実行される必要があります。