blob: a0c72e004b08a5c8f256cd2856b37f9be0c6c61c [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
Nagaraju Gorugantic6cfd2c2018-08-10 00:57:41 -050021 - name: LDAPBaseDN
22 type: string
23 description: >
24 Specifies the base distinguished name to use as search base.
Nagaraju Goruganti95fafa82018-09-30 23:25:42 -050025 errors:
26 - xyz.openbmc_project.Common.Error.InternalFailure
27 - xyz.openbmc_project.Common.Error.InvalidArgument
Nagaraju Gorugantic6cfd2c2018-08-10 00:57:41 -050028 - name: LDAPSearchScope
29 type: enum[self.SearchScope]
30 description: >
31 Specifies the search scope:subtree, one level or base object.
Lei YUcb1d0592019-01-09 10:25:49 +080032 default: sub
Nagaraju Goruganti95fafa82018-09-30 23:25:42 -050033 errors:
34 - xyz.openbmc_project.Common.Error.InternalFailure
Nagaraju Gorugantic6cfd2c2018-08-10 00:57:41 -050035 - 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 Goruganti95fafa82018-09-30 23:25:42 -050042 errors:
43 - xyz.openbmc_project.Common.Error.InternalFailure
Ratan Gupta910b0d92019-03-08 20:40:49 +053044 - name: GroupNameAttribute
45 type: string
46 description: >
47 The value of this property shall be the attribute name
48 that contains the name of the Group in the LDAP server.
49 - name: UserNameAttribute
50 type: string
51 description: >
52 The value of this property shall be the attribute name
53 that contains the username in the LDAP server.
Nagaraju Gorugantic6cfd2c2018-08-10 00:57:41 -050054enumerations:
55 - name: SearchScope
56 description: >
57 Possible base scopes.
58 values:
59 - name: sub
60 - name: one
61 - name: base
62
63 - name: Type
64 description: >
65 Possible LDAP Types.
66 values:
67 - name: ActiveDirectory
68 - name: OpenLdap
69
70# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4