| 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 | 
| Ratan Gupta | 4623908 | 2019-03-20 07:11:40 +0530 | [diff] [blame] | 21 | - name: LDAPBindDNPassword | 
|  | 22 | type: string | 
|  | 23 | description: > | 
|  | 24 | Specifies the credentials with which to bind,Implementation should | 
|  | 25 | consider changing the permissions of the underlying file to | 
|  | 26 | only grant access to the root user. | 
|  | 27 | This property value should not be reflected on the D-bus object itself. | 
|  | 28 | Implementation can use the given value and update the service | 
|  | 29 | implementing the LDAP client.This is just to facilitate the support | 
|  | 30 | for changing the bin dn password if needed. | 
|  | 31 | Currently this property is over D-bus, There are security concerns | 
|  | 32 | for the same, but once we find better way to update the ldap password | 
|  | 33 | we would fix it. | 
| Nagaraju Goruganti | c6cfd2c | 2018-08-10 00:57:41 -0500 | [diff] [blame] | 34 | - name: LDAPBaseDN | 
|  | 35 | type: string | 
|  | 36 | description: > | 
|  | 37 | Specifies the base distinguished name to use as search base. | 
| Nagaraju Goruganti | 95fafa8 | 2018-09-30 23:25:42 -0500 | [diff] [blame] | 38 | errors: | 
|  | 39 | - xyz.openbmc_project.Common.Error.InternalFailure | 
|  | 40 | - xyz.openbmc_project.Common.Error.InvalidArgument | 
| Nagaraju Goruganti | c6cfd2c | 2018-08-10 00:57:41 -0500 | [diff] [blame] | 41 | - name: LDAPSearchScope | 
|  | 42 | type: enum[self.SearchScope] | 
|  | 43 | description: > | 
|  | 44 | Specifies the search scope:subtree, one level or base object. | 
| Lei YU | cb1d059 | 2019-01-09 10:25:49 +0800 | [diff] [blame] | 45 | default: sub | 
| Nagaraju Goruganti | 95fafa8 | 2018-09-30 23:25:42 -0500 | [diff] [blame] | 46 | errors: | 
|  | 47 | - xyz.openbmc_project.Common.Error.InternalFailure | 
| Nagaraju Goruganti | c6cfd2c | 2018-08-10 00:57:41 -0500 | [diff] [blame] | 48 | - name: LDAPType | 
|  | 49 | type: enum[self.Type] | 
|  | 50 | description: > | 
|  | 51 | Specifies the the configured server is ActiveDirectory(AD) or | 
|  | 52 | OpenLdap. It's just an indication for the LDAP stack running on | 
|  | 53 | the BMC, in case the app is implemented in such a way that it has | 
|  | 54 | to react differently for AD vs openldap. | 
| Nagaraju Goruganti | 95fafa8 | 2018-09-30 23:25:42 -0500 | [diff] [blame] | 55 | errors: | 
|  | 56 | - xyz.openbmc_project.Common.Error.InternalFailure | 
| Ratan Gupta | 910b0d9 | 2019-03-08 20:40:49 +0530 | [diff] [blame] | 57 | - name: GroupNameAttribute | 
|  | 58 | type: string | 
|  | 59 | description: > | 
|  | 60 | The value of this property shall be the attribute name | 
|  | 61 | that contains the name of the Group in the LDAP server. | 
|  | 62 | - name: UserNameAttribute | 
|  | 63 | type: string | 
|  | 64 | description: > | 
|  | 65 | The value of this property shall be the attribute name | 
|  | 66 | that contains the username in the LDAP server. | 
| Nagaraju Goruganti | c6cfd2c | 2018-08-10 00:57:41 -0500 | [diff] [blame] | 67 | enumerations: | 
|  | 68 | - name: SearchScope | 
|  | 69 | description: > | 
|  | 70 | Possible base scopes. | 
|  | 71 | values: | 
|  | 72 | - name: sub | 
|  | 73 | - name: one | 
|  | 74 | - name: base | 
|  | 75 |  | 
|  | 76 | - name: Type | 
|  | 77 | description: > | 
|  | 78 | Possible LDAP Types. | 
|  | 79 | values: | 
|  | 80 | - name: ActiveDirectory | 
|  | 81 | - name: OpenLdap | 
|  | 82 |  | 
|  | 83 | # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 |