From a3338fa789b55760f89455d4880ea262450a9821 Mon Sep 17 00:00:00 2001 From: Ratan Gupta Date: Wed, 24 Oct 2018 23:34:55 +0530 Subject: 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:// and for nonsecure ldap server URI would be ldap:// Change-Id: Ieb1b1466f0da8f6bb5695595fab8ec1e5b0e9075 Signed-off-by: Ratan Gupta --- xyz/openbmc_project/User/Ldap/Config.interface.yaml | 9 +-------- xyz/openbmc_project/User/Ldap/Create.interface.yaml | 4 ---- 2 files changed, 1 insertion(+), 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: > -- cgit v1.2.1