Skip to content

includerandom/ansible-role-openldap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-role-openldap

Ansible OpenLDAP (slapd) role

The role:

  • install OpenLDAP server
  • you can start repeatedly the role
  • Add users and OU if you need. It's may very useful
  • Enable TLS connection with your cert

Check 636 with TLS. Run the command on remote client: openssl s_client -connect ldapserver.lab.example.com:636 -showcerts -state

If TLS work normaly, you get answer with msg: verify return code: 0 (ok) If TLS doesn't work normaly, you get msg:certificate verify failed (self signed certificate).

Check anonymouse user ldapwhoami -H ldap://ldapserver.lab.example.com -x -ZZ

Simple check TLS ldapwhoami -H ldap://ldapserver.lab.example.com -x -D "cn=admin,dc=lab,dc=example,dc=com" -W -ZZ

About

Ansible OpenLDAP (slapd) role

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published