Open manojdesd opened 2 years ago
Please help me in this. I have tried many times, couldn't configure it right. OpenBMC community help me.
@gtmills Please help me in this, or can you guide someone to help me with the LDAP configuration. I have tried many things, nothing has worked for me. Please help.
Hi, Do these same commands work via Redfish? You can go to the network tab on the browser developer tools to see the requests/responses. I doubt this is a problem with phosphor-webui and instead looks like a problem with your setup or a user management bug. Note: most community members have moved away from phoshor-webui and to https://github.com/openbmc/webui-vue
There is some LDAP documentation here: https://github.com/openbmc/phosphor-user-manager/blob/18c1b42c1612e0e8d8f5cd9973bba09b447c7185/docs/README.md
@ratagupt do you see anything?
Hi @gtmills
Thank you for your response. Since this is the older project, still using the phosphor-webui, so won't be able to use webui-vue. I have tried a unsecure LDAP config, but it hasn't worked. Through redfish commands I will try and get back to you.
@manojdesd : It is a working code and we have been using it since long...I don't have the setup right now, @gkeishin @prakatti1 Can you help in configuring the setup? I will be looking at my notes to share the setup details. As per me this is a ldap setup/configuration problem
But when I try to login through with LDAP user and password I couldn't access the server so i manually added the user into the redfish group using the command $ usermod -a -G redfish like adding any other local user I had to do it.
You don't need to run the usermod cmd
@gkeishin : Can you also confirm that do we need to run the usermod cmd to put the ldap user in the redfish group?
@ratagupt thank you for your insights. Yeah please do share the setup details.
Issue: Unable to establish a successful LDAP connection and LOGIN and use the LDAP user.
OpenBMC version - 2.9
Steps:
My question is : why I couldn't login without adding the user to the redfish group? why does it show unauthorized even after adding to the redfish group?
Please help me with this. What am I missing to do? Do I need to preconfigure anything else in order to have a successful connection? Is it a problem with my steps?