{"repo":"wiltonsr/ldapAuth","free":true,"listed":false,"github":"https://github.com/wiltonsr/ldapAuth","clone":"git clone https://github.com/wiltonsr/ldapAuth.git","description":"An open source Traefik Middleware that enables authentication via LDAP in a similar way to Traefik Enterprise","language":"Go","stars":131,"topics":["plugin","authentication","authentication-middleware","traefik-v2","traefik-middleware","golang","go","traefik-plugin","ldap","go-ldap"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"\"You shall authenticate to the LDAP to pass\" - Gandalpher, the gopher --- Traefik ldapAuth Middleware This project is an in-progress effort to create an open-source middleware that enables authentication via LDAP in a similar way to Traefik Enterprise. Requirements - Traefik = v2.10.0 Traefik plugins are developed using the compiled Go language. Rather than being pre-compiled and linked, however, plugins are executed on the fly by Yaegi, an embedded Go interpreter. Due to traefik/yaegi#1275 and traefik/yaegi#1484, the ldap-go module only works after the listed version. Usage Add Plugin to Service Bind Mode Example Search Mode Anonymous Example Search Mode Authenticated Example Advanced Search Mode Example Operations Mode The Operation Mode detected will be used to perform all subsequent requests. Bind Mode If no searchFilter is specified in its configuration, the middleware runs in the default bind mode, meaning it tries to make a simple bind request to the LDAP server with the credentials provided in the request headers. If the bind succeeds, the middleware forwards the request, otherwise, it returns a 401 Unauthorized status code. Search Mode If a searchFilter query is specified in the configuration, then the middleware runs in search mode. In this mode, a search query with the given filter is issued to the LDAP server before trying to bind. If bindDN and bindPassword have also been provided, then the search query will use these credentials. If the result of this search ret","default_branch":null,"files":null,"tree":[],"storefront":"/r/wiltonsr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wiltonsr/ldapAuth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}