{"id":744,"date":"2013-08-16T11:45:21","date_gmt":"2013-08-16T09:45:21","guid":{"rendered":"http:\/\/elkano.org\/blog\/?p=744"},"modified":"2013-08-16T11:45:21","modified_gmt":"2013-08-16T09:45:21","slug":"slapd20001","status":"publish","type":"post","link":"https:\/\/elkano.org\/blog\/slapd20001\/","title":{"rendered":"slapd[20001]: <= bdb_equality_candidates: (mail) not indexed"},"content":{"rendered":"<p>This message is showed because the ldap server does not have mail attribute indexed.<br \/>\nTo create an index for that attribute create a file with this content:<\/p>\n<p>file <strong>mail_add_index.ldif<\/strong><\/p>\n<pre class='dontquote prettyprint xml-lang'>\r\ndn: olcDatabase={1}hdb,cn=config\r\nadd: olcDbIndex\r\nolcDbIndex: mail eq,sub\r\n<\/pre>\n<p>Now, simply add the index with the following command:<\/p>\n<pre class='dontquote prettyprint xml-lang'>\r\n# ldapmodify -Y EXTERNAL -H ldapi:\/\/\/ -f mail_add_index_ldif\r\nSASL\/EXTERNAL authentication started\r\nSASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth\r\nSASL SSF: 0\r\nmodifying entry &quot;olcDatabase={1}hdb,cn=config&quot;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This message is showed because the ldap server does not have mail attribute indexed. To create an index for that attribute create a file with this content: file mail_add_index.ldif dn: olcDatabase={1}hdb,cn=config add: olcDbIndex olcDbIndex: mail eq,sub Now, simply add the index with the following command: # ldapmodify -Y EXTERNAL -H ldapi:\/\/\/ -f mail_add_index_ldif SASL\/EXTERNAL authentication [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[95,93,94],"_links":{"self":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/744"}],"collection":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/comments?post=744"}],"version-history":[{"count":3,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/744\/revisions"}],"predecessor-version":[{"id":749,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/744\/revisions\/749"}],"wp:attachment":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/media?parent=744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/categories?post=744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/tags?post=744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}