Go to file
Frederic Brin 57208fe198 Fix group lookup when AD DNS Referal is in lookup path
Fix an issue when the DNS AD referal is in the path.
An Exception is raised, with the following stacktrace::

  Traceback (most recent call last):
    File "/www/lemur/lemur/auth/views.py", line 317, in post
      user = ldap_principal.authenticate()
    File "/www/lemur/lemur/auth/ldap.py", line 147, in authenticate
      self._bind()
    File "/www/lemur/lemur/auth/ldap.py", line 216, in _bind
      self.ldap_groups.append(values["cn"][0].decode("ascii"))
  TypeError: list indices must be integers or slices, not str

This is issue is trigerred by some extra rows that referrences
the DNS subtree::

   ['ldaps://DomainDnsZones.xxxx']

Limiting the extraction to the expected dicts fix this issue.
2020-11-09 09:40:28 +01:00
docker cleaning up outdated phrases 2020-10-09 18:04:16 -07:00
docs Merge branch 'master' into cname_01 2020-10-29 14:09:48 -07:00
gulp Do not add urlContextPath to relative path 2020-10-19 22:35:10 +02:00
lemur Fix group lookup when AD DNS Referal is in lookup path 2020-11-09 09:40:28 +01:00
trustores initial commit 2015-06-22 13:47:27 -07:00
.bowerrc Revert "Precommit - Fix linty things" 2018-08-22 13:21:35 -07:00
.coveragerc Removing tests folder from coverage report. (#788) 2017-05-11 19:42:53 -07:00
.gitattributes adding automatic versioning 2015-11-30 10:43:41 -08:00
.gitignore reversing PR due to internal resolved addresses 2020-07-06 14:08:31 -07:00
.jshintignore Pleasing the JSHint gods 2015-07-21 13:36:03 -07:00
.jshintrc Revert "Precommit - Fix linty things" 2018-08-22 13:21:35 -07:00
.pre-commit-config.yaml Add bandit to test and pre-commit 2019-05-16 08:13:42 -07:00
.travis.yml better formatting 2020-11-02 15:49:11 -08:00
AUTHORS Version bump and needed documentation. 2015-10-24 11:18:27 -07:00
CHANGELOG.rst Fix issue with automatically renewing acme certificates 2018-05-08 14:54:10 -07:00
Dockerfile fixing Dockerfile, Lemur builds now 2020-07-31 17:54:18 -07:00
LICENSE Addressing comments. Updating copyrights. Added function to determine authorative name server 2018-05-29 10:23:01 -07:00
MANIFEST.in add missing requirements files for setup 2018-08-31 13:02:53 -05:00
Makefile fixing Makefile build issue with @echo 2020-08-26 01:47:17 -07:00
OSSMETADATA adding OSSMETADATA for NetflixOSS tracking 2015-12-11 15:57:28 -08:00
README.rst Update README.rst 2020-05-22 10:44:02 -07:00
bower.json Hardcoding bootswatch version to 3.4.1+1 2020-07-23 15:40:55 -07:00
config-default.py initial commit 2015-06-22 13:47:27 -07:00
docker-compose.yml Update requirements - upgrade to py37 2019-04-10 15:40:48 -07:00
gulpfile.js Pleasing the PEP8 gods 2015-07-21 13:06:13 -07:00
package.json Dependbot failed to merge this PR, so raising it manually 2020-09-15 11:39:29 -07:00
requirements-dev.in flake8 version 3.8.4 2020-11-04 19:09:34 -08:00
requirements-dev.txt flake8 version 3.8.4 2020-11-04 19:09:34 -08:00
requirements-docs.in Celery task for sync job 2018-10-29 09:10:43 -07:00
requirements-docs.txt Bump boto3 from 1.16.5 to 1.16.9 2020-11-02 19:21:05 +00:00
requirements-tests.in updating fakeredis 2019-07-16 09:09:12 -07:00
requirements-tests.txt Bump boto3 from 1.16.5 to 1.16.9 2020-11-02 19:21:05 +00:00
requirements.in updating requirements. 2020-01-03 14:14:01 -08:00
requirements.txt Version updates and making lint happy 2020-11-04 18:23:39 -08:00
setup.cfg Ensuring that acme and cryptography respect different key types (#554) 2016-12-02 10:54:18 -08:00
setup.py Initial implementation 2020-10-16 10:40:11 -07:00
tox.ini Update requirements - upgrade to py37 2019-04-10 15:40:48 -07:00

README.rst

Lemur
=====

.. image:: https://badges.gitter.im/Join%20Chat.svg
   :alt: Join the chat at https://gitter.im/Netflix/lemur
   :target: https://gitter.im/Netflix/lemur?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

.. image:: https://readthedocs.org/projects/lemur/badge/?version=latest
    :target: https://lemur.readthedocs.io
    :alt: Latest Docs

.. image:: https://img.shields.io/badge/NetflixOSS-active-brightgreen.svg

.. image:: https://travis-ci.org/Netflix/lemur.svg
    :target: https://travis-ci.org/Netflix/lemur

.. image:: https://coveralls.io/repos/github/Netflix/lemur/badge.svg?branch=master
    :target: https://coveralls.io/github/Netflix/lemur?branch=master



Lemur manages TLS certificate creation. While not able to issue certificates itself, Lemur acts as a broker between CAs
and environments providing a central portal for developers to issue TLS certificates with 'sane' defaults.

It works on Python 3.7. We deploy on Ubuntu and develop on OS X.


Project resources
=================

- `Lemur Blog Post <http://techblog.netflix.com/2015/09/introducing-lemur.html>`_
- `Documentation <http://lemur.readthedocs.io/>`_
- `Source code <https://github.com/netflix/lemur>`_
- `Issue tracker <https://github.com/netflix/lemur/issues>`_
- `Docker <https://github.com/Netflix/lemur-docker>`_