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
2020-10-09 18:04:16 -07:00
2020-10-29 14:09:48 -07:00
2015-06-22 13:47:27 -07:00
2018-08-22 13:21:35 -07:00
2015-11-30 10:43:41 -08:00
2015-07-21 13:36:03 -07:00
2020-11-02 15:49:11 -08:00
2015-10-24 11:18:27 -07:00
2015-06-22 13:47:27 -07:00
2020-08-27 14:15:14 -07:00
2015-07-21 13:06:13 -07:00
2020-05-22 10:44:02 -07:00
2020-11-04 19:09:34 -08:00
2020-11-04 19:09:34 -08:00
2018-10-29 09:10:43 -07:00
2019-07-16 09:09:12 -07:00
2020-01-03 14:14:01 -08:00
2020-10-16 10:40:11 -07:00
2019-04-10 15:40:48 -07:00

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>`_
Description
Languages
Python 82%
HTML 16.3%
JavaScript 1%
Makefile 0.2%
CSS 0.2%
Other 0.3%