qbit.ypldap
openbsd-ypldap
This role sets up an OpenBSD machine to authenticate with an LDAP server.
Requirements
- OpenBSD
Role Variables
Variable | Default Value | Description |
---|---|---|
ypldap_interval |
60 | How often (in seconds) ypldap asks the ldap_server for user details. |
ldap_server |
"127.0.0.1" | The LDAP server address. |
ldaps |
True | Should we connect to the ldap_server using TLS? |
cafile |
undefined | Location of the CA file. If not defined, /etc/ssl/cert.pem is used by default. |
ldap_domain |
"bolddaemon" | Your domain name. If your full domain name was "example.com", this would be "example". |
ldap_tld |
"com" | The top-level domain (TLD) of your domain. For "example.com", this is "com". |
ldap_admin |
"admin" | The rootdn . This will be set to: cn={{ ldap_admin }},dc={{ ldap_domain }},dc={{ ldap_tld }} . |
ldap_admin_pass |
"welcome" | Password for rootdn . This will be encrypted and saved in /etc/ldapd.conf . |
Dependencies
- OpenBSD
Example Playbook
- hosts: openbsd_ypldap_clients
roles:
- { role: ypldap, tags: ["clients", "ypldap"] }
License
/*
* Copyright (c) 2018 Aaron Bieber <[email protected]>
*
* You can use, copy, modify, and share this software for any
* purpose with or without fees, as long as you include this
* copyright notice and permission notice in any copies.
*
* THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DOES NOT
* OFFER ANY WARRANTIES. THE AUTHOR IS NOT RESPONSIBLE FOR
* ANY DAMAGES THAT MAY COME FROM USING THIS SOFTWARE.
*/
Installa
ansible-galaxy install qbit.ypldap
Licenza
isc
Download
68
Proprietario
OpenBSD slacker in CO