From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86670 invoked by alias); 4 Sep 2019 10:48:04 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 86641 invoked by uid 89); 4 Sep 2019 10:48:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=Professional, enter, Password, password X-HELO: mail-wr1-f47.google.com Received: from mail-wr1-f47.google.com (HELO mail-wr1-f47.google.com) (209.85.221.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Sep 2019 10:48:02 +0000 Received: by mail-wr1-f47.google.com with SMTP id q14so1343462wrm.9 for ; Wed, 04 Sep 2019 03:48:01 -0700 (PDT) MIME-Version: 1.0 From: Alexander Voropay Date: Wed, 04 Sep 2019 10:48:00 -0000 Message-ID: Subject: Bugreport: openldap 2.4.48-1 ldapsearch coredump To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg00025.txt.bz2 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 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