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]APILogInByLdapMsg #93

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

[LDAP]APILogInByLdapMsg #93

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

Comments

@xuexuemiao
Copy link

描述

使用LogInByLdap以使用绑定的Ldap账户的UID和密码登录。

API

org.zstack.ldap.APILogInByLdapMsg

举例(Example)

管理员可以使用LogInByLdap来使用绑定的Ldap账户的UID和密码登录. 例如:

LogInByLdap uid="ldapuser1" password="password"

返回结果:

{
    "inventory": {
        "accountUuid": "ee833daa4f9541e888d94bfade6a625f",
        "createDate": "Dec 22, 2016 1:11:12 PM",
        "expiredDate": "Dec 26, 2016 5:11:22 PM",
        "userUuid": "36c27e8ff05c4780bf6d2fa65700f22e",
        "uuid": "ee833daa4f9541e888d94bfade6a625f"
    },
    "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)

名字 描述 可选的参数 起始支持版本
uid 绑定的Ldap账户的UID
password

备注

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