GithubHelp home page GithubHelp logo

patrickrudolph / phosphor-user-manager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openbmc/phosphor-user-manager

0.0 1.0 0.0 244 KB

License: Apache License 2.0

Shell 0.28% C++ 90.23% Makefile 2.19% M4 3.45% Meson 3.85%

phosphor-user-manager's Introduction

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To clean the repository run `./bootstrap.sh clean`.

LDAP Configuration

Configure LDAP

curl -c cjar -b cjar -k -H "Content-Type: application/json" -X POST -d '{"data":[false,"ldap://<ldap://<LDAP server ip/hostname>/", "<bindDN>", "<baseDN>","<bindDNPassword>","<searchScope>","<serverType>"]}''  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 <FILE> https://<BMC_IP>/xyz/openbmc_project/certs/client/ldap

Upload CA Certificate

curl -c cjar -b cjar -k -H "Content-Type: application/octet-stream"
     -X PUT -T <FILE> https://<BMC_IP>/xyz/openbmc_project/certs/authority/ldap

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

phosphor-user-manager's People

Contributors

ratagupt avatar williamspatrick avatar raviteja-b avatar vishwabmc avatar tomjoseph83 avatar pstrinkle avatar manojkiraneda avatar nest1ing avatar jayaprakashmutyala avatar jonathan-doman avatar dheerajpdsk avatar patrickrudolph avatar paulfertser avatar sumbhat90 avatar vmauery avatar zkurzyns avatar ztai-goog avatar jiaqingz-intel avatar gtmills avatar dkodihal avatar bradbishop avatar asmithakarun avatar ya-mouse avatar amboar avatar geissonator avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.