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>
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 @@
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 @@
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