Bugreport: openldap 2.4.48-1 ldapsearch coredump

Alexander Voropay alec@sensi.org
Wed Sep 4 10:48:00 GMT 2019


Hi!

Ildapsearch coredumps on (semi) complicated filter on MS AD LDAP
(Filtered request to find all non-blocked users w/o e-mail address).

(I've changed our domain name and output, sorry, DN is in UNICODE)
===
$ ldapsearch -H ldaps://SPSDCMAIN.office.local -x -W -D
"User.NM@office.local" -b "dc=office,dc=local"
'(&(objectClass=user)(objectCategory=user)(postOfficeBox=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(!(mail=*)))'
sAMAccountName
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <dc=office,dc=local> with scope subtree
# filter:
(&(objectClass=user)(objectCategory=user)(postOfficeBox=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(!(mail=*)))
# requesting: sAMAccountName
#

# \D0\A1\D0\BC\D1\83\xxxxxxxxxxxxx\87, Rezerved, ServicesAccount
 s, Users, SPB, office.local
dn:: Q0490KHQvNGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Segmentation fault (core dumped)
===

The _same_ request works on the RHEL 7 ldapsearch "openldap-2.4.44-21.el7_6"


My system:

$ uname -a
CYGWIN_NT-10.0 USER.NM 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64 Cygwin

Windows 10 Professional Ver 10.0 Build 17134

 3415k 2019/04/30 C:\cygwin64\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 3.0.7
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 338
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Installations name: Installations
        Cygdrive default prefix:
        Build date:
        Shared id: cygwin1S5

openldap                  2.4.48-1           OK
openldap-devel            2.4.48-1           OK



--
-=AV=-

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list