ForkNVIDIANVIDIApublished May 6, 2024seen 13h

NVIDIA/phosphor-user-manager

forked from openbmc/phosphor-user-manager

Open original ↗

Captured source

source ↗
published May 6, 2024seen 13hcaptured 13hhttp 200method plain

NVIDIA/phosphor-user-manager

Language: C++

License: Apache-2.0

Stars: 2

Forks: 1

Open issues: 0

Created: 2024-05-06T16:48:15Z

Pushed: 2026-06-10T18:08:54Z

Default branch: develop

Fork: yes

Parent repository: openbmc/phosphor-user-manager

Archived: no

README:

phosphor-user-manager

To Build

To build this package, do the following steps:

1. meson build
2. ninja -C build

LDAP Configuration

Configure LDAP

curl -c cjar -b cjar -k -H "Content-Type: application/json" -X POST -d '{"data":[false,"ldap:///", "", "","","",""]}'' https://$BMC_IP/xyz/openbmc_project/user/ldap/action/CreateConfig

NOTE

If the configured ldap server is secure then we need to upload the client certificate and the CA certificate in following cases.

  • First time LDAP configuration.
  • Change the already configured Client/CA certificate

Upload LDAP Client Certificate

curl -c cjar -b cjar -k -H "Content-Type: application/octet-stream"
-X PUT -T https:///xyz/openbmc_project/certs/client/ldap

Upload CA Certificate

curl -c cjar -b cjar -k -H "Content-Type: application/octet-stream"
-X PUT -T https:///xyz/openbmc_project/certs/authority/truststore

Clear LDAP Config

curl -b cjar -k -H "Content-Type: application/json" -X POST -d '{"data":[]}' https://$BMC_IP/xyz/openbmc_project/user/ldap/config/action/delete

Get LDAP Config

curl -b cjar -k https://$BMC_IP/xyz/openbmc_project/user/ldap/enumerate

Excerpt shown — open the source for the full document.