blob: 227760ab6eaf4e1f4849d8cbec65981c1b904656 [file] [log] [blame]
Nagaraju Gorugantic6cfd2c2018-08-10 00:57:41 -05001description: >
2 Implement to update LDAP mandatory properties.
3
4properties:
Nagaraju Gorugantic6cfd2c2018-08-10 00:57:41 -05005 - name: LDAPServerURI
6 type: string
7 description: >
8 Specifies the LDAP URI of the server to connect to.
Nagaraju Goruganti95fafa82018-09-30 23:25:42 -05009 errors:
10 - xyz.openbmc_project.Common.Error.InternalFailure
11 - xyz.openbmc_project.Common.Error.InvalidArgument
Ratan Guptaa3338fa2018-10-24 23:34:55 +053012 - xyz.openbmc_project.Common.Error.NoCACertificate
Nagaraju Gorugantic6cfd2c2018-08-10 00:57:41 -050013 - name: LDAPBindDN
14 type: string
15 description: >
16 Specifies the distinguished name with which to bind to the directory
17 server for lookups.
Nagaraju Goruganti95fafa82018-09-30 23:25:42 -050018 errors:
19 - xyz.openbmc_project.Common.Error.InternalFailure
20 - xyz.openbmc_project.Common.Error.InvalidArgument
Ratan Gupta46239082019-03-20 07:11:40 +053021 - 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 Gorugantic6cfd2c2018-08-10 00:57:41 -050034 - name: LDAPBaseDN
35 type: string
36 description: >
37 Specifies the base distinguished name to use as search base.
Nagaraju Goruganti95fafa82018-09-30 23:25:42 -050038 errors:
39 - xyz.openbmc_project.Common.Error.InternalFailure
40 - xyz.openbmc_project.Common.Error.InvalidArgument
Nagaraju Gorugantic6cfd2c2018-08-10 00:57:41 -050041 - name: LDAPSearchScope
42 type: enum[self.SearchScope]
43 description: >
44 Specifies the search scope:subtree, one level or base object.
Lei YUcb1d0592019-01-09 10:25:49 +080045 default: sub
Nagaraju Goruganti95fafa82018-09-30 23:25:42 -050046 errors:
47 - xyz.openbmc_project.Common.Error.InternalFailure
Nagaraju Gorugantic6cfd2c2018-08-10 00:57:41 -050048 - 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.
Ratan Gupta1bd70872019-04-16 12:53:40 +053055 This property is readonly, Once the D-Bus object gets created then
56 this property should not be modifiable.
Nagaraju Goruganti95fafa82018-09-30 23:25:42 -050057 errors:
58 - xyz.openbmc_project.Common.Error.InternalFailure
Ratan Gupta1bd70872019-04-16 12:53:40 +053059 - xyz.openbmc_project.Common.Error.NotAllowed
Ratan Gupta910b0d92019-03-08 20:40:49 +053060 - name: GroupNameAttribute
61 type: string
62 description: >
63 The value of this property shall be the attribute name
64 that contains the name of the Group in the LDAP server.
65 - name: UserNameAttribute
66 type: string
67 description: >
68 The value of this property shall be the attribute name
69 that contains the username in the LDAP server.
Nagaraju Gorugantic6cfd2c2018-08-10 00:57:41 -050070enumerations:
71 - name: SearchScope
72 description: >
73 Possible base scopes.
74 values:
75 - name: sub
76 - name: one
77 - name: base
78
79 - name: Type
80 description: >
81 Possible LDAP Types.
82 values:
83 - name: ActiveDirectory
84 - name: OpenLdap
85
86# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4