Andrew Findlay <[email protected]> wrote: > You could try using the extended search filter syntax: > > (dhcpOption:caseIgnoreSubstringsMatch:=boot*) > > See RFC4515 for more details. In practice you will probably want to create a
I tried and failed ... where did I mistake? :( for original ldapns.schema 1. search works with filter: ([email protected]) (and without index it returns empty result) # base <ou=People,dc=umidb> with scope subtree # filter: ([email protected]) # requesting: authorizedService uid # # [email protected], tafij.tafus, People, umidb dn: [email protected],uid=tafij.tafus,ou=People,dc=umidb uid: tafij.tafus@mail authorizedService: [email protected] # [email protected], [email protected], tafij.tafus, People, umidb dn: [email protected],[email protected],uid=tafij.t afus,ou=People,dc=umidb authorizedService: [email protected] uid: [email protected] # search result search: 2 result: 0 Success 2. search, though empty, but works with filter: ([email protected]*) # base <ou=People,dc=umidb> with scope subtree # filter: ([email protected]*) # requesting: authorizedService uid # # search result search: 2 result: 0 Success 3. search (expectedly) works with filter: (authorizedService:caseIgnoreMatch:[email protected]) # base <ou=People,dc=umidb> with scope subtree # filter: (authorizedService:caseIgnoreMatch:[email protected]) # requesting: authorizedService uid # # [email protected], tafij.tafus, People, umidb dn: [email protected],uid=tafij.tafus,ou=People,dc=umidb uid: tafij.tafus@mail authorizedService: [email protected] # [email protected], [email protected], tafij.tafus, People, umidb dn: [email protected],[email protected],uid=tafij.t afus,ou=People,dc=umidb authorizedService: [email protected] uid: [email protected] # search result search: 2 result: 0 Success 4. search (unexpectedly) does not work at all with filter: (authorizedService:caseIgnoreSubstringsMatch:[email protected]*) # base <ou=People,dc=umidb> with scope subtree # filter: (authorizedService:caseIgnoreSubstringsMatch:[email protected]*) # requesting: authorizedService uid # ldap_search_ext: Bad search filter (-7) so ... I'm again where I was ... schema patch is the kludge but still no other way to get that search :( -- Zeus V. Panchenko jid:[email protected] IT Dpt., I.B.S. LLC GMT+2 (EET)
