User Tools

Site Tools


docs:tips_n_tricks:ldap.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
docs:tips_n_tricks:ldap.html [10.07.2018 17:03 CEST] – [_] peterdocs:tips_n_tricks:ldap.html [10.07.2018 17:16 CEST] – [Self Service Password on Ubuntu 14.10] peter
Line 189: Line 189:
   /etc/init.d/apache2 stop   /etc/init.d/apache2 stop
   /etc/init.d/apache2 start   /etc/init.d/apache2 start
 +  
 +===== Change Loglevel of OpenLDAP =====
 +
 +Simply change attribute //olcLogLevel// of the object //cn=config// by //phpLDAPAdmin// or //ldapmodify// using the credentials for the OLC((on-line configuration)) access, by default //cn=config// and value of attribute olcRootPW of object //olcDatabase={0}config,cn=config//, e.g.
 +
 +  ldapmodify -Y EXTERNAL -H ldapi:/// -f config.ldif
 +
 +with
 +<code ldif config.ldif>
 +dn: cn=config
 +changeType: modify
 +replace: olcLogLevel
 +olcLogLevel: stats stats2 shell
 +</code>
 +
 +or
 +
 +<code ldif config.ldif>
 +dn: cn=config
 +changeType: modify
 +replace: olcLogLevel
 +olcLogLevel: none
 +</code>
 +
 +
 +==== References & Credits ====
 +  * http://www.zytrax.com/books/ldap/ch6/slapd-config.html
 +
 ======  ====== ======  ======
  
docs/tips_n_tricks/ldap.html.txt · Last modified: 27.02.2024 23:32 CET by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki