Bug #18135
closedLDAP account password is not working while configuring LDAP in Foreman via API
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
Updated by Dominic Cleal over 8 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.
Updated by Anonymous about 8 years ago
- Status changed from Need more information to Resolved
no reaction, closing