summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@linux.vnet.ibm.com>2019-03-08 20:40:49 +0530
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-03-08 21:43:01 +0000
commit910b0d9d71d3cc171357ebe6ed55fded5258a95c (patch)
treeee4831260b0e95a3fe85e48276fbd322d700f8f7
parentac5b6562dc8a05277dc0a21ce88cba3963712ba1 (diff)
downloadphosphor-dbus-interfaces-910b0d9d71d3cc171357ebe6ed55fded5258a95c.tar.gz
phosphor-dbus-interfaces-910b0d9d71d3cc171357ebe6ed55fded5258a95c.zip
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 <ratagupt@linux.vnet.ibm.com>
-rw-r--r--xyz/openbmc_project/User/Ldap/Config.interface.yaml11
-rw-r--r--xyz/openbmc_project/User/Ldap/Create.interface.yaml10
2 files changed, 20 insertions, 1 deletions
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
OpenPOWER on IntegriCloud