public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Bugreport: openldap 2.4.48-1 ldapsearch coredump
@ 2019-09-04 10:48 Alexander Voropay
  2019-09-06 16:02 ` Quanah Gibson-Mount
  2019-09-07  6:46 ` Achim Gratz
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Voropay @ 2019-09-04 10:48 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-07  6:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04 10:48 Bugreport: openldap 2.4.48-1 ldapsearch coredump Alexander Voropay
2019-09-06 16:02 ` Quanah Gibson-Mount
2019-09-07  6:46 ` Achim Gratz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).