2020-01-22 22:41:01 +00:00
|
|
|
---
|
|
|
|
title: ldap_proxy
|
|
|
|
type: docs
|
|
|
|
---
|
|
|
|
|
2020-01-31 10:42:44 +00:00
|
|
|
[![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.ldap_proxy) [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.ldap_proxy?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.ldap_proxy) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
|
|
|
|
|
|
|
|
Setup an openldap proxy.
|
2020-01-22 22:41:01 +00:00
|
|
|
|
|
|
|
* [Default Variables](#default-variables)
|
|
|
|
* [ldap_proxy_acl_file](#ldap-proxy-acl-file)
|
|
|
|
* [ldap_proxy_acls](#ldap-proxy-acls)
|
|
|
|
* [ldap_proxy_base_dir](#ldap-proxy-base-dir)
|
|
|
|
* [ldap_proxy_custom_schemas](#ldap-proxy-custom-schemas)
|
|
|
|
* [ldap_proxy_loglevel](#ldap-proxy-loglevel)
|
|
|
|
* [ldap_proxy_options](#ldap-proxy-options)
|
|
|
|
* [ldap_proxy_readonly_enabled](#ldap-proxy-readonly-enabled)
|
|
|
|
* [ldap_proxy_server](#ldap-proxy-server)
|
|
|
|
* [ldap_proxy_server_suffix](#ldap-proxy-server-suffix)
|
|
|
|
* [ldap_proxy_tls_ca_path](#ldap-proxy-tls-ca-path)
|
|
|
|
* [ldap_proxy_tls_ca_source](#ldap-proxy-tls-ca-source)
|
|
|
|
* [ldap_proxy_tls_cert_path](#ldap-proxy-tls-cert-path)
|
|
|
|
* [ldap_proxy_tls_cert_source](#ldap-proxy-tls-cert-source)
|
|
|
|
* [ldap_proxy_tls_enabled](#ldap-proxy-tls-enabled)
|
|
|
|
* [ldap_proxy_tls_key_path](#ldap-proxy-tls-key-path)
|
|
|
|
* [ldap_proxy_tls_key_source](#ldap-proxy-tls-key-source)
|
|
|
|
* [ldap_proxy_urls](#ldap-proxy-urls)
|
|
|
|
* [Dependencies](#dependencies)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## Default Variables
|
|
|
|
|
|
|
|
### ldap_proxy_acl_file
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_acl_file: '{{ ldap_proxy_base_dir }}/slapd.access'
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_acls
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_acls:
|
|
|
|
- access_to:
|
|
|
|
- '*'
|
|
|
|
access_by:
|
|
|
|
- '* read'
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_base_dir
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_base_dir: /etc/openldap
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_custom_schemas
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_custom_schemas: []
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_loglevel
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_loglevel: 0
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_options
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_options: []
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_readonly_enabled
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_readonly_enabled: true
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_server
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_server: ldap://ad.example.com:389
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_server_suffix
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_server_suffix: dc=example,dc=com
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_tls_ca_path
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_tls_ca_path: '{{ ldap_proxy_base_dir }}/certs/ca.path'
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_tls_ca_source
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_tls_ca_source: ca.pem
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_tls_cert_path
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_tls_cert_path: '{{ ldap_proxy_base_dir }}/certs/mycert.pem'
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_tls_cert_source
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_tls_cert_source: mycert.pem
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_tls_enabled
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_tls_enabled: false
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_tls_key_path
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_tls_key_path: '{{ ldap_proxy_base_dir }}/certs/mykey.pem'
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_tls_key_source
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_tls_key_source: mykey.pem
|
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_urls
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_urls:
|
|
|
|
- ldapi:/// ldap:///
|
|
|
|
```
|
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
None.
|