My issue now, -and please forgive my ignorance as I am new to this world- I have created a user named test with a basic password in the section >Icinga director> Icinga Api Users
as you see here
I am testing the API calls with the new created user credentials but they are not working successfully! also curl is not showing me any error results or any clue!
Any Idea or help would be very much appreciated.
Thanks
Jaber
Hallo Lukas and thanks for your reply,
Bad news is, I can not follow the given solution because I don’t have the possibility to create new user! I n another word, I don’t have the create Option or any option appearing on my screen!
Director Api and Icinga Api are different things.
-If you want to add host with the Director Api you need to use an icingaweb2 user with director Api permissions and not an Icinga Api user. If you want to do something with the Icinga2 Api, the icinga Api user is enough.
-You can’t add users because you are ldap authenticated. Just create a role, that have director api permissions and add LDAP users to this group. You simply can type in a name of an existing ldap user, or select them, if ldap is correctly configured.
To create users you need another authentication method, like mysql database where these “local” users are stored like @lukas mentioned.