Open xuexuemiao opened 7 years ago
更新LdapServer配置。
org.zstack.ldap.APIUpdateLdapServerMsg
管理员可以使用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 }
描述
更新LdapServer配置。
API
org.zstack.ldap.APIUpdateLdapServerMsg
举例(Example)
管理员可以使用UpdateLdapServer来更新一个LdapServer连接. 例如:
返回结果:
参数(Parameters)
备注
Feature_link