Tony Earnshaw wrote:
Howard Chu skrev, on 08-11-2007 14:38:
Howard Chu skrev, on 07-11-2007 04:14:
That's all we needed. Fixed now in HEAD.
Do you happen to have a patch handy? I don't feel like waiting for 2.4.7, this is the only serious bug I've found to date with 2.4.6.
http://www.openldap.org/lists/openldap-commit/200711/msg00010.html
Thank you :) I made a patch from a diff -Naur of the complete CVS filter.c and the 2.4.6 one, incorporated it into Buchan's rpm spec file, rebuilt the rpms, installed them and ran the same command. Guess what? slapd2.4 doesn't report '?undefined' any more, nor crash:
Right, I got tired of trying to guess what the filter was from that unhelpful diagnostic. Got rid of "?undefined" last year on Christmas (rev 1.136) and that was part of 2.4.4. This crash was an unfortunate oversight between 2.4.5 and 2.4.6...
Nov 9 06:36:56 tru slapd2.4[2576]: conn=21 fd=14 ACCEPT from PATH=/var/run/slapd/ldapi (PATH=/var/run/slapd/ldapi) Nov 9 06:36:56 tru slapd2.4[2576]: conn=21 op=0 BIND dn="cn=admin,dc=billy,dc=demon,dc=nl" method=128 Nov 9 06:36:56 tru slapd2.4[2576]: conn=21 op=0 BIND dn="cn=admin,dc=billy,dc=demon,dc=nl" mech=SIMPLE ssf=0 Nov 9 06:36:56 tru slapd2.4[2576]: conn=21 op=0 RESULT tag=97 err=0 text= Nov 9 06:36:56 tru slapd2.4[2576]: conn=21 op=1 SRCH base="dc=billy,dc=demon,dc=nl" scope=2 deref=0 filter="(?facsimileTele phoneNumber=+4753491111)" Nov 9 06:36:56 tru slapd2.4[2576]: conn=21 op=1 SRCH attr=facsimileTelephoneNumber Nov 9 06:36:56 tru slapd2.4[2576]: conn=21 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=inappropriate matching request Nov 9 06:36:56 tru slapd2.4[2576]: conn=21 op=2 UNBIND Nov 9 06:36:56 tru slapd2.4[2576]: conn=21 fd=14 closed
--Tonni