Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openbmc/phosphor-user-manager
https://github.com/openbmc/phosphor-user-manager
Last synced: about 10 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/openbmc/phosphor-user-manager
- Owner: openbmc
- License: apache-2.0
- Created: 2017-09-05T22:14:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T00:20:12.000Z (about 2 months ago)
- Last Synced: 2024-09-09T01:30:56.053Z (about 2 months ago)
- Language: C++
- Size: 1.89 MB
- Stars: 7
- Watchers: 8
- Forks: 8
- Open Issues: 12
-
Metadata Files:
- Readme: docs/README.md
- License: LICENSE
Awesome Lists containing this project
README
# phosphor-user-manager
## To Build
To build this package, do the following steps:
```sh
1. meson build
2. ninja -C build
```### LDAP Configuration
#### Configure LDAP
```sh
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
```sh
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
```sh
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
```sh
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
```sh
curl -b cjar -k https://$BMC_IP/xyz/openbmc_project/user/ldap/enumerate
```