mirror of https://github.com/apache/cloudstack.git
104 lines
5.1 KiB
Plaintext
104 lines
5.1 KiB
Plaintext
#Licensed to the Apache Software Foundation (ASF) under one
|
||
#or more contributor license agreements. See the NOTICE file
|
||
#distributed with this work for additional information
|
||
#regarding copyright ownership. The ASF licenses this file
|
||
#to you under the Apache License, Version 2.0 (the
|
||
#"License"); you may not use this file except in compliance
|
||
#with the License. You may obtain a copy of the License at
|
||
#http://www.apache.org/licenses/LICENSE-2.0
|
||
#Unless required by applicable law or agreed to in writing,
|
||
#software distributed under the License is distributed on an
|
||
#"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||
#KIND, either express or implied. See the License for the
|
||
#specific language governing permissions and limitations
|
||
#under the License.
|
||
#
|
||
# Translators:
|
||
# Gavin Lee <gavin.lxh@gmail.com>, 2013.
|
||
msgid ""
|
||
msgstr ""
|
||
"Project-Id-Version: Apache CloudStack Docs\n"
|
||
"POT-Creation-Date: 2013-03-19T13:38:03\n"
|
||
"PO-Revision-Date: 2013-01-02 13:11+0000\n"
|
||
"Last-Translator: Gavin Lee <gavin.lxh@gmail.com>\n"
|
||
"Language-Team: None\n"
|
||
"MIME-Version: 1.0\n"
|
||
"Content-Type: text/plain; charset=UTF-8\n"
|
||
"Content-Transfer-Encoding: 8bit\n"
|
||
"Language: zh_CN\n"
|
||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||
|
||
#. Tag: title
|
||
#, no-c-format
|
||
msgid "Example LDAP Configuration Commands"
|
||
msgstr "LDAP配置命令样例"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"To understand the examples in this section, you need to know the basic "
|
||
"concepts behind calling the &PRODUCT; API, which are explained in the "
|
||
"Developer’s Guide."
|
||
msgstr "为了明白本章节的样例, 你需要知道调用&PRODUCT; API的基本概念, 这在开发者文档中有讲解."
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"The following shows an example invocation of ldapConfig with an ApacheDS "
|
||
"LDAP server"
|
||
msgstr "以下展示了通过ApacheDS LDAP服务器调用 ldapConfig命令的样例"
|
||
|
||
#. Tag: programlisting
|
||
#, no-c-format
|
||
msgid ""
|
||
"http://127.0.0.1:8080/client/api?command=ldapConfig&hostname=127.0.0.1&searchbase=ou%3Dtesting%2Co%3Dproject&queryfilter=%28%26%28uid%3D%25u%29%29&binddn=cn%3DJohn+Singh%2Cou%3Dtesting%2Co%project&bindpass=secret&port=10389&ssl=true&truststore=C%3A%2Fcompany%2Finfo%2Ftrusted.ks&truststorepass=secret&response=json&apiKey=YourAPIKey&signature=YourSignatureHash"
|
||
msgstr "http://127.0.0.1:8080/client/api?command=ldapConfig&hostname=127.0.0.1&searchbase=ou%3Dtesting%2Co%3Dproject&queryfilter=%28%26%28uid%3D%25u%29%29&binddn=cn%3DJohn+Singh%2Cou%3Dtesting%2Co%project&bindpass=secret&port=10389&ssl=true&truststore=C%3A%2Fcompany%2Finfo%2Ftrusted.ks&truststorepass=secret&response=json&apiKey=YourAPIKey&signature=YourSignatureHash"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"The command must be URL-encoded. Here is the same example without the URL "
|
||
"encoding:"
|
||
msgstr "命令调用的URL必须进行编码. 这里是一个例子没有进行URL编码:"
|
||
|
||
#. Tag: programlisting
|
||
#, no-c-format
|
||
msgid ""
|
||
"http://127.0.0.1:8080/client/api?command=ldapConfig\n"
|
||
"&hostname=127.0.0.1\n"
|
||
"&searchbase=ou=testing,o=project\n"
|
||
"&queryfilter=(&(%uid=%u))\n"
|
||
"&binddn=cn=John+Singh,ou=testing,o=project\n"
|
||
"&bindpass=secret\n"
|
||
"&port=10389\n"
|
||
"&ssl=true\n"
|
||
"&truststore=C:/company/info/trusted.ks\n"
|
||
"&truststorepass=secret\n"
|
||
"&response=json\n"
|
||
"&apiKey=YourAPIKey&signature=YourSignatureHash\n"
|
||
" "
|
||
msgstr "http://127.0.0.1:8080/client/api?command=ldapConfig\n&hostname=127.0.0.1\n&searchbase=ou=testing,o=project\n&queryfilter=(&(%uid=%u))\n&binddn=cn=John+Singh,ou=testing,o=project\n&bindpass=secret\n&port=10389\n&ssl=true\n&truststore=C:/company/info/trusted.ks\n&truststorepass=secret\n&response=json\n&apiKey=YourAPIKey&signature=YourSignatureHash\n "
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"The following shows a similar command for Active Directory. Here, the search"
|
||
" base is the testing group within a company, and the users are matched up "
|
||
"based on email address."
|
||
msgstr "以下展示了与活动目录类似的命令. 这里, 搜索是基于一个公司的测试组, 用户是基于邮件地址进行匹配查找."
|
||
|
||
#. Tag: programlisting
|
||
#, no-c-format
|
||
msgid ""
|
||
"http://10.147.29.101:8080/client/api?command=ldapConfig&hostname=10.147.28.250&searchbase=OU%3Dtesting%2CDC%3Dcompany&queryfilter=%28%26%28mail%3D%25e%29%29"
|
||
" "
|
||
"&binddn=CN%3DAdministrator%2COU%3Dtesting%2CDC%3Dcompany&bindpass=1111_aaaa&port=389&response=json&apiKey=YourAPIKey&signature=YourSignatureHash"
|
||
msgstr "http://10.147.29.101:8080/client/api?command=ldapConfig&hostname=10.147.28.250&searchbase=OU%3Dtesting%2CDC%3Dcompany&queryfilter=%28%26%28mail%3D%25e%29%29 &binddn=CN%3DAdministrator%2COU%3Dtesting%2CDC%3Dcompany&bindpass=1111_aaaa&port=389&response=json&apiKey=YourAPIKey&signature=YourSignatureHash"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"The next few sections explain some of the concepts you will need to know "
|
||
"when filling out the ldapConfig parameters."
|
||
msgstr "接下来的几个章节解释了你需要知道的通过ldapConfig参数进行过滤的一些概念."
|