4 069
contributi
Riga 527: | Riga 527: | ||
# ldapadd -Y EXTERNAL -H ldapi:/// -f /tmp/index.ldif | # ldapadd -Y EXTERNAL -H ldapi:/// -f /tmp/index.ldif | ||
</pre> | </pre> | ||
Infine | Infine editiamo il file ''/etc/ldap/slapd.d/cn=config.ldif'' così: | ||
<pre> | <pre> | ||
olcLogLevel: 1 2 8 64 128 256 512 | olcLogLevel: 1 2 8 64 128 256 512 | ||
olcAuthzPolicy: none | olcAuthzPolicy: none | ||
olcAuthzRegexp: uid=(.*),cn=.*,cn=auth ldap:///dc=dominio,dc=lan??sub?(uid=$1) | olcAuthzRegexp: uid=(.*),cn=.*,cn=auth ldap:///dc=dominio,dc=lan??sub?(uid=$1) | ||
</pre> | </pre> | ||
Riavviamo infine il demone <code>slapd</code>: | Riavviamo infine il demone <code>slapd</code>: |