Loading README.rst +4 Changes for README.rst: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ Role Variables -------------- :: organization: '{{ ansible_domain }}' #Organization name, defaults to the domain name. domain: '{{ ansible_domain }}' #LDAP domain, converted to ldap formatted. Defaults to the domain name of the machine. basedn: #LDAP base distinguished name, defaults to machine's domain converted to LDAP format. Loading @@ -28,6 +29,7 @@ Example Playbook ---------------- :: - hosts: servers roles: - ansible-ldap Loading @@ -46,9 +48,11 @@ Restore procedure ----------------- Deleting existing basedn: :: ldapdelete -Y EXTERNAL -H ldapi:/// -rD "cn=admin,dc=example,dc=com" #Run as root, no password needed. ldapdelete -rxWD "cn=admin,dc=example,dc=com" #Run as any user, asks for OpenLDAP admin password. Restoring from backup: :: ldapadd -Y EXTERNAL -H ldapi:/// -D "cn=admin,dc=example,dc=com -f backup.ldif #Run as root, no password needed. ldapadd -xWD "cn=admin,dc=example,dc=com -f backup.ldif #Run as any user, asks for OpenLDAP admin password. Loading
README.rst +4 Changes for README.rst: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ Role Variables -------------- :: organization: '{{ ansible_domain }}' #Organization name, defaults to the domain name. domain: '{{ ansible_domain }}' #LDAP domain, converted to ldap formatted. Defaults to the domain name of the machine. basedn: #LDAP base distinguished name, defaults to machine's domain converted to LDAP format. Loading @@ -28,6 +29,7 @@ Example Playbook ---------------- :: - hosts: servers roles: - ansible-ldap Loading @@ -46,9 +48,11 @@ Restore procedure ----------------- Deleting existing basedn: :: ldapdelete -Y EXTERNAL -H ldapi:/// -rD "cn=admin,dc=example,dc=com" #Run as root, no password needed. ldapdelete -rxWD "cn=admin,dc=example,dc=com" #Run as any user, asks for OpenLDAP admin password. Restoring from backup: :: ldapadd -Y EXTERNAL -H ldapi:/// -D "cn=admin,dc=example,dc=com -f backup.ldif #Run as root, no password needed. ldapadd -xWD "cn=admin,dc=example,dc=com -f backup.ldif #Run as any user, asks for OpenLDAP admin password.