Bug #11
closedDirectory search error
100%
Description
Reported by Chris Dickens (see
) and also confirmed by Tobias Lotz (see ).2020-06-09 20:02:06.76 debug:l2cpbg:ldapSearch: prepare()
2020-06-09 20:02:06.76 info: [3f3528ee] Search request #9 from '192.168.5.100:59312::2'
2020-06-09 20:02:06.76 debug:l2cpbg:ldapSearch: [3f3528ee] authorize()
2020-06-09 20:02:06.76 debug:l2cpbg:ldapSearch: [3f3528ee] checkDn()
2020-06-09 20:02:06.76 debug:l2cpbg:ldapSearch: [3f3528ee] prepareFilters(), req.filter = (|(|(cn=*CHR*)(sn=*CHR*)(givenname=*CHR*)(company=*CHR*))(|(homephone=*CHR*)(telephonenumber=*CHR*)(mobile=*CHR*))), req.filter.type = or, req.scope = 'sub' {"name":"ldapjs","component":"client","hostname":"DebianWeb1","pid":38948,"level":50,"msg":"192.168.5.100:59312::2 uncaught exception: TypeError: Cannot read property 'toLowerCase' of undefined\n at Object.M [as getDavByLdap] (/snapshot/l2cpbg/dist/config.js:0:0)\n at e.filter.filters.e.filter.filters.filter.r (/snapshot/l2cpbg/dist/ldapSearch.js:0:0)\n at Array.filter (<anonymous>)\n at ae (/snapshot/l2cpbg/dist/ldapSearch.js:0:0)\n at te (/snapshot/l2cpbg/dist/ldapSearch.js:0:0)\n at re (/snapshot/l2cpbg/dist/ldapSearch.js:0:0)\n at Server.ee (/snapshot/l2cpbg/dist/ldapSearch.js:0:0)\n at /snapshot/l2cpbg/node_modules/ldapjs/lib/server.js:425:40\n at Parser.<anonymous> (/snapshot/l2cpbg/node_modules/ldapjs/lib/server.js:438:8)\n at Parser.emit (events.js:182:13)","time":"2020-06-10T02:02:06.766Z","v":0}
contains a wireshark report.