Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Documentation: How to configure and enable basic LDAP/AD User Authentication for Oncall

See original GitHub issue

I was having trouble getting basic LDAP/Active Directory authentication enabled in my instance of Oncall due to the config options provided. In the end I figured out that all that is needed is to enable the following:

  • Enable module: 'oncall.auth.modules.ldap_example'
  • Enable and configure ldap_url
  • Enable and configure ldap_user_suffix
  • Enable and configure ldap_cert_path

Here is a proper example:

# Example configuration for LDAP-based auth
  module: 'oncall.auth.modules.ldap_example'
  ldap_url: 'ldaps://'
  ldap_user_suffix: ''
  ldap_cert_path: '/home/oncall/configs/corp_cert.pem'

Everything else in the module config block should be commented out.

All of the other configs including ldap_bind_user, ldap_bind_password, ldap_base_dn, and ldap_search_filter wasn’t needed as I assume they are used by the ldap_import module.

Is it recommended to submit a PR to add notes on separating out the different module options in the config.yaml? If not, what is the best way to submit contributions to the official documentation at (documentation is hosted on read the docs)?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

jordo1138commented, Aug 31, 2018

@joedissmeyer I have a PR for a doc change open now, they use github and sphinx to build the docs so you can modify the source of the docs here and make the PR based on changes in the example like you showed in this issue

abra620commented, Dec 23, 2020

can any one explain how to add users using IDAP…? I don’t have experience on IDAP couldn’t find useful answer on google.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Admin guide — Oncall 1.1.0 documentation
Try logging in as the user “jdoe”, with any password (the Docker image defaults to disable authentication, which authenticates all credentials so long...
Read more >
Configure LDAP/Active Directory Authentication - Harbor docs
If you want to manage user authentication by using LDAP groups, you must enable the memberof feature on the LDAP/AD server. With the...
Read more >
Guides: Identity and User Attributes - Open Policy Agent
A common question from OPA users is how to deal with identity and user attributes. ... when the user logs in you create...
Read more >
Using Active Directory or LDAP for Authentication Only
SL1 will use the settings and the credentials defined in the LDAP/AD ... To enable AD or LDAP to authenticate the user, the...
Read more >
Configure LDAP Authentication | Grafana documentation
Disable org role synchronization. If you use LDAP to authenticate users but don't use role mapping, and prefer to manually assign organizations and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found