summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/User/Ldap/Create.interface.yaml
blob: ea16928603fc8ea2684d14a7dc17664458f63733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
description: >
    Implement to create LDAP name service daemon configuration file.

methods:
    - name: CreateConfig
      description: >
          This method always creates a new config file as well as a D-Bus 
          object to represent the config, it will destroy an existing one,
          if found. In other words, this is not an update API. Individual
          properties can be updated as per the
          xyz/openbmc_project/User/Ldap/Config.interface.yaml.
      parameters:
        - name: LDAPServerURI
          type: string
          description: >
              Specifies the LDAP URI of the server to connect to.
        - name: LDAPBindDN
          type: string
          description: >
              Specifies the distinguished name with which to bind to the
              directory server for lookups.
        - name: LDAPBaseDN
          type: string
          description: >
              Specifies the base distinguished name to use as search base.
        - name: LDAPBINDDNpassword
          type: string
          description: >
              Specifies the clear text credentials with which to bind. This
              option is only applicable when used with LDAPBindDN.
        - name: LDAPSearchScope
          type: enum[self.SearchScope]
          description: >
              Specifies the search scope:subtree, one level or base object.
        - name: LDAPType
          type: enum[self.Type]
          description: >
              Specifies the the configured server is ActiveDirectory(AD) or
              OpenLdap. It's just an indication for the LDAP stack running on
              the BMC, in case the app is implemented in such a way that it has
              to react differently for AD vs openldap.
      returns:
        - name: path
          type: string
          description: >
              The object path of the D-Bus object representing the config.

      errors:
        - xyz.openbmc_project.Common.Error.InternalFailure
        - xyz.openbmc_project.Common.Error.InvalidArgument
        - xyz.openbmc_project.Common.Error.NoCACertificate

enumerations:
    - name: SearchScope
      description: >
          Possible base scopes.
      values:
        - name: sub
        - name: one
        - name: base

    - name: Type
      description: >
          Possible LDAP Types.
      values:
        - name: ActiveDirectory
        - name: OpenLdap

# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud