summaryrefslogtreecommitdiffstats
path: root/xyz
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@linux.vnet.ibm.com>2018-10-24 23:34:55 +0530
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-11-07 22:40:56 +0000
commita3338fa789b55760f89455d4880ea262450a9821 (patch)
tree657819a70040303a1563d7cdf868c80c80d8bc64 /xyz
parenta04e994648cad7ead33aac5ae2ac39bc6c9d2073 (diff)
downloadphosphor-dbus-interfaces-a3338fa789b55760f89455d4880ea262450a9821.tar.gz
phosphor-dbus-interfaces-a3338fa789b55760f89455d4880ea262450a9821.zip
Ldap: Remove the secure property from the ldap config and create interface
Secure property is not required as URI itself tells that whether the configured LDAP is secure or not. For secure server, URI would be ldaps://<hostname/ip> and for nonsecure ldap server URI would be ldap://<hostname/ip> Change-Id: Ieb1b1466f0da8f6bb5695595fab8ec1e5b0e9075 Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
Diffstat (limited to 'xyz')
-rw-r--r--xyz/openbmc_project/User/Ldap/Config.interface.yaml9
-rw-r--r--xyz/openbmc_project/User/Ldap/Create.interface.yaml4
2 files changed, 1 insertions, 12 deletions
diff --git a/xyz/openbmc_project/User/Ldap/Config.interface.yaml b/xyz/openbmc_project/User/Ldap/Config.interface.yaml
index 26b1465..34babf1 100644
--- a/xyz/openbmc_project/User/Ldap/Config.interface.yaml
+++ b/xyz/openbmc_project/User/Ldap/Config.interface.yaml
@@ -2,14 +2,6 @@ description: >
Implement to update LDAP mandatory properties.
properties:
- - name: SecureLDAP
- type: boolean
- description: >
- Specifies whether to use SSL or not.
- default: false
- errors:
- - xyz.openbmc_project.Common.Error.InternalFailure
- - xyz.openbmc_project.Common.Error.NoCACertificate
- name: LDAPServerURI
type: string
description: >
@@ -17,6 +9,7 @@ properties:
errors:
- xyz.openbmc_project.Common.Error.InternalFailure
- xyz.openbmc_project.Common.Error.InvalidArgument
+ - xyz.openbmc_project.Common.Error.NoCACertificate
- name: LDAPBindDN
type: string
description: >
diff --git a/xyz/openbmc_project/User/Ldap/Create.interface.yaml b/xyz/openbmc_project/User/Ldap/Create.interface.yaml
index 3255fba..ea16928 100644
--- a/xyz/openbmc_project/User/Ldap/Create.interface.yaml
+++ b/xyz/openbmc_project/User/Ldap/Create.interface.yaml
@@ -10,10 +10,6 @@ methods:
properties can be updated as per the
xyz/openbmc_project/User/Ldap/Config.interface.yaml.
parameters:
- - name: SecureLDAP
- type: boolean
- description: >
- Specifies whether to use SSL or not.
- name: LDAPServerURI
type: string
description: >
OpenPOWER on IntegriCloud