Project

General

Profile

Actions

Bug #18135

closed

LDAP account password is not working while configuring LDAP in Foreman via API

Added by Unnikrishnan K over 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hello,

I have configured the LDAP from Foreman GUI and LDAP authentication is working fine. I tried to automate the same by using python script which is calling Foreman API and LDAP configuration is added successfully by the script. But LDAP authentication is not working unless I login to Foreman GUI and update the LDAP account password.

I am using the same LDAP account password in the script but it is working only when I am updating it from GUI (Administer -> LDAP authentication)

Foreman version: 1.11
Backend DB: MySQL

Could you please help?

Best Regards,
Unnikrishnan K

Actions #1

Updated by Dominic Cleal over 7 years ago

  • Category set to API
  • Status changed from New to Need more information

Without information about the API request you're performing to set the auth source password, it's hard to triage this. Please include Foreman's log from the creation of the auth source, showing the parameters used. (Client-side code or request debug may also be useful.)

Enabling debugging and the SQL logger may also show useful information about what's persisted.

https://theforeman.org/manuals/1.11/index.html#7.2Debugging has more information.

Actions #2

Updated by Anonymous almost 7 years ago

  • Status changed from Need more information to Resolved

no reaction, closing

Actions

Also available in: Atom PDF