title: Using md5 at userPassword (OpenLDAP)
body: <p>I'm using LDAP for ssh autorithation.</p>
  
  <p>userPassword with {crypt} working fine, but {md5} doesn't work.</p>
  
  <pre><code>ldapmodify -Vv -D "cn=Manager,dc=*,dc=*" -W -f *.ldif
  </code></pre>
  
  <p>*.ldif:</p>
  
  <pre><code>dn: uid=*,ou=People,dc=*,dc=*
  changetype: modify
  replace: userPassword
  userPassword: {CRYPT}eGUw6pD1aAClQ
  </code></pre>
  
  <p>*.ldif:</p>
  
  <pre><code>dn: uid=*,ou=People,dc=*,dc=*
  changetype: modify
  replace: userPassword
  userPassword: {MD5}ICy5YqxZB1uWSwcVLSNLcA==
  </code></pre>
  
  <p>Standart configuration:
  <a href="https://wiki.gentoo.org/wiki/Centralized_authentication_using_OpenLDAP" rel="nofollow">https://wiki.gentoo.org/wiki/Centralized_authentication_using_OpenLDAP</a></p>