Hisham writes: > ldapsearch -x -h shib.cns.utoronto.ca -b > 'dc=adminauth,dc=utoronto,dc=ca' "(etokensmartcardid=24 9c 9f 06 29 16)" > > This returns 0 records when searched for even though there are two records > in the database with such attributtes and one with the exact ID shown > above (...)
If you are using OpenLDAP and inserted an index for etokensmartcardid in slapd.conf _after_ you added the attributes, then the old contents of the database did not get indexed. The empty index tells slapd that there are no matches for your filter. Fix: Stop slapd, run sbin/slapindex, restart slapd. -- Regards, Hallvard --- You are currently subscribed to [EMAIL PROTECTED] as: [EMAIL PROTECTED] To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the SUBJECT of the message.
