blob: 42c71260be1fe9fd63b0dc899540ce2fd30e91ec [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.
Nagaraju Goruganti95fafa82018-09-30 23:25:42 -050055 errors:
56 - xyz.openbmc_project.Common.Error.InternalFailure
Ratan Gupta910b0d92019-03-08 20:40:49 +053057 - 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 Gorugantic6cfd2c2018-08-10 00:57:41 -050067enumerations:
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