public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Alexander Voropay <alec@sensi.org>
To: cygwin@cygwin.com
Subject: Bugreport: openldap 2.4.48-1 ldapsearch coredump
Date: Wed, 04 Sep 2019 10:48:00 -0000	[thread overview]
Message-ID: <CAGqcPWDohsRgRgybQz3hWRw1tTP=fstHS8NqjBic0mZPgxYj=Q@mail.gmail.com> (raw)

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

             reply	other threads:[~2019-09-04 10:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-04 10:48 Alexander Voropay [this message]
2019-09-06 16:02 ` Quanah Gibson-Mount
2019-09-07  6:46 ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGqcPWDohsRgRgybQz3hWRw1tTP=fstHS8NqjBic0mZPgxYj=Q@mail.gmail.com' \
    --to=alec@sensi.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).