Skip to content

Integrate ldap  #140

@manisha-tanwar

Description

@manisha-tanwar

Hi Team,

I tried using ldap authentication https://github.com/StackStorm/st2-auth-backend-ldap on my stackstorm environment on Linux server which works fine. But I'm having trouble in using it on K8.

I mounted /opt/stackstorm/st2 directory additionally on custom packs image(which includes pip install git+https://github.com/<github_account>/st2-auth-backend-ldap.git@master#egg=st2_auth_backend_ldap )

Also modified deployments.yaml and jobs.yaml to mount additional volume /opt/stackstorm/st2 and passed ldap configuration to /etc/st2/st2.user.conf through values.yaml.

I can see ldap backend is installed on st2actionrunner, st2client,st2sensorcontainer,st2api like this:

root@stackstorm-linux-gb5-st2actionrunner-7dfd5495cf-2zgrh:/opt/stackstorm# st2/bin/pip list | grep ldap
ldap2pg                        5.4
python-ldap                    3.3.1
st2-auth-backend-ldap          0.1.1

But didn't find any way to push this on st2auth pod and because of this it fails with

2020-07-13 12:50:50,018 ERROR [-] Invalid "st2auth.backends.backend" backend specified: ldap

What else do I need to modify in order to use ldap backend on st2auth. Please help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions