doc:appunti:linux:sa:sldap
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:sa:sldap [2011/10/28 16:34] – [Creazione di un indice] niccolo | doc:appunti:linux:sa:sldap [2014/12/25 16:26] (current) – [Configurazione TLS] niccolo | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| </ | </ | ||
| - | ===== Inizializzazione di un database ===== | + | ===== Inizializzazione |
| - | Nell' | + | Nell' |
| - | Per recuperare o inizializzare il contenuto del database (ad esempio | + | Per recuperare o inizializzare il contenuto del database (ad esempio |
| < | < | ||
| Line 38: | Line 38: | ||
| </ | </ | ||
| + | Dopo l' | ||
| + | |||
| + | < | ||
| + | ldap_add: Other (e.g., implementation specific) error (80) | ||
| + | additional info: index generation failed | ||
| + | </ | ||
| + | |||
| + | Notare che **non è in genere possibile usare '' | ||
| + | |||
| + | In modo analogo con '' | ||
| ===== Creazione di un indice ===== | ===== Creazione di un indice ===== | ||
| Line 145: | Line 155: | ||
| Per utilizzare i protocolli cifrati **ldaps** (su porta 636 TCP) oppure **ldap con '' | Per utilizzare i protocolli cifrati **ldaps** (su porta 636 TCP) oppure **ldap con '' | ||
| - | Creare un file di configurazione, | + | Creare un file di configurazione, |
| < | < | ||
| Line 152: | Line 162: | ||
| # following command: | # following command: | ||
| # | # | ||
| - | # openssl req -config /etc/ldap/tls/ldap.my.rigacci.org.cnf \ | + | # openssl req -config /etc/ldap/ssl/ |
| # -new -x509 -days 1461 -nodes \ | # -new -x509 -days 1461 -nodes \ | ||
| - | # | + | # |
| - | # -out /etc/ldap/tls/ldap.my.rigacci.org.pem | + | # -out /etc/ldap/ssl/ |
| # | # | ||
| # The resulting file (unencrypted otherwise Slapd can't start | # The resulting file (unencrypted otherwise Slapd can't start | ||
| Line 166: | Line 176: | ||
| distinguished_name | distinguished_name | ||
| - | [ ldap.my.rigacci.org_distinguished_name ] | + | [ ldap.rigacci.org_distinguished_name ] |
| countryName | countryName | ||
| stateOrProvinceName | stateOrProvinceName | ||
| Line 172: | Line 182: | ||
| organizationName | organizationName | ||
| organizationalUnitName | organizationalUnitName | ||
| - | commonName | + | commonName |
| emailAddress | emailAddress | ||
| </ | </ | ||
| Line 181: | Line 191: | ||
| < | < | ||
| - | olcTLSCertificateFile: | + | olcTLSCertificateFile: |
| - | olcTLSCertificateKeyFile: | + | olcTLSCertificateKeyFile: |
| </ | </ | ||
| Line 216: | Line 226: | ||
| Catturando i pacchetti con **'' | Catturando i pacchetti con **'' | ||
| + | |||
| + | ===== Cambio password ===== | ||
| + | |||
| + | Per modificare la password di un record LDAP esiste l' | ||
| + | |||
| + | < | ||
| + | ldappasswd -x -D " | ||
| + | </ | ||
| + | |||
doc/appunti/linux/sa/sldap.1319812454.txt.gz · Last modified: by niccolo
