Nagaraju Goruganti | c6cfd2c | 2018-08-10 00:57:41 -0500 | [diff] [blame] | 1 | description: > |
| 2 | Implement to update LDAP mandatory properties. |
| 3 | |
| 4 | properties: |
Nagaraju Goruganti | c6cfd2c | 2018-08-10 00:57:41 -0500 | [diff] [blame] | 5 | - name: LDAPServerURI |
| 6 | type: string |
| 7 | description: > |
| 8 | Specifies the LDAP URI of the server to connect to. |
Nagaraju Goruganti | 95fafa8 | 2018-09-30 23:25:42 -0500 | [diff] [blame] | 9 | errors: |
| 10 | - xyz.openbmc_project.Common.Error.InternalFailure |
| 11 | - xyz.openbmc_project.Common.Error.InvalidArgument |
Ratan Gupta | a3338fa | 2018-10-24 23:34:55 +0530 | [diff] [blame] | 12 | - xyz.openbmc_project.Common.Error.NoCACertificate |
Nagaraju Goruganti | c6cfd2c | 2018-08-10 00:57:41 -0500 | [diff] [blame] | 13 | - name: LDAPBindDN |
| 14 | type: string |
| 15 | description: > |
| 16 | Specifies the distinguished name with which to bind to the directory |
| 17 | server for lookups. |
Nagaraju Goruganti | 95fafa8 | 2018-09-30 23:25:42 -0500 | [diff] [blame] | 18 | errors: |
| 19 | - xyz.openbmc_project.Common.Error.InternalFailure |
| 20 | - xyz.openbmc_project.Common.Error.InvalidArgument |
Nagaraju Goruganti | c6cfd2c | 2018-08-10 00:57:41 -0500 | [diff] [blame] | 21 | - name: LDAPBaseDN |
| 22 | type: string |
| 23 | description: > |
| 24 | Specifies the base distinguished name to use as search base. |
Nagaraju Goruganti | 95fafa8 | 2018-09-30 23:25:42 -0500 | [diff] [blame] | 25 | errors: |
| 26 | - xyz.openbmc_project.Common.Error.InternalFailure |
| 27 | - xyz.openbmc_project.Common.Error.InvalidArgument |
Nagaraju Goruganti | c6cfd2c | 2018-08-10 00:57:41 -0500 | [diff] [blame] | 28 | - name: LDAPSearchScope |
| 29 | type: enum[self.SearchScope] |
| 30 | description: > |
| 31 | Specifies the search scope:subtree, one level or base object. |
| 32 | default: 0 |
Nagaraju Goruganti | 95fafa8 | 2018-09-30 23:25:42 -0500 | [diff] [blame] | 33 | errors: |
| 34 | - xyz.openbmc_project.Common.Error.InternalFailure |
Nagaraju Goruganti | c6cfd2c | 2018-08-10 00:57:41 -0500 | [diff] [blame] | 35 | - name: LDAPType |
| 36 | type: enum[self.Type] |
| 37 | description: > |
| 38 | Specifies the the configured server is ActiveDirectory(AD) or |
| 39 | OpenLdap. It's just an indication for the LDAP stack running on |
| 40 | the BMC, in case the app is implemented in such a way that it has |
| 41 | to react differently for AD vs openldap. |
Nagaraju Goruganti | 95fafa8 | 2018-09-30 23:25:42 -0500 | [diff] [blame] | 42 | errors: |
| 43 | - xyz.openbmc_project.Common.Error.InternalFailure |
Nagaraju Goruganti | c6cfd2c | 2018-08-10 00:57:41 -0500 | [diff] [blame] | 44 | |
| 45 | enumerations: |
| 46 | - name: SearchScope |
| 47 | description: > |
| 48 | Possible base scopes. |
| 49 | values: |
| 50 | - name: sub |
| 51 | - name: one |
| 52 | - name: base |
| 53 | |
| 54 | - name: Type |
| 55 | description: > |
| 56 | Possible LDAP Types. |
| 57 | values: |
| 58 | - name: ActiveDirectory |
| 59 | - name: OpenLdap |
| 60 | |
| 61 | # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 |