Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LDAP]APIUpdateLdapServerMsg #95

Open
xuexuemiao opened this issue Dec 22, 2016 · 0 comments
Open

[LDAP]APIUpdateLdapServerMsg #95

xuexuemiao opened this issue Dec 22, 2016 · 0 comments
Assignees

Comments

@xuexuemiao
Copy link

描述

更新LdapServer配置。

API

org.zstack.ldap.APIUpdateLdapServerMsg

举例(Example)

管理员可以使用UpdateLdapServer来更新一个LdapServer连接. 例如:

UpdateLdapServer name="ldap server 1" description="ldap server 1 description" url="ldap://localhost:1888" base="dc=example,dc=com,dc=cn" username="uid=username,ou=people,dc=example,dc=com,dc=cn" password="password" encryption="None"

返回结果:

{
    "inventory": [
        {
            "base": "dc=example,dc=com,dc=cn",
            "createDate": "Sep 8, 2016 10:28:34 AM",
            "description": "ldap server 1 description",
            "encryption": "None",
            "lastOpDate": "Sep 8, 2016 10:28:34 AM",
            "name": "ldap server 1",
            "password": "password",
            "url": "ldap://localhost:1888",
            "username": "uid=username,ou=people,dc=example,dc=com,dc=cn",
            "uuid": "ebc8055882374ff19f46c3234163b36e"
        }
    ],
    "success": true
}

参数(Parameters)

名字 描述 可选的参数 起始支持版本
name LdapServer连接的一个用于识别的名字
description LdapServer连接的一个简短的描述
username 连接该LdapServer的用户DN
password 密码
url LdapServer的连接地址
base 用于查询的LdapServer起始DN
encryption 加密方式:None或者TLS。需要注意url要与该参数对应

备注

Feature_link

@xuexuemiao xuexuemiao self-assigned this Dec 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant