title: How to disable/enable simple authentication in openldap?
body: <p>When trying to authenticate through our openLDAP using simple authentication, I get &quot;Insufficient access&quot;:</p>
  <pre><code>$ ldapwhoami -vvv -h ldap.localnet -D 'uid=username,cn=users,dc=unimatrix1,dc=localnet' -x -W
  ldap_initialize( ldap://ldap.localnet )
  Enter LDAP Password: 
  ldap_bind: Insufficient access (50)
  </code></pre>
  <p>However, if I use SASL, it works:</p>
  <pre><code>$ ldapwhoami -vvv -h ldap.localnet -U username -W
  ldap_initialize( ldap://ldap.localnet )
  Enter LDAP Password: 
  SASL/SRP authentication started
  SASL username: username
  SASL SSF: 256
  SASL data security layer installed.
  dn:uid=username,cn=users,dc=unimatrix1,dc=localnet
  Result: Success (0)
  </code></pre>
  <p>Therefore, I suppose that simple authentication has been (accidentally?) disabled in openLDAP somehow. I searched the whole internet, but I can't find a description about if and how simple authentication could disabled or enabled in openLDAP.</p>
  <p>Can it be done and how?</p>