blob: 3255fbae66d1ba2812aa0b0fb300274459ea5e78 [file] [log] [blame]
Nagaraju Gorugantic6cfd2c2018-08-10 00:57:41 -05001description: >
2 Implement to create LDAP name service daemon configuration file.
3
4methods:
5 - name: CreateConfig
6 description: >
7 This method always creates a new config file as well as a D-Bus
8 object to represent the config, it will destroy an existing one,
9 if found. In other words, this is not an update API. Individual
10 properties can be updated as per the
11 xyz/openbmc_project/User/Ldap/Config.interface.yaml.
12 parameters:
13 - name: SecureLDAP
14 type: boolean
15 description: >
16 Specifies whether to use SSL or not.
17 - name: LDAPServerURI
18 type: string
19 description: >
20 Specifies the LDAP URI of the server to connect to.
21 - name: LDAPBindDN
22 type: string
23 description: >
24 Specifies the distinguished name with which to bind to the
25 directory server for lookups.
26 - name: LDAPBaseDN
27 type: string
28 description: >
29 Specifies the base distinguished name to use as search base.
30 - name: LDAPBINDDNpassword
31 type: string
32 description: >
33 Specifies the clear text credentials with which to bind. This
34 option is only applicable when used with LDAPBindDN.
35 - name: LDAPSearchScope
36 type: enum[self.SearchScope]
37 description: >
38 Specifies the search scope:subtree, one level or base object.
39 - name: LDAPType
40 type: enum[self.Type]
41 description: >
42 Specifies the the configured server is ActiveDirectory(AD) or
43 OpenLdap. It's just an indication for the LDAP stack running on
44 the BMC, in case the app is implemented in such a way that it has
45 to react differently for AD vs openldap.
46 returns:
47 - name: path
48 type: string
49 description: >
50 The object path of the D-Bus object representing the config.
51
52 errors:
53 - xyz.openbmc_project.Common.Error.InternalFailure
54 - xyz.openbmc_project.Common.Error.InvalidArgument
Nagaraju Goruganti8d656132018-10-17 03:08:21 -050055 - xyz.openbmc_project.Common.Error.NoCACertificate
Nagaraju Gorugantic6cfd2c2018-08-10 00:57:41 -050056
57enumerations:
58 - name: SearchScope
59 description: >
60 Possible base scopes.
61 values:
62 - name: sub
63 - name: one
64 - name: base
65
66 - name: Type
67 description: >
68 Possible LDAP Types.
69 values:
70 - name: ActiveDirectory
71 - name: OpenLdap
72
73# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4