From 910b0d9d71d3cc171357ebe6ed55fded5258a95c Mon Sep 17 00:00:00 2001 From: Ratan Gupta Date: Fri, 8 Mar 2019 20:40:49 +0530 Subject: Re-enable "Add few additional properties in the LDAP config" This commit enables the changes for the commit e5c0eef46a4fc09256332bf3afe699d60aaebbb3. The backend changes are done through the following commit https://gerrit.openbmc-project.xyz/#/c/openbmc/phosphor-user-manager/+/18552/ Change-Id: I3a8069b8bfb7947371084892875a282413b4c749 Signed-off-by: Ratan Gupta --- xyz/openbmc_project/User/Ldap/Config.interface.yaml | 11 ++++++++++- xyz/openbmc_project/User/Ldap/Create.interface.yaml | 10 ++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/xyz/openbmc_project/User/Ldap/Config.interface.yaml b/xyz/openbmc_project/User/Ldap/Config.interface.yaml index 6b0a1e5..a0c72e0 100644 --- a/xyz/openbmc_project/User/Ldap/Config.interface.yaml +++ b/xyz/openbmc_project/User/Ldap/Config.interface.yaml @@ -41,7 +41,16 @@ properties: to react differently for AD vs openldap. errors: - xyz.openbmc_project.Common.Error.InternalFailure - + - name: GroupNameAttribute + type: string + description: > + The value of this property shall be the attribute name + that contains the name of the Group in the LDAP server. + - name: UserNameAttribute + type: string + description: > + The value of this property shall be the attribute name + that contains the username in the LDAP server. enumerations: - name: SearchScope description: > diff --git a/xyz/openbmc_project/User/Ldap/Create.interface.yaml b/xyz/openbmc_project/User/Ldap/Create.interface.yaml index ea16928..69c03e6 100644 --- a/xyz/openbmc_project/User/Ldap/Create.interface.yaml +++ b/xyz/openbmc_project/User/Ldap/Create.interface.yaml @@ -39,6 +39,16 @@ methods: 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. + - name: GroupNameAttribute + type: string + description: > + Specifies the attribute name that contains the name + of the Group in the LDAP server. + - name: UsernameAttribute + type: string + description: > + Specifies the attribute name that contains + the username in the LDAP server. returns: - name: path type: string -- cgit v1.2.1