Package: slapd Version: 2.2.23-5 Severity: important
After upgrade from 2.1.30-3 to 2.2.23-5 filters like '(&(mailAlias=imago)(ou:dn:=Aliases))' stopped working. Problem persists even after rebuild directory from backup and recreating indexes. Backend is BDB, index objectClass eq index associatedDomain pres,eq,sub index mail,uid,cn,ou,mailSettingValue pres,eq I have here two servers, one of them is 2.1.30-3, and other (replica) 2.2.23-5. Slapd version 2.1.30 works good, example below. --- brutus:~# ldapsearch -LLL '(&(mailAlias=imago)(ou:dn:=Aliases))' dn dn: mailAlias=imago,ou=Aliases,dc=imago.com.pl,ou=Domains,o=wdg --- Searching server with slapd version 2.2.23 returns none records. --- brutus:~# ldapsearch -h katon.wdg.pl '(&(mailAlias=imago)(ou:dn:=Aliases))' dn # extended LDIF # # LDAPv3 # base <> with scope sub # filter: (&(mailAlias=imago)(ou:dn:=Aliases)) # requesting: dn # # search result search: 2 result: 0 Success # numResponses: 1 --- But mailAlias=imago exists at katon.wdg.pl (server with slapd 2.2.23) --- brutus:~# ldapsearch -LLL -h katon.wdg.pl '(&(mailAlias=imago))' dn dn: mailAlias=imago,ou=Aliases,dc=imago.com.pl,ou=Domains,o=wdg --- Another example, lets search "dn: cn=rkupka,ou=Accounts,dc=test,dc=wdg.pl,ou=Domains,o=wdg" with differents filters # ldapsearch -LLL -h katon.wdg.pl '(&(cn=rkupka)(o:dn:=wdg))' dn dn: cn=rkupka,ou=Accounts,dc=test,dc=wdg.pl,ou=Domains,o=wdg # ldapsearch -LLL -h katon.wdg.pl '(&(cn=rkupka)(ou:dn:=Domains))' dn # ldapsearch -LLL -h katon.wdg.pl '(&(cn=rkupka)(dc:dn:=wdg.pl))' dn dn: cn=rkupka,ou=Accounts,dc=test,dc=wdg.pl,ou=Domains,o=wdg # ldapsearch -LLL -h katon.wdg.pl '(&(cn=rkupka)(dc:dn:=test))' dn dn: cn=rkupka,ou=Accounts,dc=test,dc=wdg.pl,ou=Domains,o=wdg # ldapsearch -LLL -h katon.wdg.pl '(&(cn=rkupka)(ou:dn:=Accounts))' dn # ldapsearch -LLL -h katon.wdg.pl '(&(cn=rkupka)(cn:dn:=rkupka))' dn dn: cn=rkupka,ou=Accounts,dc=test,dc=wdg.pl,ou=Domains,o=wdg It looks like only ou:dn:= doesn't work. My guess is that only indexed attributes with more than one presence in DN has that problem. Kupson -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.4.29-brutus3 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]