Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| openldap [2024/10/04 20:34] – [6. Crear otro usuario administrador] kasandra | openldap [2026/03/18 15:25] (actual) – [10. Monitorear] kasandra | ||
|---|---|---|---|
| Línea 99: | Línea 99: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | $ ldapmodify -Y EXTERNAL -H ldapi:%%//%%/ -f ldap-tls.ldif\\ | + | $ ldapmodify -Y EXTERNAL -H ldapi:/// -f ldap-tls.ldif |
| \\ | \\ | ||
| ---------------\\ | ---------------\\ | ||
| Línea 118: | Línea 118: | ||
| Y pruebe con \\ | Y pruebe con \\ | ||
| \\ | \\ | ||
| - | $ ldapwhoami -H ldap: | + | $ ldapwhoami -H ldap: |
| - | $ ldapwhoami -H ldaps: | + | $ ldapwhoami -H ldaps: |
| \\ | \\ | ||
| https:// | https:// | ||
| Línea 126: | Línea 126: | ||
| https:// | https:// | ||
| \\ | \\ | ||
| + | \\ | ||
| + | \\ | ||
| + | \\ | ||
| + | |||
| + | ---- si por el contrario no quiere nada | ||
| + | TLS_REQCERT never | ||
| + | O en la syncronizacion | ||
| + | olcSyncrepl: | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| ==== 2. Detalles de LAM ==== | ==== 2. Detalles de LAM ==== | ||
| Línea 149: | Línea 161: | ||
| https:// | https:// | ||
| \\ | \\ | ||
| - | https:// | ||
| \\ | \\ | ||
| + | https:// | ||
| ===== Trucos ===== | ===== Trucos ===== | ||
| Línea 171: | Línea 182: | ||
| Anonimo | Anonimo | ||
| - | ldapsearch -x -b ' | + | ldapsearch -x -b ' |
| - | \\ | + | |
| - | O si quiere como un dump ya autenticado\\ | + | O si quiere como un dump ya autenticado |
| - | \\ | + | |
| - | ldapsearch -x -ZZ -D cn=admin, | + | ldapsearch -x -ZZ -D cn=admin, |
| - | \\ | + | |
| - | La configuracion\\ | + | La configuracion |
| - | \\ | + | |
| | | ||
| Línea 265: | Línea 276: | ||
| La referencia\\ | La referencia\\ | ||
| https:// | https:// | ||
| + | |||
| + | ==== 9. Backup ==== | ||
| + | |||
| + | Hace un dump | ||
| + | |||
| + | slapcat -b " | ||
| + | |||
| + | Y luego restaure: baja servcio, sube datos, y reinicia | ||
| + | |||
| + | service stop slapd.service | ||
| + | |||
| + | slapadd -f backup.ldif | ||
| + | |||
| + | chown -R ldap.ldap / | ||
| + | |||
| + | service restart slapd.service | ||
| + | |||
| + | Tambien se pude sacar un dump usando mdb | ||
| + | |||
| + | Este siguiente link tiene mas detalle en la restauracion para arrancar de cero. | ||
| + | |||
| + | https:// | ||
| + | |||
| + | ==== 10. Monitorear ==== | ||
| + | |||
| + | Para incluirlo con los plugines de munin | ||
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| ===== | ===== | ||