-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mdb_equality_candidates: (uniqueMember) not indexed #1
Comments
See for example Eliminating openldap '(uid) not indexed' errors. This happens whenever LDAP searches a non-indexed attribute. Here is the current indexing on the project server: # /usr/sbin/slapcat -n 0 | grep olcDbIndex olcDbIndex: objectClass eq olcDbIndex: cn,uid eq olcDbIndex: uidNumber,gidNumber eq olcDbIndex: member,memberUid eq # |
Create an LDIF file to change the indexing attributes: dn: olcDatabase={1}mdb,cn=config changetype: modify add: olcDbIndex olcDbIndex: uniqueMember eq |
Apply the LDIF file: # ldapadd -Y EXTERNAL -H ldapi:/// -f index.ldif SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 modifying entry "olcDatabase={1}mdb,cn=config" # |
Here is the new indexing on the project server: # /usr/sbin/slapcat -n 0 | grep olcDbIndex olcDbIndex: objectClass eq olcDbIndex: cn,uid eq olcDbIndex: uidNumber,gidNumber eq olcDbIndex: member,memberUid eq olcDbIndex: uniqueMember eq # |
Seems to have fixed this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The LDAP service writes error messages in the system log
/var/log/syslog
:The text was updated successfully, but these errors were encountered: