zstackio / doc-ch

ZStack Chinese user manual
Apache License 2.0
12 stars 21 forks source link

[LDAP]APICreateLdapBindingMsg #91

Open xuexuemiao opened 7 years ago

xuexuemiao commented 7 years ago

描述

添加Ldap 账户绑定, 添加成功后, 账户可以通过其绑定的Ldap UID和相应的密码登录.

API

org.zstack.ldap.APICreateLdapBindingMsg

举例(Example)

管理员可以使用CreateLdapBinding来添加一个Ldap 账户绑定. 例如:

CreateLdapBinding ldapUid="uid=user1" accountUuid="account1" 

返回结果:

{
    "inventory": {
        "ldapUid": "ebc8055882374ff19f46c3234163b36e",
        "ldapServerUuid": "f995b4e3593c45fabeabd92185d33f91",
        "accountUuid": "ee833daa4f9541e888d94bfade6a625f",
        "createDate": "Nov 2, 2016 11:22:15 PM",
        "lastOpDate": "Nov 2, 2016 11:22:29 PM",
        "uuid": "62eea75fc6204a439d3d1dd7b1946bc5"
    },
    "success": true
}

参数(Parameters)

名字 描述 可选的参数 起始支持版本
uuid
ldapUid LdapServer上的一个用户的UID
ldapServerUuid LdapServer的UUID
accountuuid 账户的UUID
createDate 创建时间
lastOpDate 最后操作时间

备注

Feature_link