1..22
# Checking port 56118
# Found port 56118
# Checking port 56119
# Found port 56119
# setting up slapd
# Running: openssl req -new -nodes -keyout /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd-certs/ca.key -x509 -out /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd-certs/ca.crt -subj /CN=CA
Generating a RSA private key
....+++++
...............+++++
writing new private key to '/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd-certs/ca.key'
-----
# Running: openssl req -new -nodes -keyout /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd-certs/server.key -out /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd-certs/server.csr -subj /CN=server
Generating a RSA private key
.........+++++
..........+++++
writing new private key to '/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd-certs/server.key'
-----
# Running: openssl x509 -req -in /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd-certs/server.csr -CA /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd-certs/ca.crt -CAkey /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd-certs/ca.key -CAcreateserial -out /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd-certs/server.crt
Signature ok
subject=CN = server
Getting CA Private Key
# Running: sh -c /usr/sbin/slapd -f /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf -h 'ldap://localhost:56118 ldaps://localhost:56119' -d 255 &
# Running: ldapsearch -h localhost -p 56118 -s base -b dc=example,dc=net -D cn=Manager,dc=example,dc=net -y /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/ldappassword -n 'objectclass=*'
ldap_url_parse_ext(ldap://localhost/)
ldap_init: trying /etc/ldap/ldap.conf
ldap_init: using /etc/ldap/ldap.conf
ldap_init: HOME env is /home/myon
ldap_init: trying /home/myon/ldaprc
ldap_init: trying /home/myon/.ldaprc
ldap_init: trying ldaprc
ldap_init: LDAPCONF env is NULL
ldap_init: LDAPRC env is NULL
5ec3eabc @(#) $OpenLDAP: slapd 2.4.50+dfsg-1 (Apr 28 2020 17:18:12) $
	Debian OpenLDAP Maintainers <pkg-openldap-devel@lists.alioth.debian.org>
ldap_pvt_gethostbyname_a: host=pgdgbuild.dus.dg-i.net, r=0
5ec3eabc daemon_init: ldap://localhost:56118 ldaps://localhost:56119
5ec3eabc daemon_init: listen on ldap://localhost:56118
5ec3eabc daemon_init: listen on ldaps://localhost:56119
5ec3eabc daemon_init: 2 listeners to open...
ldap_url_parse_ext(ldap://localhost:56118)
5ec3eabc daemon: listener initialized ldap://localhost:56118
ldap_url_parse_ext(ldaps://localhost:56119)
5ec3eabc daemon: listener initialized ldaps://localhost:56119
5ec3eabc daemon_init: 4 listeners opened
ldap_create
5ec3eabc slapd init: initiated server.
5ec3eabc slap_sasl_init: initialized!
5ec3eabc reading config file /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf
5ec3eabc /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf: line 1 (include /etc/ldap/schema/core.schema)
5ec3eabc reading config file /etc/ldap/schema/core.schema
5ec3eabc /etc/ldap/schema/core.schema: line 90 (attributetype ( 2.5.4.2 NAME 'knowledgeInformation' DESC 'RFC2256: knowledge information' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} ))
5ec3eabc /etc/ldap/schema/core.schema: line 99 (attributetype ( 2.5.4.4 NAME ( 'sn' 'surname' ) DESC 'RFC2256: last (family) name(s) for which the entity is known by' SUP name ))
5ec3eabc /etc/ldap/schema/core.schema: line 105 (attributetype ( 2.5.4.5 NAME 'serialNumber' DESC 'RFC2256: serial number of the entity' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{64} ))
5ec3eabc /etc/ldap/schema/core.schema: line 112 (attributetype ( 2.5.4.6 NAME ( 'c' 'countryName' ) DESC 'RFC4519: two-letter ISO-3166 country code' SUP name SYNTAX 1.3.6.1.4.1.1466.115.121.1.11 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/core.schema: line 120 (attributetype ( 2.5.4.7 NAME ( 'l' 'localityName' ) DESC 'RFC2256: locality which this object resides in' SUP name ))
5ec3eabc /etc/ldap/schema/core.schema: line 124 (attributetype ( 2.5.4.8 NAME ( 'st' 'stateOrProvinceName' ) DESC 'RFC2256: state or province which this object resides in' SUP name ))
5ec3eabc /etc/ldap/schema/core.schema: line 130 (attributetype ( 2.5.4.9 NAME ( 'street' 'streetAddress' ) DESC 'RFC2256: street address of this object' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} ))
5ec3eabc /etc/ldap/schema/core.schema: line 134 (attributetype ( 2.5.4.10 NAME ( 'o' 'organizationName' ) DESC 'RFC2256: organization this object belongs to' SUP name ))
5ec3eabc /etc/ldap/schema/core.schema: line 138 (attributetype ( 2.5.4.11 NAME ( 'ou' 'organizationalUnitName' ) DESC 'RFC2256: organizational unit this object belongs to' SUP name ))
5ec3eabc /etc/ldap/schema/core.schema: line 142 (attributetype ( 2.5.4.12 NAME 'title' DESC 'RFC2256: title associated with the entity' SUP name ))
5ec3eabc /etc/ldap/schema/core.schema: line 154 (attributetype ( 2.5.4.14 NAME 'searchGuide' DESC 'RFC2256: search guide, deprecated by enhancedSearchGuide' SYNTAX 1.3.6.1.4.1.1466.115.121.1.25 ))
5ec3eabc /etc/ldap/schema/core.schema: line 160 (attributetype ( 2.5.4.15 NAME 'businessCategory' DESC 'RFC2256: business category' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} ))
5ec3eabc /etc/ldap/schema/core.schema: line 166 (attributetype ( 2.5.4.16 NAME 'postalAddress' DESC 'RFC2256: postal address' EQUALITY caseIgnoreListMatch SUBSTR caseIgnoreListSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 ))
5ec3eabc /etc/ldap/schema/core.schema: line 172 (attributetype ( 2.5.4.17 NAME 'postalCode' DESC 'RFC2256: postal code' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} ))
5ec3eabc /etc/ldap/schema/core.schema: line 178 (attributetype ( 2.5.4.18 NAME 'postOfficeBox' DESC 'RFC2256: Post Office Box' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} ))
5ec3eabc /etc/ldap/schema/core.schema: line 184 (attributetype ( 2.5.4.19 NAME 'physicalDeliveryOfficeName' DESC 'RFC2256: Physical Delivery Office Name' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} ))
5ec3eabc /etc/ldap/schema/core.schema: line 190 (attributetype ( 2.5.4.20 NAME 'telephoneNumber' DESC 'RFC2256: Telephone Number' EQUALITY telephoneNumberMatch SUBSTR telephoneNumberSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.50{32} ))
5ec3eabc /etc/ldap/schema/core.schema: line 194 (attributetype ( 2.5.4.21 NAME 'telexNumber' DESC 'RFC2256: Telex Number' SYNTAX 1.3.6.1.4.1.1466.115.121.1.52 ))
5ec3eabc /etc/ldap/schema/core.schema: line 198 (attributetype ( 2.5.4.22 NAME 'teletexTerminalIdentifier' DESC 'RFC2256: Teletex Terminal Identifier' SYNTAX 1.3.6.1.4.1.1466.115.121.1.51 ))
5ec3eabc /etc/ldap/schema/core.schema: line 202 (attributetype ( 2.5.4.23 NAME ( 'facsimileTelephoneNumber' 'fax' ) DESC 'RFC2256: Facsimile (Fax) Telephone Number' SYNTAX 1.3.6.1.4.1.1466.115.121.1.22 ))
5ec3eabc /etc/ldap/schema/core.schema: line 208 (attributetype ( 2.5.4.24 NAME 'x121Address' DESC 'RFC2256: X.121 Address' EQUALITY numericStringMatch SUBSTR numericStringSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{15} ))
5ec3eabc /etc/ldap/schema/core.schema: line 214 (attributetype ( 2.5.4.25 NAME 'internationaliSDNNumber' DESC 'RFC2256: international ISDN number' EQUALITY numericStringMatch SUBSTR numericStringSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{16} ))
5ec3eabc /etc/ldap/schema/core.schema: line 219 (attributetype ( 2.5.4.26 NAME 'registeredAddress' DESC 'RFC2256: registered postal address' SUP postalAddress SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 ))
5ec3eabc /etc/ldap/schema/core.schema: line 225 (attributetype ( 2.5.4.27 NAME 'destinationIndicator' DESC 'RFC2256: destination indicator' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{128} ))
5ec3eabc /etc/ldap/schema/core.schema: line 230 (attributetype ( 2.5.4.28 NAME 'preferredDeliveryMethod' DESC 'RFC2256: preferred delivery method' SYNTAX 1.3.6.1.4.1.1466.115.121.1.14 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/core.schema: line 236 (attributetype ( 2.5.4.29 NAME 'presentationAddress' DESC 'RFC2256: presentation address' EQUALITY presentationAddressMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.43 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/core.schema: line 241 (attributetype ( 2.5.4.30 NAME 'supportedApplicationContext' DESC 'RFC2256: supported application context' EQUALITY objectIdentifierMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 ))
5ec3eabc /etc/ldap/schema/core.schema: line 245 (attributetype ( 2.5.4.31 NAME 'member' DESC 'RFC2256: member of a group' SUP distinguishedName ))
5ec3eabc /etc/ldap/schema/core.schema: line 249 (attributetype ( 2.5.4.32 NAME 'owner' DESC 'RFC2256: owner (of the object)' SUP distinguishedName ))
5ec3eabc /etc/ldap/schema/core.schema: line 253 (attributetype ( 2.5.4.33 NAME 'roleOccupant' DESC 'RFC2256: occupant of role' SUP distinguishedName ))
5ec3eabc /etc/ldap/schema/core.schema: line 271 (attributetype ( 2.5.4.36 NAME 'userCertificate' DESC 'RFC2256: X.509 user certificate, use ;binary' EQUALITY certificateExactMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 ))
5ec3eabc /etc/ldap/schema/core.schema: line 278 (attributetype ( 2.5.4.37 NAME 'cACertificate' DESC 'RFC2256: X.509 CA certificate, use ;binary' EQUALITY certificateExactMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 ))
5ec3eabc /etc/ldap/schema/core.schema: line 283 (attributetype ( 2.5.4.38 NAME 'authorityRevocationList' DESC 'RFC2256: X.509 authority revocation list, use ;binary' SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 ))
5ec3eabc /etc/ldap/schema/core.schema: line 288 (attributetype ( 2.5.4.39 NAME 'certificateRevocationList' DESC 'RFC2256: X.509 certificate revocation list, use ;binary' SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 ))
5ec3eabc /etc/ldap/schema/core.schema: line 293 (attributetype ( 2.5.4.40 NAME 'crossCertificatePair' DESC 'RFC2256: X.509 cross certificate pair, use ;binary' SYNTAX 1.3.6.1.4.1.1466.115.121.1.10 ))
5ec3eabc /etc/ldap/schema/core.schema: line 303 (attributetype ( 2.5.4.42 NAME ( 'givenName' 'gn' ) DESC 'RFC2256: first name(s) for which the entity is known by' SUP name ))
5ec3eabc /etc/ldap/schema/core.schema: line 307 (attributetype ( 2.5.4.43 NAME 'initials' DESC 'RFC2256: initials of some or all of names, but not the surname(s).' SUP name ))
5ec3eabc /etc/ldap/schema/core.schema: line 311 (attributetype ( 2.5.4.44 NAME 'generationQualifier' DESC 'RFC2256: name qualifier indicating a generation' SUP name ))
5ec3eabc /etc/ldap/schema/core.schema: line 316 (attributetype ( 2.5.4.45 NAME 'x500UniqueIdentifier' DESC 'RFC2256: X.500 unique identifier' EQUALITY bitStringMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.6 ))
5ec3eabc /etc/ldap/schema/core.schema: line 323 (attributetype ( 2.5.4.46 NAME 'dnQualifier' DESC 'RFC2256: DN qualifier' EQUALITY caseIgnoreMatch ORDERING caseIgnoreOrderingMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 ))
5ec3eabc /etc/ldap/schema/core.schema: line 327 (attributetype ( 2.5.4.47 NAME 'enhancedSearchGuide' DESC 'RFC2256: enhanced search guide' SYNTAX 1.3.6.1.4.1.1466.115.121.1.21 ))
5ec3eabc /etc/ldap/schema/core.schema: line 332 (attributetype ( 2.5.4.48 NAME 'protocolInformation' DESC 'RFC2256: protocol information' EQUALITY protocolInformationMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.42 ))
5ec3eabc /etc/ldap/schema/core.schema: line 342 (attributetype ( 2.5.4.50 NAME 'uniqueMember' DESC 'RFC2256: unique member of a group' EQUALITY uniqueMemberMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.34 ))
5ec3eabc /etc/ldap/schema/core.schema: line 348 (attributetype ( 2.5.4.51 NAME 'houseIdentifier' DESC 'RFC2256: house identifier' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} ))
5ec3eabc /etc/ldap/schema/core.schema: line 353 (attributetype ( 2.5.4.52 NAME 'supportedAlgorithms' DESC 'RFC2256: supported algorithms' SYNTAX 1.3.6.1.4.1.1466.115.121.1.49 ))
5ec3eabc /etc/ldap/schema/core.schema: line 358 (attributetype ( 2.5.4.53 NAME 'deltaRevocationList' DESC 'RFC2256: delta revocation list; use ;binary' SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 ))
5ec3eabc /etc/ldap/schema/core.schema: line 362 (attributetype ( 2.5.4.54 NAME 'dmdName' DESC 'RFC2256: name of DMD' SUP name ))
5ec3eabc /etc/ldap/schema/core.schema: line 366 (attributetype ( 2.5.4.65 NAME 'pseudonym' DESC 'X.520(4th): pseudonym for the object' SUP name ))
5ec3eabc /etc/ldap/schema/core.schema: line 386 (objectclass ( 2.5.6.2 NAME 'country' DESC 'RFC2256: a country' SUP top STRUCTURAL MUST c MAY ( searchGuide $ description ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 391 (objectclass ( 2.5.6.3 NAME 'locality' DESC 'RFC2256: a locality' SUP top STRUCTURAL MAY ( street $ seeAlso $ searchGuide $ st $ l $ description ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 402 (objectclass ( 2.5.6.4 NAME 'organization' DESC 'RFC2256: an organization' SUP top STRUCTURAL MUST o MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $ 	x121Address $ registeredAddress $ destinationIndicator $ 	preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $ 	telephoneNumber $ internationaliSDNNumber $  	facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $ 	postalAddress $ physicalDeliveryOfficeName $ st $ l $ description ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 413 (objectclass ( 2.5.6.5 NAME 'organizationalUnit' DESC 'RFC2256: an organizational unit' SUP top STRUCTURAL MUST ou MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $ 	x121Address $ registeredAddress $ destinationIndicator $ 	preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $ 	telephoneNumber $ internationaliSDNNumber $ 	facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $ 	postalAddress $ physicalDeliveryOfficeName $ st $ l $ description ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 419 (objectclass ( 2.5.6.6 NAME 'person' DESC 'RFC2256: a person' SUP top STRUCTURAL MUST ( sn $ cn ) MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 428 (objectclass ( 2.5.6.7 NAME 'organizationalPerson' DESC 'RFC2256: an organizational person' SUP person STRUCTURAL MAY ( title $ x121Address $ registeredAddress $ destinationIndicator $ 	preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $ 	telephoneNumber $ internationaliSDNNumber $  	facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $ 	postalAddress $ physicalDeliveryOfficeName $ ou $ st $ l ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 439 (objectclass ( 2.5.6.8 NAME 'organizationalRole' DESC 'RFC2256: an organizational role' SUP top STRUCTURAL MUST cn MAY ( x121Address $ registeredAddress $ destinationIndicator $ 	preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $ 	telephoneNumber $ internationaliSDNNumber $ facsimileTelephoneNumber $ 	seeAlso $ roleOccupant $ preferredDeliveryMethod $ street $ 	postOfficeBox $ postalCode $ postalAddress $ 	physicalDeliveryOfficeName $ ou $ st $ l $ description ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 445 (objectclass ( 2.5.6.9 NAME 'groupOfNames' DESC 'RFC2256: a group of names (DNs)' SUP top STRUCTURAL MUST ( member $ cn ) MAY ( businessCategory $ seeAlso $ owner $ ou $ o $ description ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 456 (objectclass ( 2.5.6.10 NAME 'residentialPerson' DESC 'RFC2256: an residential person' SUP person STRUCTURAL MUST l MAY ( businessCategory $ x121Address $ registeredAddress $ 	destinationIndicator $ preferredDeliveryMethod $ telexNumber $ 	teletexTerminalIdentifier $ telephoneNumber $ internationaliSDNNumber $ 	facsimileTelephoneNumber $ preferredDeliveryMethod $ street $ 	postOfficeBox $ postalCode $ postalAddress $ 	physicalDeliveryOfficeName $ st $ l ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 462 (objectclass ( 2.5.6.11 NAME 'applicationProcess' DESC 'RFC2256: an application process' SUP top STRUCTURAL MUST cn MAY ( seeAlso $ ou $ l $ description ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 469 (objectclass ( 2.5.6.12 NAME 'applicationEntity' DESC 'RFC2256: an application entity' SUP top STRUCTURAL MUST ( presentationAddress $ cn ) MAY ( supportedApplicationContext $ seeAlso $ ou $ o $ l $ description ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 474 (objectclass ( 2.5.6.13 NAME 'dSA' DESC 'RFC2256: a directory system agent (a server)' SUP applicationEntity STRUCTURAL MAY knowledgeInformation ))
5ec3eabc /etc/ldap/schema/core.schema: line 480 (objectclass ( 2.5.6.14 NAME 'device' DESC 'RFC2256: a device' SUP top STRUCTURAL MUST cn MAY ( serialNumber $ seeAlso $ owner $ ou $ o $ l $ description ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 485 (objectclass ( 2.5.6.15 NAME 'strongAuthenticationUser' DESC 'RFC2256: a strong authentication user' SUP top AUXILIARY MUST userCertificate ))
5ec3eabc /etc/ldap/schema/core.schema: line 491 (objectclass ( 2.5.6.16 NAME 'certificationAuthority' DESC 'RFC2256: a certificate authority' SUP top AUXILIARY MUST ( authorityRevocationList $ certificateRevocationList $ 	cACertificate ) MAY crossCertificatePair ))
5ec3eabc /etc/ldap/schema/core.schema: line 497 (objectclass ( 2.5.6.17 NAME 'groupOfUniqueNames' DESC 'RFC2256: a group of unique names (DN and Unique Identifier)' SUP top STRUCTURAL MUST ( uniqueMember $ cn ) MAY ( businessCategory $ seeAlso $ owner $ ou $ o $ description ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 502 (objectclass ( 2.5.6.18 NAME 'userSecurityInformation' DESC 'RFC2256: a user security information' SUP top AUXILIARY MAY ( supportedAlgorithms ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 506 (objectclass ( 2.5.6.16.2 NAME 'certificationAuthority-V2' SUP certificationAuthority AUXILIARY MAY ( deltaRevocationList ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 512 (objectclass ( 2.5.6.19 NAME 'cRLDistributionPoint' SUP top STRUCTURAL MUST ( cn ) MAY ( certificateRevocationList $ authorityRevocationList $ 	deltaRevocationList ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 522 (objectclass ( 2.5.6.20 NAME 'dmd' SUP top STRUCTURAL MUST ( dmdName ) MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $ 	x121Address $ registeredAddress $ destinationIndicator $ 	preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $ 	telephoneNumber $ internationaliSDNNumber $ facsimileTelephoneNumber $ 	street $ postOfficeBox $ postalCode $ postalAddress $ 	physicalDeliveryOfficeName $ st $ l $ description ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 530 (objectclass ( 2.5.6.21 NAME 'pkiUser' DESC 'RFC2587: a PKI user' SUP top AUXILIARY MAY userCertificate ))
5ec3eabc /etc/ldap/schema/core.schema: line 536 (objectclass ( 2.5.6.22 NAME 'pkiCA' DESC 'RFC2587: PKI certificate authority' SUP top AUXILIARY MAY ( authorityRevocationList $ certificateRevocationList $ 	cACertificate $ crossCertificatePair ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 541 (objectclass ( 2.5.6.23 NAME 'deltaCRL' DESC 'RFC2587: PKI user' SUP top AUXILIARY MAY deltaRevocationList ))
5ec3eabc /etc/ldap/schema/core.schema: line 554 (objectclass ( 1.3.6.1.4.1.250.3.15 NAME 'labeledURIObject' DESC 'RFC2079: object that contains the URI attribute type' SUP top AUXILIARY MAY ( labeledURI ) ))
5ec3eabc /etc/ldap/schema/core.schema: line 571 (attributetype ( 0.9.2342.19200300.100.1.3 NAME ( 'mail' 'rfc822Mailbox' ) DESC 'RFC1274: RFC822 Mailbox'    EQUALITY caseIgnoreIA5Match    SUBSTR caseIgnoreIA5SubstringsMatch    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ))
5ec3eabc /etc/ldap/schema/core.schema: line 576 (objectclass ( 0.9.2342.19200300.100.4.19 NAME 'simpleSecurityObject' DESC 'RFC1274: simple security object' SUP top AUXILIARY MUST userPassword ))
5ec3eabc /etc/ldap/schema/core.schema: line 584 (attributetype ( 0.9.2342.19200300.100.1.25 NAME ( 'dc' 'domainComponent' ) DESC 'RFC1274/2247: domain component' EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/core.schema: line 589 (objectclass ( 1.3.6.1.4.1.1466.344 NAME 'dcObject' DESC 'RFC2247: domain component object' SUP top AUXILIARY MUST dc ))
5ec3eabc /etc/ldap/schema/core.schema: line 594 (objectclass ( 1.3.6.1.1.3.1 NAME 'uidObject' DESC 'RFC2377: uid object' SUP top AUXILIARY MUST uid ))
5ec3eabc /etc/ldap/schema/core.schema: line 613 (attributetype ( 0.9.2342.19200300.100.1.37 NAME 'associatedDomain' DESC 'RFC1274: domain associated with object' EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ))
5ec3eabc /etc/ldap/schema/core.schema: line 621 (attributetype ( 1.2.840.113549.1.9.1 NAME ( 'email' 'emailAddress' 'pkcs9email' ) DESC 'RFC3280: legacy attribute for email addresses in DNs' EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} ))
5ec3eabc /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf: line 2 (include /etc/ldap/schema/cosine.schema)
5ec3eabc reading config file /etc/ldap/schema/cosine.schema
5ec3eabc /etc/ldap/schema/cosine.schema: line 49 (attributetype ( 0.9.2342.19200300.100.1.2 NAME 'textEncodedORAddress' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 61 (attributetype ( 0.9.2342.19200300.100.1.4 NAME 'info' DESC 'RFC1274: general information' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{2048} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 68 (attributetype ( 0.9.2342.19200300.100.1.5 NAME ( 'drink' 'favouriteDrink' ) DESC 'RFC1274: favorite drink' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 74 (attributetype ( 0.9.2342.19200300.100.1.6 NAME 'roomNumber' DESC 'RFC1274: room number' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 78 (attributetype ( 0.9.2342.19200300.100.1.7 NAME 'photo' DESC 'RFC1274: photo (G3 fax)' SYNTAX 1.3.6.1.4.1.1466.115.121.1.23{25000} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 84 (attributetype ( 0.9.2342.19200300.100.1.8 NAME 'userClass' DESC 'RFC1274: category of user' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 90 (attributetype ( 0.9.2342.19200300.100.1.9 NAME 'host' DESC 'RFC1274: host computer' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 95 (attributetype ( 0.9.2342.19200300.100.1.10 NAME 'manager' DESC 'RFC1274: DN of manager' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 101 (attributetype ( 0.9.2342.19200300.100.1.11 NAME 'documentIdentifier' DESC 'RFC1274: unique identifier of document' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 107 (attributetype ( 0.9.2342.19200300.100.1.12 NAME 'documentTitle' DESC 'RFC1274: title of document' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 113 (attributetype ( 0.9.2342.19200300.100.1.13 NAME 'documentVersion' DESC 'RFC1274: version of document' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 118 (attributetype ( 0.9.2342.19200300.100.1.14 NAME 'documentAuthor' DESC 'RFC1274: DN of author of document' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 124 (attributetype ( 0.9.2342.19200300.100.1.15 NAME 'documentLocation' DESC 'RFC1274: location of document original' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 131 (attributetype ( 0.9.2342.19200300.100.1.20 NAME ( 'homePhone' 'homeTelephoneNumber' ) DESC 'RFC1274: home telephone number' EQUALITY telephoneNumberMatch SUBSTR telephoneNumberSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.50 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 136 (attributetype ( 0.9.2342.19200300.100.1.21 NAME 'secretary' DESC 'RFC1274: DN of secretary' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 139 (attributetype ( 0.9.2342.19200300.100.1.22 NAME 'otherMailbox' SYNTAX 1.3.6.1.4.1.1466.115.121.1.39 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 165 (attributetype ( 0.9.2342.19200300.100.1.26 NAME 'aRecord' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 171 (attributetype ( 0.9.2342.19200300.100.1.27 NAME 'mDRecord' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 176 (attributetype ( 0.9.2342.19200300.100.1.28 NAME 'mXRecord' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 181 (attributetype ( 0.9.2342.19200300.100.1.29 NAME 'nSRecord' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 186 (attributetype ( 0.9.2342.19200300.100.1.30 NAME 'sOARecord' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 191 (attributetype ( 0.9.2342.19200300.100.1.31 NAME 'cNAMERecord' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 201 (attributetype ( 0.9.2342.19200300.100.1.38 NAME 'associatedName' DESC 'RFC1274: DN of entry associated with domain' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 207 (attributetype ( 0.9.2342.19200300.100.1.39 NAME 'homePostalAddress' DESC 'RFC1274: home postal address' EQUALITY caseIgnoreListMatch SUBSTR caseIgnoreListSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 213 (attributetype ( 0.9.2342.19200300.100.1.40 NAME 'personalTitle' DESC 'RFC1274: personal title' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 220 (attributetype ( 0.9.2342.19200300.100.1.41 NAME ( 'mobile' 'mobileTelephoneNumber' ) DESC 'RFC1274: mobile telephone number' EQUALITY telephoneNumberMatch SUBSTR telephoneNumberSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.50 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 227 (attributetype ( 0.9.2342.19200300.100.1.42 NAME ( 'pager' 'pagerTelephoneNumber' ) DESC 'RFC1274: pager telephone number' EQUALITY telephoneNumberMatch SUBSTR telephoneNumberSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.50 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 234 (attributetype ( 0.9.2342.19200300.100.1.43 NAME ( 'co' 'friendlyCountryName' ) DESC 'RFC1274: friendly country name' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 239 (attributetype ( 0.9.2342.19200300.100.1.44 NAME 'uniqueIdentifier' DESC 'RFC1274: unique identifer' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 245 (attributetype ( 0.9.2342.19200300.100.1.45 NAME 'organizationalStatus' DESC 'RFC1274: organizational status' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 251 (attributetype ( 0.9.2342.19200300.100.1.46 NAME 'janetMailbox' DESC 'RFC1274: Janet mailbox' EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 256 (attributetype ( 0.9.2342.19200300.100.1.47 NAME 'mailPreferenceOption' DESC 'RFC1274: mail preference option' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 262 (attributetype ( 0.9.2342.19200300.100.1.48 NAME 'buildingName' DESC 'RFC1274: name of building' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 266 (attributetype ( 0.9.2342.19200300.100.1.49 NAME 'dSAQuality' DESC 'RFC1274: DSA Quality' SYNTAX 1.3.6.1.4.1.1466.115.121.1.19 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 270 (attributetype ( 0.9.2342.19200300.100.1.50 NAME 'singleLevelQuality' DESC 'RFC1274: Single Level Quality' SYNTAX 1.3.6.1.4.1.1466.115.121.1.13 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 274 (attributetype ( 0.9.2342.19200300.100.1.51 NAME 'subtreeMinimumQuality' DESC 'RFC1274: Subtree Mininum Quality' SYNTAX 1.3.6.1.4.1.1466.115.121.1.13 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 278 (attributetype ( 0.9.2342.19200300.100.1.52 NAME 'subtreeMaximumQuality' DESC 'RFC1274: Subtree Maximun Quality' SYNTAX 1.3.6.1.4.1.1466.115.121.1.13 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 282 (attributetype ( 0.9.2342.19200300.100.1.53 NAME 'personalSignature' DESC 'RFC1274: Personal Signature (G3 fax)' SYNTAX 1.3.6.1.4.1.1466.115.121.1.23 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 287 (attributetype ( 0.9.2342.19200300.100.1.54 NAME 'dITRedirect' DESC 'RFC1274: DIT Redirect' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 291 (attributetype ( 0.9.2342.19200300.100.1.55 NAME 'audio' DESC 'RFC1274: audio (u-law)' SYNTAX 1.3.6.1.4.1.1466.115.121.1.4{25000} ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 297 (attributetype ( 0.9.2342.19200300.100.1.56 NAME 'documentPublisher' DESC 'RFC1274: publisher of document' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 316 (objectclass ( 0.9.2342.19200300.100.4.4 NAME ( 'pilotPerson' 'newPilotPerson' ) SUP person STRUCTURAL MAY ( userid $ textEncodedORAddress $ rfc822Mailbox $ 	favouriteDrink $ roomNumber $ userClass $ 	homeTelephoneNumber $ homePostalAddress $ secretary $ 	personalTitle $ preferredDeliveryMethod $ businessCategory $ 	janetMailbox $ otherMailbox $ mobileTelephoneNumber $ 	pagerTelephoneNumber $ organizationalStatus $ 	mailPreferenceOption $ personalSignature ) ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 323 (objectclass ( 0.9.2342.19200300.100.4.5 NAME 'account' SUP top STRUCTURAL MUST userid MAY ( description $ seeAlso $ localityName $ 	organizationName $ organizationalUnitName $ host ) ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 332 (objectclass ( 0.9.2342.19200300.100.4.6 NAME 'document' SUP top STRUCTURAL MUST documentIdentifier MAY ( commonName $ description $ seeAlso $ localityName $ 	organizationName $ organizationalUnitName $ 	documentTitle $ documentVersion $ documentAuthor $ 	documentLocation $ documentPublisher ) ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 338 (objectclass ( 0.9.2342.19200300.100.4.7 NAME 'room' SUP top STRUCTURAL MUST commonName MAY ( roomNumber $ description $ seeAlso $ telephoneNumber ) ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 345 (objectclass ( 0.9.2342.19200300.100.4.9 NAME 'documentSeries' SUP top STRUCTURAL MUST commonName MAY ( description $ seeAlso $ telephonenumber $ 	localityName $ organizationName $ organizationalUnitName ) ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 359 (objectclass ( 0.9.2342.19200300.100.4.13 NAME 'domain' SUP top STRUCTURAL MUST domainComponent MAY ( associatedName $ organizationName $ description $ 	businessCategory $ seeAlso $ searchGuide $ userPassword $ 	localityName $ stateOrProvinceName $ streetAddress $ 	physicalDeliveryOfficeName $ postalAddress $ postalCode $ 	postOfficeBox $ streetAddress $ 	facsimileTelephoneNumber $ internationalISDNNumber $ 	telephoneNumber $ teletexTerminalIdentifier $ telexNumber $ 	preferredDeliveryMethod $ destinationIndicator $ 	registeredAddress $ x121Address ) ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 370 (objectclass ( 0.9.2342.19200300.100.4.14 NAME 'RFC822localPart' SUP domain STRUCTURAL MAY ( commonName $ surname $ description $ seeAlso $ telephoneNumber $ 	physicalDeliveryOfficeName $ postalAddress $ postalCode $ 	postOfficeBox $ streetAddress $ 	facsimileTelephoneNumber $ internationalISDNNumber $ 	telephoneNumber $ teletexTerminalIdentifier $ 	telexNumber $ preferredDeliveryMethod $ destinationIndicator $ 	registeredAddress $ x121Address ) ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 376 (objectclass ( 0.9.2342.19200300.100.4.15 NAME 'dNSDomain' SUP domain STRUCTURAL MAY ( ARecord $ MDRecord $ MXRecord $ NSRecord $ 	SOARecord $ CNAMERecord ) ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 381 (objectclass ( 0.9.2342.19200300.100.4.17 NAME 'domainRelatedObject' DESC 'RFC1274: an object related to an domain' SUP top AUXILIARY MUST associatedDomain ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 385 (objectclass ( 0.9.2342.19200300.100.4.18 NAME 'friendlyCountry' SUP country STRUCTURAL MUST friendlyCountryName ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 394 (objectclass ( 0.9.2342.19200300.100.4.20 NAME 'pilotOrganization' SUP ( organization $ organizationalUnit ) STRUCTURAL MAY buildingName ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 398 (objectclass ( 0.9.2342.19200300.100.4.21 NAME 'pilotDSA' SUP dsa STRUCTURAL MAY dSAQuality ))
5ec3eabc /etc/ldap/schema/cosine.schema: line 404 (objectclass ( 0.9.2342.19200300.100.4.22 NAME 'qualityLabelledData' SUP top AUXILIARY MUST dsaQuality MAY ( subtreeMinimumQuality $ subtreeMaximumQuality ) ))
5ec3eabc /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf: line 3 (include /etc/ldap/schema/nis.schema)
5ec3eabc reading config file /etc/ldap/schema/nis.schema
5ec3eabc /etc/ldap/schema/nis.schema: line 53 (attributetype ( 1.3.6.1.1.1.1.2 NAME 'gecos' DESC 'The GECOS field; the common name' EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 58 (attributetype ( 1.3.6.1.1.1.1.3 NAME 'homeDirectory' DESC 'The absolute path to the home directory' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 63 (attributetype ( 1.3.6.1.1.1.1.4 NAME 'loginShell' DESC 'The path to the login shell' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 67 (attributetype ( 1.3.6.1.1.1.1.5 NAME 'shadowLastChange' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 71 (attributetype ( 1.3.6.1.1.1.1.6 NAME 'shadowMin' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 75 (attributetype ( 1.3.6.1.1.1.1.7 NAME 'shadowMax' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 79 (attributetype ( 1.3.6.1.1.1.1.8 NAME 'shadowWarning' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 83 (attributetype ( 1.3.6.1.1.1.1.9 NAME 'shadowInactive' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 87 (attributetype ( 1.3.6.1.1.1.1.10 NAME 'shadowExpire' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 91 (attributetype ( 1.3.6.1.1.1.1.11 NAME 'shadowFlag' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 96 (attributetype ( 1.3.6.1.1.1.1.12 NAME 'memberUid' EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ))
5ec3eabc /etc/ldap/schema/nis.schema: line 101 (attributetype ( 1.3.6.1.1.1.1.13 NAME 'memberNisNetgroup' EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ))
5ec3eabc /etc/ldap/schema/nis.schema: line 105 (attributetype ( 1.3.6.1.1.1.1.14 NAME 'nisNetgroupTriple' DESC 'Netgroup triple' SYNTAX 1.3.6.1.1.1.0.0 ))
5ec3eabc /etc/ldap/schema/nis.schema: line 109 (attributetype ( 1.3.6.1.1.1.1.15 NAME 'ipServicePort' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 112 (attributetype ( 1.3.6.1.1.1.1.16 NAME 'ipServiceProtocol' SUP name ))
5ec3eabc /etc/ldap/schema/nis.schema: line 116 (attributetype ( 1.3.6.1.1.1.1.17 NAME 'ipProtocolNumber' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 120 (attributetype ( 1.3.6.1.1.1.1.18 NAME 'oncRpcNumber' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 125 (attributetype ( 1.3.6.1.1.1.1.19 NAME 'ipHostNumber' DESC 'IP address' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} ))
5ec3eabc /etc/ldap/schema/nis.schema: line 130 (attributetype ( 1.3.6.1.1.1.1.20 NAME 'ipNetworkNumber' DESC 'IP network' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 135 (attributetype ( 1.3.6.1.1.1.1.21 NAME 'ipNetmaskNumber' DESC 'IP netmask' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 140 (attributetype ( 1.3.6.1.1.1.1.22 NAME 'macAddress' DESC 'MAC address' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} ))
5ec3eabc /etc/ldap/schema/nis.schema: line 144 (attributetype ( 1.3.6.1.1.1.1.23 NAME 'bootParameter' DESC 'rpc.bootparamd parameter' SYNTAX 1.3.6.1.1.1.0.1 ))
5ec3eabc /etc/ldap/schema/nis.schema: line 149 (attributetype ( 1.3.6.1.1.1.1.24 NAME 'bootFile' DESC 'Boot image name' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ))
5ec3eabc /etc/ldap/schema/nis.schema: line 152 (attributetype ( 1.3.6.1.1.1.1.26 NAME 'nisMapName' SUP name ))
5ec3eabc /etc/ldap/schema/nis.schema: line 157 (attributetype ( 1.3.6.1.1.1.1.27 NAME 'nisMapEntry' EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/nis.schema: line 165 (objectclass ( 1.3.6.1.1.1.2.0 NAME 'posixAccount' DESC 'Abstraction of an account with POSIX attributes' SUP top AUXILIARY MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory ) MAY ( userPassword $ loginShell $ gecos $ description ) ))
5ec3eabc /etc/ldap/schema/nis.schema: line 173 (objectclass ( 1.3.6.1.1.1.2.1 NAME 'shadowAccount' DESC 'Additional attributes for shadow passwords' SUP top AUXILIARY MUST uid MAY ( userPassword $ shadowLastChange $ shadowMin $       shadowMax $ shadowWarning $ shadowInactive $       shadowExpire $ shadowFlag $ description ) ))
5ec3eabc /etc/ldap/schema/nis.schema: line 179 (objectclass ( 1.3.6.1.1.1.2.2 NAME 'posixGroup' DESC 'Abstraction of a group of accounts' SUP top STRUCTURAL MUST ( cn $ gidNumber ) MAY ( userPassword $ memberUid $ description ) ))
5ec3eabc /etc/ldap/schema/nis.schema: line 185 (objectclass ( 1.3.6.1.1.1.2.3 NAME 'ipService' DESC 'Abstraction an Internet Protocol service' SUP top STRUCTURAL MUST ( cn $ ipServicePort $ ipServiceProtocol ) MAY ( description ) ))
5ec3eabc /etc/ldap/schema/nis.schema: line 191 (objectclass ( 1.3.6.1.1.1.2.4 NAME 'ipProtocol' DESC 'Abstraction of an IP protocol' SUP top STRUCTURAL MUST ( cn $ ipProtocolNumber $ description ) MAY description ))
5ec3eabc /etc/ldap/schema/nis.schema: line 197 (objectclass ( 1.3.6.1.1.1.2.5 NAME 'oncRpc' DESC 'Abstraction of an ONC/RPC binding' SUP top STRUCTURAL MUST ( cn $ oncRpcNumber $ description ) MAY description ))
5ec3eabc /etc/ldap/schema/nis.schema: line 203 (objectclass ( 1.3.6.1.1.1.2.6 NAME 'ipHost' DESC 'Abstraction of a host, an IP device' SUP top AUXILIARY MUST ( cn $ ipHostNumber ) MAY ( l $ description $ manager ) ))
5ec3eabc /etc/ldap/schema/nis.schema: line 209 (objectclass ( 1.3.6.1.1.1.2.7 NAME 'ipNetwork' DESC 'Abstraction of an IP network' SUP top STRUCTURAL MUST ( cn $ ipNetworkNumber ) MAY ( ipNetmaskNumber $ l $ description $ manager ) ))
5ec3eabc /etc/ldap/schema/nis.schema: line 215 (objectclass ( 1.3.6.1.1.1.2.8 NAME 'nisNetgroup' DESC 'Abstraction of a netgroup' SUP top STRUCTURAL MUST cn MAY ( nisNetgroupTriple $ memberNisNetgroup $ description ) ))
5ec3eabc /etc/ldap/schema/nis.schema: line 221 (objectclass ( 1.3.6.1.1.1.2.9 NAME 'nisMap' DESC 'A generic abstraction of a NIS map' SUP top STRUCTURAL MUST nisMapName MAY description ))
5ec3eabc /etc/ldap/schema/nis.schema: line 227 (objectclass ( 1.3.6.1.1.1.2.10 NAME 'nisObject' DESC 'An entry in a NIS map' SUP top STRUCTURAL MUST ( cn $ nisMapEntry $ nisMapName ) MAY description ))
5ec3eabc /etc/ldap/schema/nis.schema: line 232 (objectclass ( 1.3.6.1.1.1.2.11 NAME 'ieee802Device' DESC 'A device with a MAC address' SUP top AUXILIARY MAY macAddress ))
5ec3eabc /etc/ldap/schema/nis.schema: line 237 (objectclass ( 1.3.6.1.1.1.2.12 NAME 'bootableDevice' DESC 'A device with boot parameters' SUP top AUXILIARY MAY ( bootFile $ bootParameter ) ))
5ec3eabc /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf: line 4 (include /etc/ldap/schema/inetorgperson.schema)
5ec3eabc reading config file /etc/ldap/schema/inetorgperson.schema
5ec3eabc /etc/ldap/schema/inetorgperson.schema: line 43 (attributetype ( 2.16.840.1.113730.3.1.1 NAME 'carLicense' DESC 'RFC2798: vehicle license or registration plate' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ))
5ec3eabc /etc/ldap/schema/inetorgperson.schema: line 50 (attributetype ( 2.16.840.1.113730.3.1.2 NAME 'departmentNumber' DESC 'RFC2798: identifies a department within an organization' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ))
5ec3eabc /etc/ldap/schema/inetorgperson.schema: line 58 (attributetype ( 2.16.840.1.113730.3.1.241 NAME 'displayName' DESC 'RFC2798: preferred name to be used when displaying entries' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/inetorgperson.schema: line 66 (attributetype ( 2.16.840.1.113730.3.1.3 NAME 'employeeNumber' DESC 'RFC2798: numerically identifies an employee within an organization' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/inetorgperson.schema: line 73 (attributetype ( 2.16.840.1.113730.3.1.4 NAME 'employeeType' DESC 'RFC2798: type of employment for a person' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ))
5ec3eabc /etc/ldap/schema/inetorgperson.schema: line 78 (attributetype ( 0.9.2342.19200300.100.1.60 NAME 'jpegPhoto' DESC 'RFC2798: a JPEG image' SYNTAX 1.3.6.1.4.1.1466.115.121.1.28 ))
5ec3eabc /etc/ldap/schema/inetorgperson.schema: line 86 (attributetype ( 2.16.840.1.113730.3.1.39 NAME 'preferredLanguage' DESC 'RFC2798: preferred written or spoken language for a person' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ))
5ec3eabc /etc/ldap/schema/inetorgperson.schema: line 92 (attributetype ( 2.16.840.1.113730.3.1.40 NAME 'userSMIMECertificate' DESC 'RFC2798: PKCS#7 SignedData used to support S/MIME' SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 ))
5ec3eabc /etc/ldap/schema/inetorgperson.schema: line 98 (attributetype ( 2.16.840.1.113730.3.1.216 NAME 'userPKCS12' DESC 'RFC2798: personal identity information, a PKCS #12 PFX' SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 ))
5ec3eabc /etc/ldap/schema/inetorgperson.schema: line 113 (objectclass	( 2.16.840.1.113730.3.2.2    NAME 'inetOrgPerson' DESC 'RFC2798: Internet Organizational Person'    SUP organizationalPerson    STRUCTURAL MAY ( 	audio $ businessCategory $ carLicense $ departmentNumber $ 	displayName $ employeeNumber $ employeeType $ givenName $ 	homePhone $ homePostalAddress $ initials $ jpegPhoto $ 	labeledURI $ mail $ manager $ mobile $ o $ pager $ 	photo $ roomNumber $ secretary $ uid $ userCertificate $ 	x500uniqueIdentifier $ preferredLanguage $ 	userSMIMECertificate $ userPKCS12 ) ))
5ec3eabc /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf: line 6 (pidfile /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.pid)
5ec3eabc /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf: line 7 (logfile /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/log/slapd.log)
5ec3eabc /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf: line 11 (access to *        by * read        by anonymous auth)
Backend ACL: access to *
	by * read
	by anonymous auth

5ec3eabc /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf: line 13 (database ldif)
5ec3eabc /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf: line 14 (directory /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data)
5ec3eabc /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf: line 16 (TLSCACertificateFile /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd-certs/ca.crt)
5ec3eabc /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf: line 17 (TLSCertificateFile /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd-certs/server.crt)
5ec3eabc /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf: line 18 (TLSCertificateKeyFile /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd-certs/server.key)
5ec3eabc /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf: line 20 (suffix "dc=example,dc=net")
5ec3eabc >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eabc <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eabc /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf: line 21 (rootdn "cn=Manager,dc=example,dc=net")
5ec3eabc >>> dnPrettyNormal: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabc <<< dnPrettyNormal: <cn=Manager,dc=example,dc=net>, <cn=manager,dc=example,dc=net>
5ec3eabc /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/slapd.conf: line 22 (rootpw ***)
5ec3eabc >>> dnNormalize: <cn=Subschema>
=> ldap_bv2dn(cn=Subschema,0)
<= ldap_bv2dn(cn=Subschema)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=subschema)=0 
5ec3eabc <<< dnNormalize: <cn=subschema>
5ec3eabc matching_rule_use_init
5ec3eabc     1.2.840.113556.1.4.804 (integerBitOrMatch): matchingRuleUse: ( 1.2.840.113556.1.4.804 NAME 'integerBitOrMatch' APPLIES ( supportedLDAPVersion $ entryTtl $ uidNumber $ gidNumber $ olcConcurrency $ olcConnMaxPending $ olcConnMaxPendingAuth $ olcIdleTimeout $ olcIndexSubstrIfMinLen $ olcIndexSubstrIfMaxLen $ olcIndexSubstrAnyLen $ olcIndexSubstrAnyStep $ olcIndexIntLen $ olcListenerThreads $ olcLocalSSF $ olcMaxDerefDepth $ olcReplicationInterval $ olcSockbufMaxIncoming $ olcSockbufMaxIncomingAuth $ olcThreads $ olcToolThreads $ olcWriteTimeout $ mailPreferenceOption $ shadowLastChange $ shadowMin $ shadowMax $ shadowWarning $ shadowInactive $ shadowExpire $ shadowFlag $ ipServicePort $ ipProtocolNumber $ oncRpcNumber ) )
5ec3eabc     1.2.840.113556.1.4.803 (integerBitAndMatch): matchingRuleUse: ( 1.2.840.113556.1.4.803 NAME 'integerBitAndMatch' APPLIES ( supportedLDAPVersion $ entryTtl $ uidNumber $ gidNumber $ olcConcurrency $ olcConnMaxPending $ olcConnMaxPendingAuth $ olcIdleTimeout $ olcIndexSubstrIfMinLen $ olcIndexSubstrIfMaxLen $ olcIndexSubstrAnyLen $ olcIndexSubstrAnyStep $ olcIndexIntLen $ olcListenerThreads $ olcLocalSSF $ olcMaxDerefDepth $ olcReplicationInterval $ olcSockbufMaxIncoming $ olcSockbufMaxIncomingAuth $ olcThreads $ olcToolThreads $ olcWriteTimeout $ mailPreferenceOption $ shadowLastChange $ shadowMin $ shadowMax $ shadowWarning $ shadowInactive $ shadowExpire $ shadowFlag $ ipServicePort $ ipProtocolNumber $ oncRpcNumber ) )
5ec3eabc     1.3.6.1.4.1.1466.109.114.2 (caseIgnoreIA5Match): matchingRuleUse: ( 1.3.6.1.4.1.1466.109.114.2 NAME 'caseIgnoreIA5Match' APPLIES ( altServer $ c $ mail $ dc $ associatedDomain $ email $ aRecord $ mDRecord $ mXRecord $ nSRecord $ sOARecord $ cNAMERecord $ janetMailbox $ gecos $ homeDirectory $ loginShell $ memberUid $ memberNisNetgroup $ ipHostNumber $ ipNetworkNumber $ ipNetmaskNumber $ macAddress $ bootFile $ nisMapEntry ) )
5ec3eabc     1.3.6.1.4.1.1466.109.114.1 (caseExactIA5Match): matchingRuleUse: ( 1.3.6.1.4.1.1466.109.114.1 NAME 'caseExactIA5Match' APPLIES ( altServer $ c $ mail $ dc $ associatedDomain $ email $ aRecord $ mDRecord $ mXRecord $ nSRecord $ sOARecord $ cNAMERecord $ janetMailbox $ gecos $ homeDirectory $ loginShell $ memberUid $ memberNisNetgroup $ ipHostNumber $ ipNetworkNumber $ ipNetmaskNumber $ macAddress $ bootFile $ nisMapEntry ) )
5ec3eabc     2.5.13.39 (certificateListMatch):     2.5.13.38 (certificateListExactMatch): matchingRuleUse: ( 2.5.13.38 NAME 'certificateListExactMatch' APPLIES ( authorityRevocationList $ certificateRevocationList $ deltaRevocationList ) )
5ec3eabc     2.5.13.35 (certificateMatch):     2.5.13.34 (certificateExactMatch): matchingRuleUse: ( 2.5.13.34 NAME 'certificateExactMatch' APPLIES ( userCertificate $ cACertificate ) )
5ec3eabc     2.5.13.30 (objectIdentifierFirstComponentMatch): matchingRuleUse: ( 2.5.13.30 NAME 'objectIdentifierFirstComponentMatch' APPLIES ( supportedControl $ supportedExtension $ supportedFeatures $ ldapSyntaxes $ supportedApplicationContext ) )
5ec3eabc     2.5.13.29 (integerFirstComponentMatch): matchingRuleUse: ( 2.5.13.29 NAME 'integerFirstComponentMatch' APPLIES ( supportedLDAPVersion $ entryTtl $ uidNumber $ gidNumber $ olcConcurrency $ olcConnMaxPending $ olcConnMaxPendingAuth $ olcIdleTimeout $ olcIndexSubstrIfMinLen $ olcIndexSubstrIfMaxLen $ olcIndexSubstrAnyLen $ olcIndexSubstrAnyStep $ olcIndexIntLen $ olcListenerThreads $ olcLocalSSF $ olcMaxDerefDepth $ olcReplicationInterval $ olcSockbufMaxIncoming $ olcSockbufMaxIncomingAuth $ olcThreads $ olcToolThreads $ olcWriteTimeout $ mailPreferenceOption $ shadowLastChange $ shadowMin $ shadowMax $ shadowWarning $ shadowInactive $ shadowExpire $ shadowFlag $ ipServicePort $ ipProtocolNumber $ oncRpcNumber ) )
5ec3eabc     2.5.13.28 (generalizedTimeOrderingMatch): matchingRuleUse: ( 2.5.13.28 NAME 'generalizedTimeOrderingMatch' APPLIES ( createTimestamp $ modifyTimestamp ) )
5ec3eabc     2.5.13.27 (generalizedTimeMatch): matchingRuleUse: ( 2.5.13.27 NAME 'generalizedTimeMatch' APPLIES ( createTimestamp $ modifyTimestamp ) )
5ec3eabc     2.5.13.24 (protocolInformationMatch): matchingRuleUse: ( 2.5.13.24 NAME 'protocolInformationMatch' APPLIES protocolInformation )
5ec3eabc     2.5.13.23 (uniqueMemberMatch): matchingRuleUse: ( 2.5.13.23 NAME 'uniqueMemberMatch' APPLIES uniqueMember )
5ec3eabc     2.5.13.22 (presentationAddressMatch): matchingRuleUse: ( 2.5.13.22 NAME 'presentationAddressMatch' APPLIES presentationAddress )
5ec3eabc     2.5.13.20 (telephoneNumberMatch): matchingRuleUse: ( 2.5.13.20 NAME 'telephoneNumberMatch' APPLIES ( telephoneNumber $ homePhone $ mobile $ pager ) )
5ec3eabc     2.5.13.18 (octetStringOrderingMatch): matchingRuleUse: ( 2.5.13.18 NAME 'octetStringOrderingMatch' APPLIES userPassword )
5ec3eabc     2.5.13.17 (octetStringMatch): matchingRuleUse: ( 2.5.13.17 NAME 'octetStringMatch' APPLIES userPassword )
5ec3eabc     2.5.13.16 (bitStringMatch): matchingRuleUse: ( 2.5.13.16 NAME 'bitStringMatch' APPLIES x500UniqueIdentifier )
5ec3eabc     2.5.13.15 (integerOrderingMatch): matchingRuleUse: ( 2.5.13.15 NAME 'integerOrderingMatch' APPLIES ( supportedLDAPVersion $ entryTtl $ uidNumber $ gidNumber $ olcConcurrency $ olcConnMaxPending $ olcConnMaxPendingAuth $ olcIdleTimeout $ olcIndexSubstrIfMinLen $ olcIndexSubstrIfMaxLen $ olcIndexSubstrAnyLen $ olcIndexSubstrAnyStep $ olcIndexIntLen $ olcListenerThreads $ olcLocalSSF $ olcMaxDerefDepth $ olcReplicationInterval $ olcSockbufMaxIncoming $ olcSockbufMaxIncomingAuth $ olcThreads $ olcToolThreads $ olcWriteTimeout $ mailPreferenceOption $ shadowLastChange $ shadowMin $ shadowMax $ shadowWarning $ shadowInactive $ shadowExpire $ shadowFlag $ ipServicePort $ ipProtocolNumber $ oncRpcNumber ) )
5ec3eabc     2.5.13.14 (integerMatch): matchingRuleUse: ( 2.5.13.14 NAME 'integerMatch' APPLIES ( supportedLDAPVersion $ entryTtl $ uidNumber $ gidNumber $ olcConcurrency $ olcConnMaxPending $ olcConnMaxPendingAuth $ olcIdleTimeout $ olcIndexSubstrIfMinLen $ olcIndexSubstrIfMaxLen $ olcIndexSubstrAnyLen $ olcIndexSubstrAnyStep $ olcIndexIntLen $ olcListenerThreads $ olcLocalSSF $ olcMaxDerefDepth $ olcReplicationInterval $ olcSockbufMaxIncoming $ olcSockbufMaxIncomingAuth $ olcThreads $ olcToolThreads $ olcWriteTimeout $ mailPreferenceOption $ shadowLastChange $ shadowMin $ shadowMax $ shadowWarning $ shadowInactive $ shadowExpire $ shadowFlag $ ipServicePort $ ipProtocolNumber $ oncRpcNumber ) )
5ec3eabc     2.5.13.13 (booleanMatch): matchingRuleUse: ( 2.5.13.13 NAME 'booleanMatch' APPLIES ( hasSubordinates $ olcAddContentAcl $ olcGentleHUP $ olcHidden $ olcLastMod $ olcMirrorMode $ olcMonitoring $ olcReadOnly $ olcReverseLookup $ olcSyncUseSubentry ) )
5ec3eabc     2.5.13.11 (caseIgnoreListMatch): matchingRuleUse: ( 2.5.13.11 NAME 'caseIgnoreListMatch' APPLIES ( postalAddress $ registeredAddress $ homePostalAddress ) )
5ec3eabc     2.5.13.9 (numericStringOrderingMatch): matchingRuleUse: ( 2.5.13.9 NAME 'numericStringOrderingMatch' APPLIES ( x121Address $ internationaliSDNNumber ) )
5ec3eabc     2.5.13.8 (numericStringMatch): matchingRuleUse: ( 2.5.13.8 NAME 'numericStringMatch' APPLIES ( x121Address $ internationaliSDNNumber ) )
5ec3eabc     2.5.13.7 (caseExactSubstringsMatch): matchingRuleUse: ( 2.5.13.7 NAME 'caseExactSubstringsMatch' APPLIES ( serialNumber $ c $ telephoneNumber $ destinationIndicator $ dnQualifier $ homePhone $ mobile $ pager ) )
5ec3eabc     2.5.13.6 (caseExactOrderingMatch): matchingRuleUse: ( 2.5.13.6 NAME 'caseExactOrderingMatch' APPLIES ( supportedSASLMechanisms $ vendorName $ vendorVersion $ ref $ name $ cn $ uid $ labeledURI $ description $ olcConfigFile $ olcConfigDir $ olcAccess $ olcAllows $ olcArgsFile $ olcAttributeOptions $ olcAttributeTypes $ olcAuthIDRewrite $ olcAuthzPolicy $ olcAuthzRegexp $ olcBackend $ olcDatabase $ olcDisallows $ olcDitContentRules $ olcExtraAttrs $ olcInclude $ olcLdapSyntaxes $ olcLimits $ olcLogFile $ olcLogLevel $ olcModuleLoad $ olcModulePath $ olcObjectClasses $ olcObjectIdentifier $ olcOverlay $ olcPasswordCryptSaltFormat $ olcPasswordHash $ olcPidFile $ olcPlugin $ olcPluginLogFile $ olcReferral $ olcReplica $ olcReplicaArgsFile $ olcReplicaPidFile $ olcReplogFile $ olcRequires $ olcRestrict $ olcRootDSE $ olcRootPW $ olcSaslAuxprops $ olcSaslHost $ olcSaslRealm $ olcSaslSecProps $ olcSecurity $ olcServerID $ olcSizeLimit $ olcSortVals $ olcSubordinate $ olcSyncrepl $ olcTCPBuffer $ olcTimeLimit $ olcTLSCACertificateFile $ olcTLSCACertificatePath $ olcTLSCertificateFile $ olcTLSCertificateKeyFile $ olcTLSCipherSuite $ olcTLSCRLCheck $ olcTLSCRLFile $ olcTLSRandFile $ olcTLSVerifyClient $ olcTLSDHParamFile $ olcTLSECName $ olcTLSProtocolMin $ olcUpdateRef $ olcDbDirectory $ knowledgeInformation $ sn $ serialNumber $ c $ l $ st $ street $ o $ ou $ title $ businessCategory $ postalCode $ postOfficeBox $ physicalDeliveryOfficeName $ telephoneNumber $ destinationIndicator $ givenName $ initials $ generationQualifier $ dnQualifier $ houseIdentifier $ dmdName $ pseudonym $ textEncodedORAddress $ info $ drink $ roomNumber $ userClass $ host $ documentIdentifier $ documentTitle $ documentVersion $ documentLocation $ homePhone $ personalTitle $ mobile $ pager $ co $ uniqueIdentifier $ organizationalStatus $ buildingName $ documentPublisher $ ipServiceProtocol $ nisMapName $ carLicense $ departmentNumber $ displayName $ employeeNumber $ employeeType $ preferredLanguage ) )
5ec3eabc     2.5.13.5 (caseExactMatch): matchingRuleUse: ( 2.5.13.5 NAME 'caseExactMatch' APPLIES ( supportedSASLMechanisms $ vendorName $ vendorVersion $ ref $ name $ cn $ uid $ labeledURI $ description $ olcConfigFile $ olcConfigDir $ olcAccess $ olcAllows $ olcArgsFile $ olcAttributeOptions $ olcAttributeTypes $ olcAuthIDRewrite $ olcAuthzPolicy $ olcAuthzRegexp $ olcBackend $ olcDatabase $ olcDisallows $ olcDitContentRules $ olcExtraAttrs $ olcInclude $ olcLdapSyntaxes $ olcLimits $ olcLogFile $ olcLogLevel $ olcModuleLoad $ olcModulePath $ olcObjectClasses $ olcObjectIdentifier $ olcOverlay $ olcPasswordCryptSaltFormat $ olcPasswordHash $ olcPidFile $ olcPlugin $ olcPluginLogFile $ olcReferral $ olcReplica $ olcReplicaArgsFile $ olcReplicaPidFile $ olcReplogFile $ olcRequires $ olcRestrict $ olcRootDSE $ olcRootPW $ olcSaslAuxprops $ olcSaslHost $ olcSaslRealm $ olcSaslSecProps $ olcSecurity $ olcServerID $ olcSizeLimit $ olcSortVals $ olcSubordinate $ olcSyncrepl $ olcTCPBuffer $ olcTimeLimit $ olcTLSCACertificateFile $ olcTLSCACertificatePath $ olcTLSCertificateFile $ olcTLSCertificateKeyFile $ olcTLSCipherSuite $ olcTLSCRLCheck $ olcTLSCRLFile $ olcTLSRandFile $ olcTLSVerifyClient $ olcTLSDHParamFile $ olcTLSECName $ olcTLSProtocolMin $ olcUpdateRef $ olcDbDirectory $ knowledgeInformation $ sn $ serialNumber $ c $ l $ st $ street $ o $ ou $ title $ businessCategory $ postalCode $ postOfficeBox $ physicalDeliveryOfficeName $ telephoneNumber $ destinationIndicator $ givenName $ initials $ generationQualifier $ dnQualifier $ houseIdentifier $ dmdName $ pseudonym $ textEncodedORAddress $ info $ drink $ roomNumber $ userClass $ host $ documentIdentifier $ documentTitle $ documentVersion $ documentLocation $ homePhone $ personalTitle $ mobile $ pager $ co $ uniqueIdentifier $ organizationalStatus $ buildingName $ documentPublisher $ ipServiceProtocol $ nisMapName $ carLicense $ departmentNumber $ displayName $ employeeNumber $ employeeType $ preferredLanguage ) )
5ec3eabc     2.5.13.4 (caseIgnoreSubstringsMatch): matchingRuleUse: ( 2.5.13.4 NAME 'caseIgnoreSubstringsMatch' APPLIES ( serialNumber $ c $ telephoneNumber $ destinationIndicator $ dnQualifier $ homePhone $ mobile $ pager ) )
5ec3eabc     2.5.13.3 (caseIgnoreOrderingMatch): matchingRuleUse: ( 2.5.13.3 NAME 'caseIgnoreOrderingMatch' APPLIES ( supportedSASLMechanisms $ vendorName $ vendorVersion $ ref $ name $ cn $ uid $ labeledURI $ description $ olcConfigFile $ olcConfigDir $ olcAccess $ olcAllows $ olcArgsFile $ olcAttributeOptions $ olcAttributeTypes $ olcAuthIDRewrite $ olcAuthzPolicy $ olcAuthzRegexp $ olcBackend $ olcDatabase $ olcDisallows $ olcDitContentRules $ olcExtraAttrs $ olcInclude $ olcLdapSyntaxes $ olcLimits $ olcLogFile $ olcLogLevel $ olcModuleLoad $ olcModulePath $ olcObjectClasses $ olcObjectIdentifier $ olcOverlay $ olcPasswordCryptSaltFormat $ olcPasswordHash $ olcPidFile $ olcPlugin $ olcPluginLogFile $ olcReferral $ olcReplica $ olcReplicaArgsFile $ olcReplicaPidFile $ olcReplogFile $ olcRequires $ olcRestrict $ olcRootDSE $ olcRootPW $ olcSaslAuxprops $ olcSaslHost $ olcSaslRealm $ olcSaslSecProps $ olcSecurity $ olcServerID $ olcSizeLimit $ olcSortVals $ olcSubordinate $ olcSyncrepl $ olcTCPBuffer $ olcTimeLimit $ olcTLSCACertificateFile $ olcTLSCACertificatePath $ olcTLSCertificateFile $ olcTLSCertificateKeyFile $ olcTLSCipherSuite $ olcTLSCRLCheck $ olcTLSCRLFile $ olcTLSRandFile $ olcTLSVerifyClient $ olcTLSDHParamFile $ olcTLSECName $ olcTLSProtocolMin $ olcUpdateRef $ olcDbDirectory $ knowledgeInformation $ sn $ serialNumber $ c $ l $ st $ street $ o $ ou $ title $ businessCategory $ postalCode $ postOfficeBox $ physicalDeliveryOfficeName $ telephoneNumber $ destinationIndicator $ givenName $ initials $ generationQualifier $ dnQualifier $ houseIdentifier $ dmdName $ pseudonym $ textEncodedORAddress $ info $ drink $ roomNumber $ userClass $ host $ documentIdentifier $ documentTitle $ documentVersion $ documentLocation $ homePhone $ personalTitle $ mobile $ pager $ co $ uniqueIdentifier $ organizationalStatus $ buildingName $ documentPublisher $ ipServiceProtocol $ nisMapName $ carLicense $ departmentNumber $ displayName $ employeeNumber $ employeeType $ preferredLanguage ) )
5ec3eabc     2.5.13.2 (caseIgnoreMatch): matchingRuleUse: ( 2.5.13.2 NAME 'caseIgnoreMatch' APPLIES ( supportedSASLMechanisms $ vendorName $ vendorVersion $ ref $ name $ cn $ uid $ labeledURI $ description $ olcConfigFile $ olcConfigDir $ olcAccess $ olcAllows $ olcArgsFile $ olcAttributeOptions $ olcAttributeTypes $ olcAuthIDRewrite $ olcAuthzPolicy $ olcAuthzRegexp $ olcBackend $ olcDatabase $ olcDisallows $ olcDitContentRules $ olcExtraAttrs $ olcInclude $ olcLdapSyntaxes $ olcLimits $ olcLogFile $ olcLogLevel $ olcModuleLoad $ olcModulePath $ olcObjectClasses $ olcObjectIdentifier $ olcOverlay $ olcPasswordCryptSaltFormat $ olcPasswordHash $ olcPidFile $ olcPlugin $ olcPluginLogFile $ olcReferral $ olcReplica $ olcReplicaArgsFile $ olcReplicaPidFile $ olcReplogFile $ olcRequires $ olcRestrict $ olcRootDSE $ olcRootPW $ olcSaslAuxprops $ olcSaslHost $ olcSaslRealm $ olcSaslSecProps $ olcSecurity $ olcServerID $ olcSizeLimit $ olcSortVals $ olcSubordinate $ olcSyncrepl $ olcTCPBuffer $ olcTimeLimit $ olcTLSCACertificateFile $ olcTLSCACertificatePath $ olcTLSCertificateFile $ olcTLSCertificateKeyFile $ olcTLSCipherSuite $ olcTLSCRLCheck $ olcTLSCRLFile $ olcTLSRandFile $ olcTLSVerifyClient $ olcTLSDHParamFile $ olcTLSECName $ olcTLSProtocolMin $ olcUpdateRef $ olcDbDirectory $ knowledgeInformation $ sn $ serialNumber $ c $ l $ st $ street $ o $ ou $ title $ businessCategory $ postalCode $ postOfficeBox $ physicalDeliveryOfficeName $ telephoneNumber $ destinationIndicator $ givenName $ initials $ generationQualifier $ dnQualifier $ houseIdentifier $ dmdName $ pseudonym $ textEncodedORAddress $ info $ drink $ roomNumber $ userClass $ host $ documentIdentifier $ documentTitle $ documentVersion $ documentLocation $ homePhone $ personalTitle $ mobile $ pager $ co $ uniqueIdentifier $ organizationalStatus $ buildingName $ documentPublisher $ ipServiceProtocol $ nisMapName $ carLicense $ departmentNumber $ displayName $ employeeNumber $ employeeType $ preferredLanguage ) )
5ec3eabc     1.2.36.79672281.1.13.3 (rdnMatch):     2.5.13.1 (distinguishedNameMatch): matchingRuleUse: ( 2.5.13.1 NAME 'distinguishedNameMatch' APPLIES ( creatorsName $ modifiersName $ subschemaSubentry $ entryDN $ namingContexts $ aliasedObjectName $ dynamicSubtrees $ distinguishedName $ seeAlso $ olcDefaultSearchBase $ olcRootDN $ olcSchemaDN $ olcSuffix $ olcUpdateDN $ member $ owner $ roleOccupant $ manager $ documentAuthor $ secretary $ associatedName $ dITRedirect ) )
5ec3eabc     2.5.13.0 (objectIdentifierMatch): matchingRuleUse: ( 2.5.13.0 NAME 'objectIdentifierMatch' APPLIES ( supportedControl $ supportedExtension $ supportedFeatures $ supportedApplicationContext ) )
5ec3eabc slapd startup: initiated.
5ec3eabc backend_startup_one: starting "cn=config"
5ec3eabc config_back_db_open
Backend ACL: access to *
	by * none

5ec3eabc config_back_db_open: line 0: warning: cannot assess the validity of the ACL scope within backend naming context
5ec3eabc config_back_db_open: No explicit ACL for back-config configured. Using hardcoded default
5ec3eabc config_build_entry: "cn=config"
5ec3eabc config_build_entry: "cn=schema"
5ec3eabc >>> dnNormalize: <cn={0}core>
5ec3eabc <<< dnNormalize: <cn={0}core>
5ec3eabc config_build_entry: "cn={0}core"
5ec3eabc >>> dnNormalize: <cn={1}cosine>
5ec3eabc <<< dnNormalize: <cn={1}cosine>
5ec3eabc config_build_entry: "cn={1}cosine"
5ec3eabc >>> dnNormalize: <cn={2}nis>
5ec3eabc <<< dnNormalize: <cn={2}nis>
5ec3eabc config_build_entry: "cn={2}nis"
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
5ec3eabc >>> dnNormalize: <cn={3}inetorgperson>
5ec3eabc <<< dnNormalize: <cn={3}inetorgperson>
5ec3eabc config_build_entry: "cn={3}inetorgperson"
5ec3eabc config_build_entry: "olcDatabase={-1}frontend"
5ec3eabc config_build_entry: "olcDatabase={0}config"
5ec3eabc config_build_entry: "olcDatabase={1}ldif"
5ec3eabc backend_startup_one: starting "dc=example,dc=net"
5ec3eabc slapd starting
5ec3eabc daemon: added 3r listener=(nil)
5ec3eabc daemon: added 6r listener=0x555a8add6f60
5ec3eabc daemon: added 7r listener=0x555a8add7020
5ec3eabc daemon: added 8r listener=0x555a8add6840
5ec3eabc daemon: added 9r listener=0x555a8add6930
5ec3eabc daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabc daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabc daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabc daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabc daemon: activity on 1 descriptor
5ec3eabc daemon: activity on:
5ec3eabc daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabc daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabc daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabc daemon: epoll: listen=9 active_threads=0 tvp=NULL
# waiting for slapd to accept requests...
# Running: ldapsearch -h localhost -p 56118 -s base -b dc=example,dc=net -D cn=Manager,dc=example,dc=net -y /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/ldappassword -n 'objectclass=*'
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
5ec3eabd slap_listener_activate(6): 
5ec3eabd daemon: epoll: listen=6 busy
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd >>> slap_listener(ldap://localhost:56118)
5ec3eabd daemon: accept() = 10
5ec3eabd daemon: listen=6, new connection on 10
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd daemon: added 10r (active) listener=(nil)
5ec3eabd daemon: activity on 2 descriptors
5ec3eabd daemon: activity on: 10r
5ec3eabd daemon: read active on 10
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd connection_get(10)
5ec3eabd connection_get(10): got connid=1000
5ec3eabd connection_read(10): checking for input on id=1000
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_get_next
ldap_read: want=8, got=8
  0000:  30 2e 02 01 01 60 29 02                            0....`).          
ldap_read: want=40, got=40
  0000:  01 03 04 1c 63 6e 3d 4d  61 6e 61 67 65 72 2c 64   ....cn=Manager,d  
  0010:  63 3d 65 78 61 6d 70 6c  65 2c 64 63 3d 6e 65 74   c=example,dc=net  
  0020:  80 06 73 65 63 72 65 74                            ..secret          
ber_get_next: tag 0x30 len 46 contents:
ber_dump: buf=0x7f1360000bc0 ptr=0x7f1360000bc0 end=0x7f1360000bee len=46
  0000:  02 01 01 60 29 02 01 03  04 1c 63 6e 3d 4d 61 6e   ...`).....cn=Man  
  0010:  61 67 65 72 2c 64 63 3d  65 78 61 6d 70 6c 65 2c   ager,dc=example,  
  0020:  64 63 3d 6e 65 74 80 06  73 65 63 72 65 74         dc=net..secret    
5ec3eabd op tag 0x60, time 1589897917
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabd conn=1000 op=0 do_bind
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
ber_scanf fmt ({imt) ber:
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
ber_dump: buf=0x7f1360000bc0 ptr=0x7f1360000bc3 end=0x7f1360000bee len=43
  0000:  60 29 02 01 03 04 1c 63  6e 3d 4d 61 6e 61 67 65   `).....cn=Manage  
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
  0010:  72 2c 64 63 3d 65 78 61  6d 70 6c 65 2c 64 63 3d   r,dc=example,dc=  
  0020:  6e 65 74 80 06 73 65 63  72 65 74                  net..secret       
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1360000bc0 ptr=0x7f1360000be6 end=0x7f1360000bee len=8
  0000:  00 06 73 65 63 72 65 74                            ..secret          
5ec3eabd >>> dnPrettyNormal: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd <<< dnPrettyNormal: <cn=Manager,dc=example,dc=net>, <cn=manager,dc=example,dc=net>
5ec3eabd do_bind: version=3 dn="cn=Manager,dc=example,dc=net" method=128
5ec3eabd conn=1000 op=0: rootdn="cn=Manager,dc=example,dc=net" bind succeeded
5ec3eabd do_bind: v3 bind: "cn=Manager,dc=example,dc=net" to "cn=Manager,dc=example,dc=net"
5ec3eabd send_ldap_result: conn=1000 op=0 p=3
5ec3eabd send_ldap_result: err=0 matched="" text=""
5ec3eabd send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
# extended LDIF
#
# LDAPv3
# base <dc=example,dc=net> with scope baseObject
# filter: 'objectclass=*'
# requesting: ALL
#

5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on: 10r
5ec3eabd daemon: read active on 10
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd connection_get(10)
5ec3eabd connection_get(10): got connid=1000
5ec3eabd connection_read(10): checking for input on id=1000
ber_get_next
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1364000f30 ptr=0x7f1364000f30 end=0x7f1364000f35 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eabd op tag 0x42, time 1589897917
ber_get_next
ldap_read: want=8, got=0

5ec3eabd ber_get_next on fd 10 failed errno=0 (Success)
5ec3eabd connection_read(10): input error=-2 id=1000, closing.
5ec3eabd connection_closing: readying conn=1000 sd=10 for close
5ec3eabd connection_close: deferring conn=1000 sd=10
5ec3eabd conn=1000 op=1 do_unbind
5ec3eabd connection_resched: attempting closing conn=1000 sd=10
5ec3eabd connection_close: conn=1000 sd=10
5ec3eabd daemon: removing 10
# loading LDAP data
# Running: ldapadd -x -y /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/ldappassword -f authdata.ldif
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
5ec3eabd slap_listener_activate(6): 
5ec3eabd daemon: epoll: listen=6 busy
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd >>> slap_listener(ldap://localhost:56118)
5ec3eabd daemon: accept() = 10
5ec3eabd daemon: listen=6, new connection on 10
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd daemon: added 10r (active) listener=(nil)
5ec3eabd daemon: activity on 2 descriptors
5ec3eabd daemon: activity on: 10r
5ec3eabd daemon: read active on 10
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd connection_get(10)
5ec3eabd connection_get(10): got connid=1001
5ec3eabd connection_read(10): checking for input on id=1001
ber_get_next
ldap_read: want=8, got=8
  0000:  30 2e 02 01 01 60 29 02                            0....`).          
ldap_read: want=40, got=40
  0000:  01 03 04 1c 63 6e 3d 4d  61 6e 61 67 65 72 2c 64   ....cn=Manager,d  
  0010:  63 3d 65 78 61 6d 70 6c  65 2c 64 63 3d 6e 65 74   c=example,dc=net  
  0020:  80 06 73 65 63 72 65 74                            ..secret          
ber_get_next: tag 0x30 len 46 contents:
ber_dump: buf=0x7f13640025e0 ptr=0x7f13640025e0 end=0x7f136400260e len=46
  0000:  02 01 01 60 29 02 01 03  04 1c 63 6e 3d 4d 61 6e   ...`).....cn=Man  
  0010:  61 67 65 72 2c 64 63 3d  65 78 61 6d 70 6c 65 2c   ager,dc=example,  
  0020:  64 63 3d 6e 65 74 80 06  73 65 63 72 65 74         dc=net..secret    
5ec3eabd op tag 0x60, time 1589897917
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabd conn=1001 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f13640025e0 ptr=0x7f13640025e3 end=0x7f136400260e len=43
  0000:  60 29 02 01 03 04 1c 63  6e 3d 4d 61 6e 61 67 65   `).....cn=Manage  
  0010:  72 2c 64 63 3d 65 78 61  6d 70 6c 65 2c 64 63 3d   r,dc=example,dc=  
  0020:  6e 65 74 80 06 73 65 63  72 65 74                  net..secret       
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f13640025e0 ptr=0x7f1364002606 end=0x7f136400260e len=8
  0000:  00 06 73 65 63 72 65 74                            ..secret          
5ec3eabd >>> dnPrettyNormal: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:5ec3eabd <<< dnPrettyNormal: <cn=Manager,dc=example,dc=net>, <cn=manager,dc=example,dc=net>

5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd do_bind: version=3 dn="cn=Manager,dc=example,dc=net" method=128
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd conn=1001 op=0: rootdn="cn=Manager,dc=example,dc=net" bind succeeded
5ec3eabd do_bind: v3 bind: "cn=Manager,dc=example,dc=net" to "cn=Manager,dc=example,dc=net"
5ec3eabd send_ldap_result: conn=1001 op=0 p=3
5ec3eabd send_ldap_result: err=0 matched="" text=""
5ec3eabd send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on: 10r
5ec3eabd daemon: read active on 10
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd connection_get(10)
5ec3eabd connection_get(10): got connid=1001
5ec3eabd connection_read(10): checking for input on id=1001
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_get_next
ldap_read: want=8, got=8
  0000:  30 6b 02 01 02 68 66 04                            0k...hf.          
ldap_read: want=101, got=101
  0000:  11 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   .dc=example,dc=n  
  0010:  65 74 30 51 30 2c 04 0b  6f 62 6a 65 63 74 43 6c   et0Q0,..objectCl  
  0020:  61 73 73 31 1d 04 03 74  6f 70 04 08 64 63 4f 62   ass1...top..dcOb  
  0030:  6a 65 63 74 04 0c 6f 72  67 61 6e 69 7a 61 74 69   ject..organizati  
  0040:  6f 6e 30 0f 04 02 64 63  31 09 04 07 65 78 61 6d   on0...dc1...exam  
  0050:  70 6c 65 30 10 04 01 6f  31 0b 04 09 45 78 61 6d   ple0...o1...Exam  
  0060:  70 6c 65 43 6f                                     pleCo             
ber_get_next: tag 0x30 len 107 contents:
ber_dump: buf=0x7f13601014a0 ptr=0x7f13601014a0 end=0x7f136010150b len=107
  0000:  02 01 02 68 66 04 11 64  63 3d 65 78 61 6d 70 6c   ...hf..dc=exampl  
  0010:  65 2c 64 63 3d 6e 65 74  30 51 30 2c 04 0b 6f 62   e,dc=net0Q0,..ob  
  0020:  6a 65 63 74 43 6c 61 73  73 31 1d 04 03 74 6f 70   jectClass1...top  
  0030:  04 08 64 63 4f 62 6a 65  63 74 04 0c 6f 72 67 61   ..dcObject..orga  
  0040:  6e 69 7a 61 74 69 6f 6e  30 0f 04 02 64 63 31 09   nization0...dc1.  
  0050:  04 07 65 78 61 6d 70 6c  65 30 10 04 01 6f 31 0b   ..example0...o1.  
  0060:  04 09 45 78 61 6d 70 6c  65 43 6f                  ..ExampleCo       
5ec3eabd op tag 0x68, time 1589897917
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabd conn=1001 op=1 do_add
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
ber_scanf fmt ({m) ber:
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_dump: buf=0x7f13601014a0 ptr=0x7f13601014a3 end=0x7f136010150b len=104
  0000:  68 66 04 11 64 63 3d 65  78 61 6d 70 6c 65 2c 64   hf..dc=example,d  
  0010:  63 3d 6e 65 74 30 51 30  2c 04 0b 6f 62 6a 65 63   c=net0Q0,..objec  
  0020:  74 43 6c 61 73 73 31 1d  04 03 74 6f 70 04 08 64   tClass1...top..d  
  0030:  63 4f 62 6a 65 63 74 04  0c 6f 72 67 61 6e 69 7a   cObject..organiz  
  0040:  61 74 69 6f 6e 30 0f 04  02 64 63 31 09 04 07 65   ation0...dc1...e  
  0050:  78 61 6d 70 6c 65 30 10  04 01 6f 31 0b 04 09 45   xample0...o1...E  
  0060:  78 61 6d 70 6c 65 43 6f                            xampleCo          
5ec3eabd conn=1001 op=1 do_add: dn (dc=example,dc=net)
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f13601014a0 ptr=0x7f13601014ba end=0x7f136010150b len=81
  0000:  30 2c 04 0b 6f 62 6a 65  63 74 43 6c 61 73 73 31   0,..objectClass1  
  0010:  1d 04 03 74 6f 70 04 08  64 63 4f 62 6a 65 63 74   ...top..dcObject  
  0020:  04 0c 6f 72 67 61 6e 69  7a 61 74 69 6f 6e 30 0f   ..organization0.  
  0030:  04 02 64 63 31 09 04 07  65 78 61 6d 70 6c 65 30   ..dc1...example0  
  0040:  10 04 01 6f 31 0b 04 09  45 78 61 6d 70 6c 65 43   ...o1...ExampleC  
  0050:  6f                                                 o                 
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f13601014a0 ptr=0x7f13601014e8 end=0x7f136010150b len=35
  0000:  30 0f 04 02 64 63 31 09  04 07 65 78 61 6d 70 6c   0...dc1...exampl  
  0010:  65 30 10 04 01 6f 31 0b  04 09 45 78 61 6d 70 6c   e0...o1...Exampl  
  0020:  65 43 6f                                           eCo               
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f13601014a0 ptr=0x7f13601014f9 end=0x7f136010150b len=18
  0000:  30 10 04 01 6f 31 0b 04  09 45 78 61 6d 70 6c 65   0...o1...Example  
  0010:  43 6f                                              Co                
ber_scanf fmt (}) ber:
ber_dump: buf=0x7f13601014a0 ptr=0x7f136010150b end=0x7f136010150b len=0

5ec3eabd >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eabd <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eabd ldif_read_file: no entry file "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabd ldif_back_add: "dc=example,dc=net"
5ec3eabd oc_check_required entry (dc=example,dc=net), objectClass "dcObject"
5ec3eabd oc_check_required entry (dc=example,dc=net), objectClass "organization"
5ec3eabd oc_check_allowed type "objectClass"
5ec3eabd oc_check_allowed type "dc"
5ec3eabd oc_check_allowed type "o"
5ec3eabd oc_check_allowed type "structuralObjectClass"
5ec3eabd ldif_write_entry: wrote entry "dc=example,dc=net"
5ec3eabd ldif_back_add: err: 0 text: 
5ec3eabd send_ldap_result: conn=1001 op=1 p=3
5ec3eabd send_ldap_result: err=0 matched="" text=""
5ec3eabd send_ldap_response: msgid=2 tag=105 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 69 07 0a  01 00 04 00 04 00         0....i........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 69 07 0a  01 00 04 00 04 00         0....i........    
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on: 10r
5ec3eabd daemon: read active on 10
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd connection_get(10)
5ec3eabd connection_get(10): got connid=1001
5ec3eabd connection_read(10): checking for input on id=1001
ber_get_next
ldap_read: want=8, got=8
  0000:  30 82 01 32 02 01 03 68                            0..2...h          
ldap_read: want=302, got=302
  0000:  82 01 2b 04 1b 75 69 64  3d 74 65 73 74 31 2c 64   ..+..uid=test1,d  
  0010:  63 3d 65 78 61 6d 70 6c  65 2c 64 63 3d 6e 65 74   c=example,dc=net  
  0020:  30 82 01 0a 30 2c 04 0b  6f 62 6a 65 63 74 43 6c   0...0,..objectCl  
  0030:  61 73 73 31 1d 04 0d 69  6e 65 74 4f 72 67 50 65   ass1...inetOrgPe  
  0040:  72 73 6f 6e 04 0c 70 6f  73 69 78 41 63 63 6f 75   rson..posixAccou  
  0050:  6e 74 30 0e 04 03 75 69  64 31 07 04 05 74 65 73   nt0...uid1...tes  
  0060:  74 31 30 10 04 02 73 6e  31 0a 04 08 4c 61 73 74   t10...sn1...Last  
  0070:  6e 61 6d 65 30 18 04 09  67 69 76 65 6e 4e 61 6d   name0...givenNam  
  0080:  65 31 0b 04 09 46 69 72  73 74 6e 61 6d 65 30 17   e1...Firstname0.  
  0090:  04 02 63 6e 31 11 04 0f  46 69 72 73 74 20 54 65   ..cn1...First Te  
  00a0:  73 74 20 55 73 65 72 30  20 04 0b 64 69 73 70 6c   st User0 ..displ  
  00b0:  61 79 4e 61 6d 65 31 11  04 0f 46 69 72 73 74 20   ayName1...First   
  00c0:  54 65 73 74 20 55 73 65  72 30 12 04 09 75 69 64   Test User0...uid  
  00d0:  4e 75 6d 62 65 72 31 05  04 03 31 30 31 30 12 04   Number1...1010..  
  00e0:  09 67 69 64 4e 75 6d 62  65 72 31 05 04 03 31 30   .gidNumber1...10  
  00f0:  30 30 1e 04 0d 68 6f 6d  65 44 69 72 65 63 74 6f   00...homeDirecto  
  0100:  72 79 31 0d 04 0b 2f 68  6f 6d 65 2f 74 65 73 74   ry1.../home/test  
  0110:  31 30 1b 04 04 6d 61 69  6c 31 13 04 11 74 65 73   10...mail1...tes  
  0120:  74 31 40 65 78 61 6d 70  6c 65 2e 6e 65 74         t1@example.net    
ber_get_next: tag 0x30 len 306 contents:
ber_dump: buf=0x7f1364002710 ptr=0x7f1364002710 end=0x7f1364002842 len=306
  0000:  02 01 03 68 82 01 2b 04  1b 75 69 64 3d 74 65 73   ...h..+..uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 82 01 0a  30 2c 04 0b 6f 62 6a 65   =net0...0,..obje  
  0030:  63 74 43 6c 61 73 73 31  1d 04 0d 69 6e 65 74 4f   ctClass1...inetO  
  0040:  72 67 50 65 72 73 6f 6e  04 0c 70 6f 73 69 78 41   rgPerson..posixA  
  0050:  63 63 6f 75 6e 74 30 0e  04 03 75 69 64 31 07 04   ccount0...uid1..  
  0060:  05 74 65 73 74 31 30 10  04 02 73 6e 31 0a 04 08   .test10...sn1...  
  0070:  4c 61 73 74 6e 61 6d 65  30 18 04 09 67 69 76 65   Lastname0...give  
  0080:  6e 4e 61 6d 65 31 0b 04  09 46 69 72 73 74 6e 61   nName1...Firstna  
  0090:  6d 65 30 17 04 02 63 6e  31 11 04 0f 46 69 72 73   me0...cn1...Firs  
  00a0:  74 20 54 65 73 74 20 55  73 65 72 30 20 04 0b 64   t Test User0 ..d  
  00b0:  69 73 70 6c 61 79 4e 61  6d 65 31 11 04 0f 46 69   isplayName1...Fi  
  00c0:  72 73 74 20 54 65 73 74  20 55 73 65 72 30 12 04   rst Test User0..  
  00d0:  09 75 69 64 4e 75 6d 62  65 72 31 05 04 03 31 30   .uidNumber1...10  
  00e0:  31 30 12 04 09 67 69 64  4e 75 6d 62 65 72 31 05   10...gidNumber1.  
  00f0:  04 03 31 30 30 30 1e 04  0d 68 6f 6d 65 44 69 72   ..1000...homeDir  
  0100:  65 63 74 6f 72 79 31 0d  04 0b 2f 68 6f 6d 65 2f   ectory1.../home/  
  0110:  74 65 73 74 31 30 1b 04  04 6d 61 69 6c 31 13 04   test10...mail1..  
  0120:  11 74 65 73 74 31 40 65  78 61 6d 70 6c 65 2e 6e   .test1@example.n  
  0130:  65 74                                              et                
5ec3eabd op tag 0x68, time 1589897917
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabd conn=1001 op=2 do_add
ber_scanf fmt ({m) ber:
ber_dump: buf=0x7f1364002710 ptr=0x7f1364002713 end=0x7f1364002842 len=303
  0000:  68 82 01 2b 04 1b 75 69  64 3d 74 65 73 74 31 2c   h..+..uid=test1,  
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
  0010:  64 63 3d 65 78 61 6d 70  6c 65 2c 64 63 3d 6e 65   dc=example,dc=ne  
  0020:  74 30 82 01 0a 30 2c 04  0b 6f 62 6a 65 63 74 43   t0...0,..objectC  
  0030:  6c 61 73 73 31 1d 04 0d  69 6e 65 74 4f 72 67 50   lass1...inetOrgP  
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
  0040:  65 72 73 6f 6e 04 0c 70  6f 73 69 78 41 63 63 6f   erson..posixAcco  
  0050:  75 6e 74 30 0e 04 03 75  69 64 31 07 04 05 74 65   unt0...uid1...te  
  0060:  73 74 31 30 10 04 02 73  6e 31 0a 04 08 4c 61 73   st10...sn1...Las  
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0070:  74 6e 61 6d 65 30 18 04  09 67 69 76 65 6e 4e 61   tname0...givenNa  
  0080:  6d 65 31 0b 04 09 46 69  72 73 74 6e 61 6d 65 30   me1...Firstname0  
  0090:  17 04 02 63 6e 31 11 04  0f 46 69 72 73 74 20 54   ...cn1...First T  
  00a0:  65 73 74 20 55 73 65 72  30 20 04 0b 64 69 73 70   est User0 ..disp  
  00b0:  6c 61 79 4e 61 6d 65 31  11 04 0f 46 69 72 73 74   layName1...First  
  00c0:  20 54 65 73 74 20 55 73  65 72 30 12 04 09 75 69    Test User0...ui  
  00d0:  64 4e 75 6d 62 65 72 31  05 04 03 31 30 31 30 12   dNumber1...1010.  
  00e0:  04 09 67 69 64 4e 75 6d  62 65 72 31 05 04 03 31   ..gidNumber1...1  
  00f0:  30 30 30 1e 04 0d 68 6f  6d 65 44 69 72 65 63 74   000...homeDirect  
  0100:  6f 72 79 31 0d 04 0b 2f  68 6f 6d 65 2f 74 65 73   ory1.../home/tes  
  0110:  74 31 30 1b 04 04 6d 61  69 6c 31 13 04 11 74 65   t10...mail1...te  
  0120:  73 74 31 40 65 78 61 6d  70 6c 65 2e 6e 65 74      st1@example.net   
5ec3eabd conn=1001 op=2 do_add: dn (uid=test1,dc=example,dc=net)
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1364002710 ptr=0x7f1364002738 end=0x7f1364002842 len=266
  0000:  30 2c 04 0b 6f 62 6a 65  63 74 43 6c 61 73 73 31   0,..objectClass1  
  0010:  1d 04 0d 69 6e 65 74 4f  72 67 50 65 72 73 6f 6e   ...inetOrgPerson  
  0020:  04 0c 70 6f 73 69 78 41  63 63 6f 75 6e 74 30 0e   ..posixAccount0.  
  0030:  04 03 75 69 64 31 07 04  05 74 65 73 74 31 30 10   ..uid1...test10.  
  0040:  04 02 73 6e 31 0a 04 08  4c 61 73 74 6e 61 6d 65   ..sn1...Lastname  
  0050:  30 18 04 09 67 69 76 65  6e 4e 61 6d 65 31 0b 04   0...givenName1..  
  0060:  09 46 69 72 73 74 6e 61  6d 65 30 17 04 02 63 6e   .Firstname0...cn  
  0070:  31 11 04 0f 46 69 72 73  74 20 54 65 73 74 20 55   1...First Test U  
  0080:  73 65 72 30 20 04 0b 64  69 73 70 6c 61 79 4e 61   ser0 ..displayNa  
  0090:  6d 65 31 11 04 0f 46 69  72 73 74 20 54 65 73 74   me1...First Test  
  00a0:  20 55 73 65 72 30 12 04  09 75 69 64 4e 75 6d 62    User0...uidNumb  
  00b0:  65 72 31 05 04 03 31 30  31 30 12 04 09 67 69 64   er1...1010...gid  
  00c0:  4e 75 6d 62 65 72 31 05  04 03 31 30 30 30 1e 04   Number1...1000..  
  00d0:  0d 68 6f 6d 65 44 69 72  65 63 74 6f 72 79 31 0d   .homeDirectory1.  
  00e0:  04 0b 2f 68 6f 6d 65 2f  74 65 73 74 31 30 1b 04   ../home/test10..  
  00f0:  04 6d 61 69 6c 31 13 04  11 74 65 73 74 31 40 65   .mail1...test1@e  
  0100:  78 61 6d 70 6c 65 2e 6e  65 74                     xample.net        
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1364002710 ptr=0x7f1364002766 end=0x7f1364002842 len=220
  0000:  30 0e 04 03 75 69 64 31  07 04 05 74 65 73 74 31   0...uid1...test1  
  0010:  30 10 04 02 73 6e 31 0a  04 08 4c 61 73 74 6e 61   0...sn1...Lastna  
  0020:  6d 65 30 18 04 09 67 69  76 65 6e 4e 61 6d 65 31   me0...givenName1  
  0030:  0b 04 09 46 69 72 73 74  6e 61 6d 65 30 17 04 02   ...Firstname0...  
  0040:  63 6e 31 11 04 0f 46 69  72 73 74 20 54 65 73 74   cn1...First Test  
  0050:  20 55 73 65 72 30 20 04  0b 64 69 73 70 6c 61 79    User0 ..display  
  0060:  4e 61 6d 65 31 11 04 0f  46 69 72 73 74 20 54 65   Name1...First Te  
  0070:  73 74 20 55 73 65 72 30  12 04 09 75 69 64 4e 75   st User0...uidNu  
  0080:  6d 62 65 72 31 05 04 03  31 30 31 30 12 04 09 67   mber1...1010...g  
  0090:  69 64 4e 75 6d 62 65 72  31 05 04 03 31 30 30 30   idNumber1...1000  
  00a0:  1e 04 0d 68 6f 6d 65 44  69 72 65 63 74 6f 72 79   ...homeDirectory  
  00b0:  31 0d 04 0b 2f 68 6f 6d  65 2f 74 65 73 74 31 30   1.../home/test10  
  00c0:  1b 04 04 6d 61 69 6c 31  13 04 11 74 65 73 74 31   ...mail1...test1  
  00d0:  40 65 78 61 6d 70 6c 65  2e 6e 65 74               @example.net      
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1364002710 ptr=0x7f1364002776 end=0x7f1364002842 len=204
  0000:  30 10 04 02 73 6e 31 0a  04 08 4c 61 73 74 6e 61   0...sn1...Lastna  
  0010:  6d 65 30 18 04 09 67 69  76 65 6e 4e 61 6d 65 31   me0...givenName1  
  0020:  0b 04 09 46 69 72 73 74  6e 61 6d 65 30 17 04 02   ...Firstname0...  
  0030:  63 6e 31 11 04 0f 46 69  72 73 74 20 54 65 73 74   cn1...First Test  
  0040:  20 55 73 65 72 30 20 04  0b 64 69 73 70 6c 61 79    User0 ..display  
  0050:  4e 61 6d 65 31 11 04 0f  46 69 72 73 74 20 54 65   Name1...First Te  
  0060:  73 74 20 55 73 65 72 30  12 04 09 75 69 64 4e 75   st User0...uidNu  
  0070:  6d 62 65 72 31 05 04 03  31 30 31 30 12 04 09 67   mber1...1010...g  
  0080:  69 64 4e 75 6d 62 65 72  31 05 04 03 31 30 30 30   idNumber1...1000  
  0090:  1e 04 0d 68 6f 6d 65 44  69 72 65 63 74 6f 72 79   ...homeDirectory  
  00a0:  31 0d 04 0b 2f 68 6f 6d  65 2f 74 65 73 74 31 30   1.../home/test10  
  00b0:  1b 04 04 6d 61 69 6c 31  13 04 11 74 65 73 74 31   ...mail1...test1  
  00c0:  40 65 78 61 6d 70 6c 65  2e 6e 65 74               @example.net      
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1364002710 ptr=0x7f1364002788 end=0x7f1364002842 len=186
  0000:  30 18 04 09 67 69 76 65  6e 4e 61 6d 65 31 0b 04   0...givenName1..  
  0010:  09 46 69 72 73 74 6e 61  6d 65 30 17 04 02 63 6e   .Firstname0...cn  
  0020:  31 11 04 0f 46 69 72 73  74 20 54 65 73 74 20 55   1...First Test U  
  0030:  73 65 72 30 20 04 0b 64  69 73 70 6c 61 79 4e 61   ser0 ..displayNa  
  0040:  6d 65 31 11 04 0f 46 69  72 73 74 20 54 65 73 74   me1...First Test  
  0050:  20 55 73 65 72 30 12 04  09 75 69 64 4e 75 6d 62    User0...uidNumb  
  0060:  65 72 31 05 04 03 31 30  31 30 12 04 09 67 69 64   er1...1010...gid  
  0070:  4e 75 6d 62 65 72 31 05  04 03 31 30 30 30 1e 04   Number1...1000..  
  0080:  0d 68 6f 6d 65 44 69 72  65 63 74 6f 72 79 31 0d   .homeDirectory1.  
  0090:  04 0b 2f 68 6f 6d 65 2f  74 65 73 74 31 30 1b 04   ../home/test10..  
  00a0:  04 6d 61 69 6c 31 13 04  11 74 65 73 74 31 40 65   .mail1...test1@e  
  00b0:  78 61 6d 70 6c 65 2e 6e  65 74                     xample.net        
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1364002710 ptr=0x7f13640027a2 end=0x7f1364002842 len=160
  0000:  30 17 04 02 63 6e 31 11  04 0f 46 69 72 73 74 20   0...cn1...First   
  0010:  54 65 73 74 20 55 73 65  72 30 20 04 0b 64 69 73   Test User0 ..dis  
  0020:  70 6c 61 79 4e 61 6d 65  31 11 04 0f 46 69 72 73   playName1...Firs  
  0030:  74 20 54 65 73 74 20 55  73 65 72 30 12 04 09 75   t Test User0...u  
  0040:  69 64 4e 75 6d 62 65 72  31 05 04 03 31 30 31 30   idNumber1...1010  
  0050:  12 04 09 67 69 64 4e 75  6d 62 65 72 31 05 04 03   ...gidNumber1...  
  0060:  31 30 30 30 1e 04 0d 68  6f 6d 65 44 69 72 65 63   1000...homeDirec  
  0070:  74 6f 72 79 31 0d 04 0b  2f 68 6f 6d 65 2f 74 65   tory1.../home/te  
  0080:  73 74 31 30 1b 04 04 6d  61 69 6c 31 13 04 11 74   st10...mail1...t  
  0090:  65 73 74 31 40 65 78 61  6d 70 6c 65 2e 6e 65 74   est1@example.net  
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1364002710 ptr=0x7f13640027bb end=0x7f1364002842 len=135
  0000:  30 20 04 0b 64 69 73 70  6c 61 79 4e 61 6d 65 31   0 ..displayName1  
  0010:  11 04 0f 46 69 72 73 74  20 54 65 73 74 20 55 73   ...First Test Us  
  0020:  65 72 30 12 04 09 75 69  64 4e 75 6d 62 65 72 31   er0...uidNumber1  
  0030:  05 04 03 31 30 31 30 12  04 09 67 69 64 4e 75 6d   ...1010...gidNum  
  0040:  62 65 72 31 05 04 03 31  30 30 30 1e 04 0d 68 6f   ber1...1000...ho  
  0050:  6d 65 44 69 72 65 63 74  6f 72 79 31 0d 04 0b 2f   meDirectory1.../  
  0060:  68 6f 6d 65 2f 74 65 73  74 31 30 1b 04 04 6d 61   home/test10...ma  
  0070:  69 6c 31 13 04 11 74 65  73 74 31 40 65 78 61 6d   il1...test1@exam  
  0080:  70 6c 65 2e 6e 65 74                               ple.net           
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1364002710 ptr=0x7f13640027dd end=0x7f1364002842 len=101
  0000:  30 12 04 09 75 69 64 4e  75 6d 62 65 72 31 05 04   0...uidNumber1..  
  0010:  03 31 30 31 30 12 04 09  67 69 64 4e 75 6d 62 65   .1010...gidNumbe  
  0020:  72 31 05 04 03 31 30 30  30 1e 04 0d 68 6f 6d 65   r1...1000...home  
  0030:  44 69 72 65 63 74 6f 72  79 31 0d 04 0b 2f 68 6f   Directory1.../ho  
  0040:  6d 65 2f 74 65 73 74 31  30 1b 04 04 6d 61 69 6c   me/test10...mail  
  0050:  31 13 04 11 74 65 73 74  31 40 65 78 61 6d 70 6c   1...test1@exampl  
  0060:  65 2e 6e 65 74                                     e.net             
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1364002710 ptr=0x7f13640027f1 end=0x7f1364002842 len=81
  0000:  30 12 04 09 67 69 64 4e  75 6d 62 65 72 31 05 04   0...gidNumber1..  
  0010:  03 31 30 30 30 1e 04 0d  68 6f 6d 65 44 69 72 65   .1000...homeDire  
  0020:  63 74 6f 72 79 31 0d 04  0b 2f 68 6f 6d 65 2f 74   ctory1.../home/t  
  0030:  65 73 74 31 30 1b 04 04  6d 61 69 6c 31 13 04 11   est10...mail1...  
  0040:  74 65 73 74 31 40 65 78  61 6d 70 6c 65 2e 6e 65   test1@example.ne  
  0050:  74                                                 t                 
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1364002710 ptr=0x7f1364002805 end=0x7f1364002842 len=61
  0000:  30 1e 04 0d 68 6f 6d 65  44 69 72 65 63 74 6f 72   0...homeDirector  
  0010:  79 31 0d 04 0b 2f 68 6f  6d 65 2f 74 65 73 74 31   y1.../home/test1  
  0020:  30 1b 04 04 6d 61 69 6c  31 13 04 11 74 65 73 74   0...mail1...test  
  0030:  31 40 65 78 61 6d 70 6c  65 2e 6e 65 74            1@example.net     
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1364002710 ptr=0x7f1364002825 end=0x7f1364002842 len=29
  0000:  30 1b 04 04 6d 61 69 6c  31 13 04 11 74 65 73 74   0...mail1...test  
  0010:  31 40 65 78 61 6d 70 6c  65 2e 6e 65 74            1@example.net     
ber_scanf fmt (}) ber:
ber_dump: buf=0x7f1364002710 ptr=0x7f1364002842 end=0x7f1364002842 len=0

5ec3eabd >>> dnPrettyNormal: <uid=test1,dc=example,dc=net>
=> ldap_bv2dn(uid=test1,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
5ec3eabd <<< dnPrettyNormal: <uid=test1,dc=example,dc=net>, <uid=test1,dc=example,dc=net>
5ec3eabd ldif_read_file: no entry file "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabd ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabd => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabd >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabd <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabd >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabd >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabd <= str2entry(dc=example) -> 0x555a8ae71a08
5ec3eabd ldif_back_add: "uid=test1,dc=example,dc=net"
5ec3eabd oc_check_required entry (uid=test1,dc=example,dc=net), objectClass "inetOrgPerson"
5ec3eabd oc_check_required entry (uid=test1,dc=example,dc=net), objectClass "posixAccount"
5ec3eabd oc_check_allowed type "objectClass"
5ec3eabd oc_check_allowed type "uid"
5ec3eabd oc_check_allowed type "sn"
5ec3eabd oc_check_allowed type "givenName"
5ec3eabd oc_check_allowed type "cn"
5ec3eabd oc_check_allowed type "displayName"
5ec3eabd oc_check_allowed type "uidNumber"
5ec3eabd oc_check_allowed type "gidNumber"
5ec3eabd oc_check_allowed type "homeDirectory"
5ec3eabd oc_check_allowed type "mail"
5ec3eabd oc_check_allowed type "structuralObjectClass"
5ec3eabd ldif_read_file: entry file exists: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabd ldif_write_entry: wrote entry "uid=test1,dc=example,dc=net"
5ec3eabd ldif_back_add: err: 0 text: 
5ec3eabd send_ldap_result: conn=1001 op=2 p=3
5ec3eabd send_ldap_result: err=0 matched="" text=""
5ec3eabd send_ldap_response: msgid=3 tag=105 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 03 69 07 0a  01 00 04 00 04 00         0....i........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 03 69 07 0a  01 00 04 00 04 00         0....i........    
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on: 10r
5ec3eabd daemon: read active on 10
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd connection_get(10)
5ec3eabd connection_get(10): got connid=1001
5ec3eabd connection_read(10): checking for input on id=1001
ber_get_next
ldap_read: want=8, got=8
  0000:  30 82 01 34 02 01 04 68                            0..4...h          
ldap_read: want=304, got=304
  0000:  82 01 2d 04 1b 75 69 64  3d 74 65 73 74 32 2c 64   ..-..uid=test2,d  
  0010:  63 3d 65 78 61 6d 70 6c  65 2c 64 63 3d 6e 65 74   c=example,dc=net  
  0020:  30 82 01 0c 30 2c 04 0b  6f 62 6a 65 63 74 43 6c   0...0,..objectCl  
  0030:  61 73 73 31 1d 04 0d 69  6e 65 74 4f 72 67 50 65   ass1...inetOrgPe  
  0040:  72 73 6f 6e 04 0c 70 6f  73 69 78 41 63 63 6f 75   rson..posixAccou  
  0050:  6e 74 30 0e 04 03 75 69  64 31 07 04 05 74 65 73   nt0...uid1...tes  
  0060:  74 32 30 10 04 02 73 6e  31 0a 04 08 4c 61 73 74   t20...sn1...Last  
  0070:  6e 61 6d 65 30 18 04 09  67 69 76 65 6e 4e 61 6d   name0...givenNam  
  0080:  65 31 0b 04 09 46 69 72  73 74 6e 61 6d 65 30 18   e1...Firstname0.  
  0090:  04 02 63 6e 31 12 04 10  53 65 63 6f 6e 64 20 54   ..cn1...Second T  
  00a0:  65 73 74 20 55 73 65 72  30 21 04 0b 64 69 73 70   est User0!..disp  
  00b0:  6c 61 79 4e 61 6d 65 31  12 04 10 53 65 63 6f 6e   layName1...Secon  
  00c0:  64 20 54 65 73 74 20 55  73 65 72 30 12 04 09 75   d Test User0...u  
  00d0:  69 64 4e 75 6d 62 65 72  31 05 04 03 31 30 32 30   idNumber1...1020  
  00e0:  12 04 09 67 69 64 4e 75  6d 62 65 72 31 05 04 03   ...gidNumber1...  
  00f0:  31 30 30 30 1e 04 0d 68  6f 6d 65 44 69 72 65 63   1000...homeDirec  
  0100:  74 6f 72 79 31 0d 04 0b  2f 68 6f 6d 65 2f 74 65   tory1.../home/te  
  0110:  73 74 32 30 1b 04 04 6d  61 69 6c 31 13 04 11 74   st20...mail1...t  
  0120:  65 73 74 32 40 65 78 61  6d 70 6c 65 2e 6e 65 74   est2@example.net  
ber_get_next: tag 0x30 len 308 contents:
ber_dump: buf=0x7f1360105df0 ptr=0x7f1360105df0 end=0x7f1360105f24 len=308
  0000:  02 01 04 68 82 01 2d 04  1b 75 69 64 3d 74 65 73   ...h..-..uid=tes  
  0010:  74 32 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t2,dc=example,dc  
  0020:  3d 6e 65 74 30 82 01 0c  30 2c 04 0b 6f 62 6a 65   =net0...0,..obje  
  0030:  63 74 43 6c 61 73 73 31  1d 04 0d 69 6e 65 74 4f   ctClass1...inetO  
  0040:  72 67 50 65 72 73 6f 6e  04 0c 70 6f 73 69 78 41   rgPerson..posixA  
  0050:  63 63 6f 75 6e 74 30 0e  04 03 75 69 64 31 07 04   ccount0...uid1..  
  0060:  05 74 65 73 74 32 30 10  04 02 73 6e 31 0a 04 08   .test20...sn1...  
  0070:  4c 61 73 74 6e 61 6d 65  30 18 04 09 67 69 76 65   Lastname0...give  
  0080:  6e 4e 61 6d 65 31 0b 04  09 46 69 72 73 74 6e 61   nName1...Firstna  
  0090:  6d 65 30 18 04 02 63 6e  31 12 04 10 53 65 63 6f   me0...cn1...Seco  
  00a0:  6e 64 20 54 65 73 74 20  55 73 65 72 30 21 04 0b   nd Test User0!..  
  00b0:  64 69 73 70 6c 61 79 4e  61 6d 65 31 12 04 10 53   displayName1...S  
  00c0:  65 63 6f 6e 64 20 54 65  73 74 20 55 73 65 72 30   econd Test User0  
  00d0:  12 04 09 75 69 64 4e 75  6d 62 65 72 31 05 04 03   ...uidNumber1...  
  00e0:  31 30 32 30 12 04 09 67  69 64 4e 75 6d 62 65 72   1020...gidNumber  
  00f0:  31 05 04 03 31 30 30 30  1e 04 0d 68 6f 6d 65 44   1...1000...homeD  
  0100:  69 72 65 63 74 6f 72 79  31 0d 04 0b 2f 68 6f 6d   irectory1.../hom  
  0110:  65 2f 74 65 73 74 32 30  1b 04 04 6d 61 69 6c 31   e/test20...mail1  
  0120:  13 04 11 74 65 73 74 32  40 65 78 61 6d 70 6c 65   ...test2@example  
  0130:  2e 6e 65 74                                        .net              
5ec3eabd op tag 0x68, time 1589897917
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabd conn=1001 op=3 do_add
ber_scanf fmt ({m) ber:
ber_dump: buf=0x7f1360105df0 ptr=0x7f1360105df3 end=0x7f1360105f24 len=305
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:  0000:  68 82 01 2d 04 1b 75 69  64 3d 74 65 73 74 32 2c   h..-..uid=test2,  
  0010:  64 63 3d 65 78 61 6d 70  6c 65 2c 64 63 3d 6e 65   dc=example,dc=ne  
  0020:  74 30 82 01 0c 30 2c 04  0b 6f 62 6a 65 63 74 43   t0...0,..objectC  

  0030:  6c 61 73 73 31 1d 04 0d  69 6e 65 74 4f 72 67 50   lass1...inetOrgP  
  0040:  65 72 73 6f 6e 04 0c 70  6f 73 69 78 41 63 63 6f   erson..posixAcco  
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
  0050:  75 6e 74 30 0e 04 03 75  69 64 31 07 04 05 74 65   unt0...uid1...te  
  0060:  73 74 32 30 10 04 02 73  6e 31 0a 04 08 4c 61 73   st20...sn1...Las  
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
  0070:  74 6e 61 6d 65 30 18 04  09 67 69 76 65 6e 4e 61   tname0...givenNa  
  0080:  6d 65 31 0b 04 09 46 69  72 73 74 6e 61 6d 65 30   me1...Firstname0  
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
  0090:  18 04 02 63 6e 31 12 04  10 53 65 63 6f 6e 64 20   ...cn1...Second   
  00a0:  54 65 73 74 20 55 73 65  72 30 21 04 0b 64 69 73   Test User0!..dis  
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
  00b0:  70 6c 61 79 4e 61 6d 65  31 12 04 10 53 65 63 6f   playName1...Seco  
  00c0:  6e 64 20 54 65 73 74 20  55 73 65 72 30 12 04 09   nd Test User0...  
  00d0:  75 69 64 4e 75 6d 62 65  72 31 05 04 03 31 30 32   uidNumber1...102  
  00e0:  30 12 04 09 67 69 64 4e  75 6d 62 65 72 31 05 04   0...gidNumber1..  
  00f0:  03 31 30 30 30 1e 04 0d  68 6f 6d 65 44 69 72 65   .1000...homeDire  
  0100:  63 74 6f 72 79 31 0d 04  0b 2f 68 6f 6d 65 2f 74   ctory1.../home/t  
  0110:  65 73 74 32 30 1b 04 04  6d 61 69 6c 31 13 04 11   est20...mail1...  
  0120:  74 65 73 74 32 40 65 78  61 6d 70 6c 65 2e 6e 65   test2@example.ne  
  0130:  74                                                 t                 
5ec3eabd conn=1001 op=3 do_add: dn (uid=test2,dc=example,dc=net)
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1360105df0 ptr=0x7f1360105e18 end=0x7f1360105f24 len=268
  0000:  30 2c 04 0b 6f 62 6a 65  63 74 43 6c 61 73 73 31   0,..objectClass1  
  0010:  1d 04 0d 69 6e 65 74 4f  72 67 50 65 72 73 6f 6e   ...inetOrgPerson  
  0020:  04 0c 70 6f 73 69 78 41  63 63 6f 75 6e 74 30 0e   ..posixAccount0.  
  0030:  04 03 75 69 64 31 07 04  05 74 65 73 74 32 30 10   ..uid1...test20.  
  0040:  04 02 73 6e 31 0a 04 08  4c 61 73 74 6e 61 6d 65   ..sn1...Lastname  
  0050:  30 18 04 09 67 69 76 65  6e 4e 61 6d 65 31 0b 04   0...givenName1..  
  0060:  09 46 69 72 73 74 6e 61  6d 65 30 18 04 02 63 6e   .Firstname0...cn  
  0070:  31 12 04 10 53 65 63 6f  6e 64 20 54 65 73 74 20   1...Second Test   
  0080:  55 73 65 72 30 21 04 0b  64 69 73 70 6c 61 79 4e   User0!..displayN  
  0090:  61 6d 65 31 12 04 10 53  65 63 6f 6e 64 20 54 65   ame1...Second Te  
  00a0:  73 74 20 55 73 65 72 30  12 04 09 75 69 64 4e 75   st User0...uidNu  
  00b0:  6d 62 65 72 31 05 04 03  31 30 32 30 12 04 09 67   mber1...1020...g  
  00c0:  69 64 4e 75 6d 62 65 72  31 05 04 03 31 30 30 30   idNumber1...1000  
  00d0:  1e 04 0d 68 6f 6d 65 44  69 72 65 63 74 6f 72 79   ...homeDirectory  
  00e0:  31 0d 04 0b 2f 68 6f 6d  65 2f 74 65 73 74 32 30   1.../home/test20  
  00f0:  1b 04 04 6d 61 69 6c 31  13 04 11 74 65 73 74 32   ...mail1...test2  
  0100:  40 65 78 61 6d 70 6c 65  2e 6e 65 74               @example.net      
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1360105df0 ptr=0x7f1360105e46 end=0x7f1360105f24 len=222
  0000:  30 0e 04 03 75 69 64 31  07 04 05 74 65 73 74 32   0...uid1...test2  
  0010:  30 10 04 02 73 6e 31 0a  04 08 4c 61 73 74 6e 61   0...sn1...Lastna  
  0020:  6d 65 30 18 04 09 67 69  76 65 6e 4e 61 6d 65 31   me0...givenName1  
  0030:  0b 04 09 46 69 72 73 74  6e 61 6d 65 30 18 04 02   ...Firstname0...  
  0040:  63 6e 31 12 04 10 53 65  63 6f 6e 64 20 54 65 73   cn1...Second Tes  
  0050:  74 20 55 73 65 72 30 21  04 0b 64 69 73 70 6c 61   t User0!..displa  
  0060:  79 4e 61 6d 65 31 12 04  10 53 65 63 6f 6e 64 20   yName1...Second   
  0070:  54 65 73 74 20 55 73 65  72 30 12 04 09 75 69 64   Test User0...uid  
  0080:  4e 75 6d 62 65 72 31 05  04 03 31 30 32 30 12 04   Number1...1020..  
  0090:  09 67 69 64 4e 75 6d 62  65 72 31 05 04 03 31 30   .gidNumber1...10  
  00a0:  30 30 1e 04 0d 68 6f 6d  65 44 69 72 65 63 74 6f   00...homeDirecto  
  00b0:  72 79 31 0d 04 0b 2f 68  6f 6d 65 2f 74 65 73 74   ry1.../home/test  
  00c0:  32 30 1b 04 04 6d 61 69  6c 31 13 04 11 74 65 73   20...mail1...tes  
  00d0:  74 32 40 65 78 61 6d 70  6c 65 2e 6e 65 74         t2@example.net    
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1360105df0 ptr=0x7f1360105e56 end=0x7f1360105f24 len=206
  0000:  30 10 04 02 73 6e 31 0a  04 08 4c 61 73 74 6e 61   0...sn1...Lastna  
  0010:  6d 65 30 18 04 09 67 69  76 65 6e 4e 61 6d 65 31   me0...givenName1  
  0020:  0b 04 09 46 69 72 73 74  6e 61 6d 65 30 18 04 02   ...Firstname0...  
  0030:  63 6e 31 12 04 10 53 65  63 6f 6e 64 20 54 65 73   cn1...Second Tes  
  0040:  74 20 55 73 65 72 30 21  04 0b 64 69 73 70 6c 61   t User0!..displa  
  0050:  79 4e 61 6d 65 31 12 04  10 53 65 63 6f 6e 64 20   yName1...Second   
  0060:  54 65 73 74 20 55 73 65  72 30 12 04 09 75 69 64   Test User0...uid  
  0070:  4e 75 6d 62 65 72 31 05  04 03 31 30 32 30 12 04   Number1...1020..  
  0080:  09 67 69 64 4e 75 6d 62  65 72 31 05 04 03 31 30   .gidNumber1...10  
  0090:  30 30 1e 04 0d 68 6f 6d  65 44 69 72 65 63 74 6f   00...homeDirecto  
  00a0:  72 79 31 0d 04 0b 2f 68  6f 6d 65 2f 74 65 73 74   ry1.../home/test  
  00b0:  32 30 1b 04 04 6d 61 69  6c 31 13 04 11 74 65 73   20...mail1...tes  
  00c0:  74 32 40 65 78 61 6d 70  6c 65 2e 6e 65 74         t2@example.net    
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1360105df0 ptr=0x7f1360105e68 end=0x7f1360105f24 len=188
  0000:  30 18 04 09 67 69 76 65  6e 4e 61 6d 65 31 0b 04   0...givenName1..  
  0010:  09 46 69 72 73 74 6e 61  6d 65 30 18 04 02 63 6e   .Firstname0...cn  
  0020:  31 12 04 10 53 65 63 6f  6e 64 20 54 65 73 74 20   1...Second Test   
  0030:  55 73 65 72 30 21 04 0b  64 69 73 70 6c 61 79 4e   User0!..displayN  
  0040:  61 6d 65 31 12 04 10 53  65 63 6f 6e 64 20 54 65   ame1...Second Te  
  0050:  73 74 20 55 73 65 72 30  12 04 09 75 69 64 4e 75   st User0...uidNu  
  0060:  6d 62 65 72 31 05 04 03  31 30 32 30 12 04 09 67   mber1...1020...g  
  0070:  69 64 4e 75 6d 62 65 72  31 05 04 03 31 30 30 30   idNumber1...1000  
  0080:  1e 04 0d 68 6f 6d 65 44  69 72 65 63 74 6f 72 79   ...homeDirectory  
  0090:  31 0d 04 0b 2f 68 6f 6d  65 2f 74 65 73 74 32 30   1.../home/test20  
  00a0:  1b 04 04 6d 61 69 6c 31  13 04 11 74 65 73 74 32   ...mail1...test2  
  00b0:  40 65 78 61 6d 70 6c 65  2e 6e 65 74               @example.net      
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1360105df0 ptr=0x7f1360105e82 end=0x7f1360105f24 len=162
  0000:  30 18 04 02 63 6e 31 12  04 10 53 65 63 6f 6e 64   0...cn1...Second  
  0010:  20 54 65 73 74 20 55 73  65 72 30 21 04 0b 64 69    Test User0!..di  
  0020:  73 70 6c 61 79 4e 61 6d  65 31 12 04 10 53 65 63   splayName1...Sec  
  0030:  6f 6e 64 20 54 65 73 74  20 55 73 65 72 30 12 04   ond Test User0..  
  0040:  09 75 69 64 4e 75 6d 62  65 72 31 05 04 03 31 30   .uidNumber1...10  
  0050:  32 30 12 04 09 67 69 64  4e 75 6d 62 65 72 31 05   20...gidNumber1.  
  0060:  04 03 31 30 30 30 1e 04  0d 68 6f 6d 65 44 69 72   ..1000...homeDir  
  0070:  65 63 74 6f 72 79 31 0d  04 0b 2f 68 6f 6d 65 2f   ectory1.../home/  
  0080:  74 65 73 74 32 30 1b 04  04 6d 61 69 6c 31 13 04   test20...mail1..  
  0090:  11 74 65 73 74 32 40 65  78 61 6d 70 6c 65 2e 6e   .test2@example.n  
  00a0:  65 74                                              et                
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1360105df0 ptr=0x7f1360105e9c end=0x7f1360105f24 len=136
  0000:  30 21 04 0b 64 69 73 70  6c 61 79 4e 61 6d 65 31   0!..displayName1  
  0010:  12 04 10 53 65 63 6f 6e  64 20 54 65 73 74 20 55   ...Second Test U  
  0020:  73 65 72 30 12 04 09 75  69 64 4e 75 6d 62 65 72   ser0...uidNumber  
  0030:  31 05 04 03 31 30 32 30  12 04 09 67 69 64 4e 75   1...1020...gidNu  
  0040:  6d 62 65 72 31 05 04 03  31 30 30 30 1e 04 0d 68   mber1...1000...h  
  0050:  6f 6d 65 44 69 72 65 63  74 6f 72 79 31 0d 04 0b   omeDirectory1...  
  0060:  2f 68 6f 6d 65 2f 74 65  73 74 32 30 1b 04 04 6d   /home/test20...m  
  0070:  61 69 6c 31 13 04 11 74  65 73 74 32 40 65 78 61   ail1...test2@exa  
  0080:  6d 70 6c 65 2e 6e 65 74                            mple.net          
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1360105df0 ptr=0x7f1360105ebf end=0x7f1360105f24 len=101
  0000:  30 12 04 09 75 69 64 4e  75 6d 62 65 72 31 05 04   0...uidNumber1..  
  0010:  03 31 30 32 30 12 04 09  67 69 64 4e 75 6d 62 65   .1020...gidNumbe  
  0020:  72 31 05 04 03 31 30 30  30 1e 04 0d 68 6f 6d 65   r1...1000...home  
  0030:  44 69 72 65 63 74 6f 72  79 31 0d 04 0b 2f 68 6f   Directory1.../ho  
  0040:  6d 65 2f 74 65 73 74 32  30 1b 04 04 6d 61 69 6c   me/test20...mail  
  0050:  31 13 04 11 74 65 73 74  32 40 65 78 61 6d 70 6c   1...test2@exampl  
  0060:  65 2e 6e 65 74                                     e.net             
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1360105df0 ptr=0x7f1360105ed3 end=0x7f1360105f24 len=81
  0000:  30 12 04 09 67 69 64 4e  75 6d 62 65 72 31 05 04   0...gidNumber1..  
  0010:  03 31 30 30 30 1e 04 0d  68 6f 6d 65 44 69 72 65   .1000...homeDire  
  0020:  63 74 6f 72 79 31 0d 04  0b 2f 68 6f 6d 65 2f 74   ctory1.../home/t  
  0030:  65 73 74 32 30 1b 04 04  6d 61 69 6c 31 13 04 11   est20...mail1...  
  0040:  74 65 73 74 32 40 65 78  61 6d 70 6c 65 2e 6e 65   test2@example.ne  
  0050:  74                                                 t                 
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1360105df0 ptr=0x7f1360105ee7 end=0x7f1360105f24 len=61
  0000:  30 1e 04 0d 68 6f 6d 65  44 69 72 65 63 74 6f 72   0...homeDirector  
  0010:  79 31 0d 04 0b 2f 68 6f  6d 65 2f 74 65 73 74 32   y1.../home/test2  
  0020:  30 1b 04 04 6d 61 69 6c  31 13 04 11 74 65 73 74   0...mail1...test  
  0030:  32 40 65 78 61 6d 70 6c  65 2e 6e 65 74            2@example.net     
ber_scanf fmt ({m{W}}) ber:
ber_dump: buf=0x7f1360105df0 ptr=0x7f1360105f07 end=0x7f1360105f24 len=29
  0000:  30 1b 04 04 6d 61 69 6c  31 13 04 11 74 65 73 74   0...mail1...test  
  0010:  32 40 65 78 61 6d 70 6c  65 2e 6e 65 74            2@example.net     
ber_scanf fmt (}) ber:
ber_dump: buf=0x7f1360105df0 ptr=0x7f1360105f24 end=0x7f1360105f24 len=0

5ec3eabd >>> dnPrettyNormal: <uid=test2,dc=example,dc=net>
=> ldap_bv2dn(uid=test2,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test2,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2,dc=example,dc=net)=0 
5ec3eabd <<< dnPrettyNormal: <uid=test2,dc=example,dc=net>, <uid=test2,dc=example,dc=net>
5ec3eabd ldif_read_file: no entry file "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eabd ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabd => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabd >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabd <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabd >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabd >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabd <= str2entry(dc=example) -> 0x555a8ae71a08
5ec3eabd ldif_back_add: "uid=test2,dc=example,dc=net"
5ec3eabd oc_check_required entry (uid=test2,dc=example,dc=net), objectClass "inetOrgPerson"
5ec3eabd oc_check_required entry (uid=test2,dc=example,dc=net), objectClass "posixAccount"
5ec3eabd oc_check_allowed type "objectClass"
5ec3eabd oc_check_allowed type "uid"
5ec3eabd oc_check_allowed type "sn"
5ec3eabd oc_check_allowed type "givenName"
5ec3eabd oc_check_allowed type "cn"
5ec3eabd oc_check_allowed type "displayName"
5ec3eabd oc_check_allowed type "uidNumber"
5ec3eabd oc_check_allowed type "gidNumber"
5ec3eabd oc_check_allowed type "homeDirectory"
5ec3eabd oc_check_allowed type "mail"
5ec3eabd oc_check_allowed type "structuralObjectClass"
5ec3eabd ldif_write_entry: wrote entry "uid=test2,dc=example,dc=net"
5ec3eabd ldif_back_add: err: 0 text: 
5ec3eabd send_ldap_result: conn=1001 op=3 p=3
5ec3eabd send_ldap_result: err=0 matched="" text=""
5ec3eabd send_ldap_response: msgid=4 tag=105 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 04 69 07 0a  01 00 04 00 04 00         0....i........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 04 69 07 0a  01 00 04 00 04 00         0....i........    
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on: 10r
5ec3eabd daemon: read active on 10
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
adding new entry "dc=example,dc=net"

adding new entry "uid=test1,dc=example,dc=net"

adding new entry "uid=test2,dc=example,dc=net"

5ec3eabd connection_get(10)
5ec3eabd connection_get(10): got connid=1001
5ec3eabd connection_read(10): checking for input on id=1001
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 05 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1364002ab0 ptr=0x7f1364002ab0 end=0x7f1364002ab5 len=5
  0000:  02 01 05 42 00                                     ...B.             
5ec3eabd op tag 0x42, time 1589897917
ber_get_next
ldap_read: want=8, got=0

5ec3eabd ber_get_next on fd 10 failed errno=0 (Success)
5ec3eabd connection_read(10): input error=-2 id=1001, closing.
5ec3eabd connection_closing: readying conn=1001 sd=10 for close
5ec3eabd connection_close: deferring conn=1001 sd=10
5ec3eabd conn=1001 op=4 do_unbind
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
# Running: ldappasswd -x -y /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/ldappassword -s secret1 uid=test1,dc=example,dc=net
5ec3eabd connection_resched: attempting closing conn=1001 sd=10
5ec3eabd connection_close: conn=1001 sd=10
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: removing 10
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
5ec3eabd slap_listener_activate(6): 
5ec3eabd daemon: epoll: listen=6 busy
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd >>> slap_listener(ldap://localhost:56118)
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd daemon: accept() = 10
5ec3eabd daemon: listen=6, new connection on 10
5ec3eabd daemon: added 10r (active) listener=(nil)
5ec3eabd daemon: activity on 2 descriptors
5ec3eabd daemon: activity on: 10r
5ec3eabd daemon: read active on 10
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd connection_get(10)
5ec3eabd connection_get(10): got connid=1002
5ec3eabd connection_read(10): checking for input on id=1002
ber_get_next
ldap_read: want=8, got=8
  0000:  30 2e 02 01 01 60 29 02                            0....`).          
ldap_read: want=40, got=40
  0000:  01 03 04 1c 63 6e 3d 4d  61 6e 61 67 65 72 2c 64   ....cn=Manager,d  
  0010:  63 3d 65 78 61 6d 70 6c  65 2c 64 63 3d 6e 65 74   c=example,dc=net  
  0020:  80 06 73 65 63 72 65 74                            ..secret          
ber_get_next: tag 0x30 len 46 contents:
ber_dump: buf=0x7f1364001e00 ptr=0x7f1364001e00 end=0x7f1364001e2e len=46
  0000:  02 01 01 60 29 02 01 03  04 1c 63 6e 3d 4d 61 6e   ...`).....cn=Man  
  0010:  61 67 65 72 2c 64 63 3d  65 78 61 6d 70 6c 65 2c   ager,dc=example,  
  0020:  64 63 3d 6e 65 74 80 06  73 65 63 72 65 74         dc=net..secret    
5ec3eabd op tag 0x60, time 1589897917
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabd conn=1002 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1364001e00 ptr=0x7f1364001e03 end=0x7f1364001e2e len=43
  0000:  60 29 02 01 03 04 1c 63  6e 3d 4d 61 6e 61 67 65   `).....cn=Manage  
  0010:  72 2c 64 63 3d 65 78 61  6d 70 6c 65 2c 64 63 3d   r,dc=example,dc=  
  0020:  6e 65 74 80 06 73 65 63  72 65 74                  net..secret       
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1364001e00 ptr=0x7f1364001e26 end=0x7f1364001e2e len=8
  0000:  00 06 73 65 63 72 65 74                            ..secret          
5ec3eabd >>> dnPrettyNormal: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd <<< dnPrettyNormal: <cn=Manager,dc=example,dc=net>, <cn=manager,dc=example,dc=net>
5ec3eabd do_bind: version=3 dn="cn=Manager,dc=example,dc=net" method=128
5ec3eabd conn=1002 op=0: rootdn="cn=Manager,dc=example,dc=net" bind succeeded
5ec3eabd do_bind: v3 bind: "cn=Manager,dc=example,dc=net" to "cn=Manager,dc=example,dc=net"
5ec3eabd send_ldap_result: conn=1002 op=0 p=3
5ec3eabd send_ldap_result: err=0 matched="" text=""
5ec3eabd send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on: 10r
5ec3eabd daemon: read active on 10
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd connection_get(10)
5ec3eabd connection_get(10): got connid=1002
5ec3eabd connection_read(10): checking for input on id=1002
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
ber_get_next
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
ldap_read: want=8, got=8
  0000:  30 48 02 01 02 77 43 80                            0H...wC.          
ldap_read: want=66, got=66
  0000:  17 31 2e 33 2e 36 2e 31  2e 34 2e 31 2e 34 32 30   .1.3.6.1.4.1.420  
  0010:  33 2e 31 2e 31 31 2e 31  81 28 30 26 80 1b 75 69   3.1.11.1.(0&..ui  
  0020:  64 3d 74 65 73 74 31 2c  64 63 3d 65 78 61 6d 70   d=test1,dc=examp  
  0030:  6c 65 2c 64 63 3d 6e 65  74 82 07 73 65 63 72 65   le,dc=net..secre  
  0040:  74 31                                              t1                
ber_get_next: tag 0x30 len 72 contents:
ber_dump: buf=0x7f1364103750 ptr=0x7f1364103750 end=0x7f1364103798 len=72
  0000:  02 01 02 77 43 80 17 31  2e 33 2e 36 2e 31 2e 34   ...wC..1.3.6.1.4  
  0010:  2e 31 2e 34 32 30 33 2e  31 2e 31 31 2e 31 81 28   .1.4203.1.11.1.(  
  0020:  30 26 80 1b 75 69 64 3d  74 65 73 74 31 2c 64 63   0&..uid=test1,dc  
  0030:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 82   =example,dc=net.  
  0040:  07 73 65 63 72 65 74 31                            .secret1          
5ec3eabd op tag 0x77, time 1589897917
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabd conn=1002 op=1 do_extended
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
ber_scanf fmt ({m) ber:
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
ber_dump: buf=0x7f1364103750 ptr=0x7f1364103753 end=0x7f1364103798 len=69
  0000:  77 43 80 17 31 2e 33 2e  36 2e 31 2e 34 2e 31 2e   wC..1.3.6.1.4.1.  
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0010:  34 32 30 33 2e 31 2e 31  31 2e 31 81 28 30 26 80   4203.1.11.1.(0&.  
  0020:  1b 75 69 64 3d 74 65 73  74 31 2c 64 63 3d 65 78   .uid=test1,dc=ex  
  0030:  61 6d 70 6c 65 2c 64 63  3d 6e 65 74 82 07 73 65   ample,dc=net..se  
  0040:  63 72 65 74 31                                     cret1             
ber_scanf fmt (m) ber:
ber_dump: buf=0x7f1364103750 ptr=0x7f136410376e end=0x7f1364103798 len=42
  0000:  00 28 30 26 80 1b 75 69  64 3d 74 65 73 74 31 2c   .(0&..uid=test1,  
  0010:  64 63 3d 65 78 61 6d 70  6c 65 2c 64 63 3d 6e 65   dc=example,dc=ne  
  0020:  74 82 07 73 65 63 72 65  74 31                     t..secret1        
5ec3eabd do_extended: oid=1.3.6.1.4.1.4203.1.11.1
5ec3eabd >>> dnPrettyNormal: <uid=test1,dc=example,dc=net>
=> ldap_bv2dn(uid=test1,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
5ec3eabd <<< dnPrettyNormal: <uid=test1,dc=example,dc=net>, <uid=test1,dc=example,dc=net>
5ec3eabd ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabd => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 0d69ea0a
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.388814Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabd >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eabd <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eabd >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabd >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabd <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eabd ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabd => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 0d69ea0a
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.388814Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabd >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eabd <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eabd >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabd >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabd <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eabd <= acl_access_allowed: granted to database root
5ec3eabd oc_check_required entry (uid=test1,dc=example,dc=net), objectClass "inetOrgPerson"
5ec3eabd oc_check_required entry (uid=test1,dc=example,dc=net), objectClass "posixAccount"
5ec3eabd oc_check_allowed type "objectClass"
5ec3eabd oc_check_allowed type "uid"
5ec3eabd oc_check_allowed type "sn"
5ec3eabd oc_check_allowed type "givenName"
5ec3eabd oc_check_allowed type "cn"
5ec3eabd oc_check_allowed type "displayName"
5ec3eabd oc_check_allowed type "uidNumber"
5ec3eabd oc_check_allowed type "gidNumber"
5ec3eabd oc_check_allowed type "homeDirectory"
5ec3eabd oc_check_allowed type "mail"
5ec3eabd oc_check_allowed type "structuralObjectClass"
5ec3eabd oc_check_allowed type "entryUUID"
5ec3eabd oc_check_allowed type "creatorsName"
5ec3eabd oc_check_allowed type "createTimestamp"
5ec3eabd oc_check_allowed type "userPassword"
5ec3eabd oc_check_allowed type "entryCSN"
5ec3eabd oc_check_allowed type "modifiersName"
5ec3eabd oc_check_allowed type "modifyTimestamp"
5ec3eabd ldif_write_entry: wrote entry "uid=test1,dc=example,dc=net"
5ec3eabd send_ldap_result: conn=1002 op=1 p=3
5ec3eabd send_ldap_result: err=0 matched="" text=""
5ec3eabd send_ldap_extended: err=0 oid= len=0
5ec3eabd send_ldap_response: msgid=2 tag=120 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 78 07 0a  01 00 04 00 04 00         0....x........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 78 07 0a  01 00 04 00 04 00         0....x........    
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on: 10r
5ec3eabd daemon: read active on 10
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd connection_get(10)
5ec3eabd connection_get(10): got connid=1002
5ec3eabd connection_read(10): checking for input on id=1002
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1360106680 ptr=0x7f1360106680 end=0x7f1360106685 len=5
  0000:  02 01 03 42 00                                     ...B.             
5ec3eabd op tag 0x42, time 1589897917
ber_get_next
ldap_read: want=8, got=0

5ec3eabd ber_get_next on fd 10 failed errno=0 (Success)
5ec3eabd connection_read(10): input error=-2 id=1002, closing.
5ec3eabd connection_closing: readying conn=1002 sd=10 for close
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd connection_close: deferring conn=1002 sd=10
5ec3eabd conn=1002 op=2 do_unbind
5ec3eabd connection_resched: attempting closing conn=1002 sd=10
5ec3eabd connection_close: conn=1002 sd=10
5ec3eabd daemon: removing 10
# Running: ldappasswd -x -y /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/ldappassword -s secret2 uid=test2,dc=example,dc=net
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
5ec3eabd slap_listener_activate(6): 
5ec3eabd daemon: epoll: listen=6 busy
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd >>> slap_listener(ldap://localhost:56118)
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd daemon: accept() = 10
5ec3eabd daemon: listen=6, new connection on 10
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd daemon: added 10r (active) listener=(nil)
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on: 10r
5ec3eabd daemon: read active on 10
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd connection_get(10)
5ec3eabd connection_get(10): got connid=1003
5ec3eabd connection_read(10): checking for input on id=1003
ber_get_next
ldap_read: want=8, got=8
  0000:  30 2e 02 01 01 60 29 02                            0....`).          
ldap_read: want=40, got=40
  0000:  01 03 04 1c 63 6e 3d 4d  61 6e 61 67 65 72 2c 64   ....cn=Manager,d  
  0010:  63 3d 65 78 61 6d 70 6c  65 2c 64 63 3d 6e 65 74   c=example,dc=net  
  0020:  80 06 73 65 63 72 65 74                            ..secret          
ber_get_next: tag 0x30 len 46 contents:
ber_dump: buf=0x7f1364000ff0 ptr=0x7f1364000ff0 end=0x7f136400101e len=46
  0000:  02 01 01 60 29 02 01 03  04 1c 63 6e 3d 4d 61 6e   ...`).....cn=Man  
  0010:  61 67 65 72 2c 64 63 3d  65 78 61 6d 70 6c 65 2c   ager,dc=example,  
  0020:  64 63 3d 6e 65 74 80 06  73 65 63 72 65 74         dc=net..secret    
5ec3eabd op tag 0x60, time 1589897917
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabd conn=1003 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1364000ff0 ptr=0x7f1364000ff3 end=0x7f136400101e len=43
  0000:  60 29 02 01 03 04 1c 63  6e 3d 4d 61 6e 61 67 65   `).....cn=Manage  
  0010:  72 2c 64 63 3d 65 78 61  6d 70 6c 65 2c 64 63 3d   r,dc=example,dc=  
  0020:  6e 65 74 80 06 73 65 63  72 65 74                  net..secret       
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1364000ff0 ptr=0x7f1364001016 end=0x7f136400101e len=8
  0000:  00 06 73 65 63 72 65 74                            ..secret          
5ec3eabd >>> dnPrettyNormal: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd <<< dnPrettyNormal: <cn=Manager,dc=example,dc=net>, <cn=manager,dc=example,dc=net>
5ec3eabd do_bind: version=3 dn="cn=Manager,dc=example,dc=net" method=128
5ec3eabd conn=1003 op=0: rootdn="cn=Manager,dc=example,dc=net" bind succeeded
5ec3eabd do_bind: v3 bind: "cn=Manager,dc=example,dc=net" to "cn=Manager,dc=example,dc=net"
5ec3eabd send_ldap_result: conn=1003 op=0 p=3
5ec3eabd send_ldap_result: err=0 matched="" text=""
5ec3eabd send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on: 10r
5ec3eabd daemon: read active on 10
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd connection_get(10)
5ec3eabd connection_get(10): got connid=1003
5ec3eabd connection_read(10): checking for input on id=1003
ber_get_next
ldap_read: want=8, got=8
  0000:  30 48 02 01 02 77 43 80                            0H...wC.          
ldap_read: want=66, got=66
  0000:  17 31 2e 33 2e 36 2e 31  2e 34 2e 31 2e 34 32 30   .1.3.6.1.4.1.420  
  0010:  33 2e 31 2e 31 31 2e 31  81 28 30 26 80 1b 75 69   3.1.11.1.(0&..ui  
  0020:  64 3d 74 65 73 74 32 2c  64 63 3d 65 78 61 6d 70   d=test2,dc=examp  
  0030:  6c 65 2c 64 63 3d 6e 65  74 82 07 73 65 63 72 65   le,dc=net..secre  
  0040:  74 32                                              t2                
ber_get_next: tag 0x30 len 72 contents:
ber_dump: buf=0x7f1360106f40 ptr=0x7f1360106f40 end=0x7f1360106f88 len=72
  0000:  02 01 02 77 43 80 17 31  2e 33 2e 36 2e 31 2e 34   ...wC..1.3.6.1.4  
  0010:  2e 31 2e 34 32 30 33 2e  31 2e 31 31 2e 31 81 28   .1.4203.1.11.1.(  
  0020:  30 26 80 1b 75 69 64 3d  74 65 73 74 32 2c 64 63   0&..uid=test2,dc  
  0030:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 82   =example,dc=net.  
  0040:  07 73 65 63 72 65 74 32                            .secret2          
5ec3eabd op tag 0x77, time 1589897917
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabd conn=1003 op=1 do_extended
ber_scanf fmt ({m) ber:
ber_dump: buf=0x7f1360106f40 ptr=0x7f1360106f43 end=0x7f1360106f88 len=69
  0000:  77 43 80 17 31 2e 33 2e  36 2e 31 2e 34 2e 31 2e   wC..1.3.6.1.4.1.  
  0010:  34 32 30 33 2e 31 2e 31  31 2e 31 81 28 30 26 80   4203.1.11.1.(0&.  
  0020:  1b 75 69 64 3d 74 65 73  74 32 2c 64 63 3d 65 78   .uid=test2,dc=ex  
  0030:  61 6d 70 6c 65 2c 64 63  3d 6e 65 74 82 07 73 65   ample,dc=net..se  
  0040:  63 72 65 74 32                                     cret2             
ber_scanf fmt (m) ber:
ber_dump: buf=0x7f1360106f40 ptr=0x7f1360106f5e end=0x7f1360106f88 len=42
  0000:  00 28 30 26 80 1b 75 69  64 3d 74 65 73 74 32 2c   .(0&..uid=test2,  
  0010:  64 63 3d 65 78 61 6d 70  6c 65 2c 64 63 3d 6e 65   dc=example,dc=ne  
  0020:  74 82 07 73 65 63 72 65  74 32                     t..secret2        
5ec3eabd do_extended: oid=1.3.6.1.4.1.4203.1.11.1
5ec3eabd >>> dnPrettyNormal: <uid=test2,dc=example,dc=net>
=> ldap_bv2dn(uid=test2,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test2,dc=example,dc=net)=0 
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2,dc=example,dc=net)=0 
=> ldap_dn2bv(272)

5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
<= ldap_dn2bv(uid=test2,dc=example,dc=net)=0 
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd <<< dnPrettyNormal: <uid=test2,dc=example,dc=net>, <uid=test2,dc=example,dc=net>
5ec3eabd ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eabd => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 b5caffd1
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.391105Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabd >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eabd <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eabd >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabd >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabd <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eabd ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eabd => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 b5caffd1
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.391105Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabd >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eabd <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eabd >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabd >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabd <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabd <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eabd <= acl_access_allowed: granted to database root
5ec3eabd oc_check_required entry (uid=test2,dc=example,dc=net), objectClass "inetOrgPerson"
5ec3eabd oc_check_required entry (uid=test2,dc=example,dc=net), objectClass "posixAccount"
5ec3eabd oc_check_allowed type "objectClass"
5ec3eabd oc_check_allowed type "uid"
5ec3eabd oc_check_allowed type "sn"
5ec3eabd oc_check_allowed type "givenName"
5ec3eabd oc_check_allowed type "cn"
5ec3eabd oc_check_allowed type "displayName"
5ec3eabd oc_check_allowed type "uidNumber"
5ec3eabd oc_check_allowed type "gidNumber"
5ec3eabd oc_check_allowed type "homeDirectory"
5ec3eabd oc_check_allowed type "mail"
5ec3eabd oc_check_allowed type "structuralObjectClass"
5ec3eabd oc_check_allowed type "entryUUID"
5ec3eabd oc_check_allowed type "creatorsName"
5ec3eabd oc_check_allowed type "createTimestamp"
5ec3eabd oc_check_allowed type "userPassword"
5ec3eabd oc_check_allowed type "entryCSN"
5ec3eabd oc_check_allowed type "modifiersName"
5ec3eabd oc_check_allowed type "modifyTimestamp"
5ec3eabd ldif_write_entry: wrote entry "uid=test2,dc=example,dc=net"
5ec3eabd send_ldap_result: conn=1003 op=1 p=3
5ec3eabd send_ldap_result: err=0 matched="" text=""
5ec3eabd send_ldap_extended: err=0 oid= len=0
5ec3eabd send_ldap_response: msgid=2 tag=120 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 78 07 0a  01 00 04 00 04 00         0....x........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 78 07 0a  01 00 04 00 04 00         0....x........    
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on: 10r
5ec3eabd daemon: read active on 10
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabd connection_get(10)
5ec3eabd connection_get(10): got connid=1003
5ec3eabd connection_read(10): checking for input on id=1003
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f13641041d0 ptr=0x7f13641041d0 end=0x7f13641041d5 len=5
  0000:  02 01 03 42 00                                     ...B.             
5ec3eabd op tag 0x42, time 1589897917
ber_get_next
ldap_read: want=8, got=0

5ec3eabd ber_get_next on fd 10 failed errno=0 (Success)
5ec3eabd connection_read(10): input error=-2 id=1003, closing.
5ec3eabd connection_closing: readying conn=1003 sd=10 for close
5ec3eabd connection_close: deferring conn=1003 sd=10
5ec3eabd conn=1003 op=2 do_unbind
5ec3eabd connection_resched: attempting closing conn=1003 sd=10
5ec3eabd connection_close: conn=1003 sd=10
5ec3eabd daemon: removing 10
5ec3eabd daemon: activity on 1 descriptor
5ec3eabd daemon: activity on:
5ec3eabd daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabd daemon: epoll: listen=9 active_threads=0 tvp=NULL
# setting up PostgreSQL instance
# Checking port 56120
# Found port 56120
Name: node
Data directory: /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata
Backup directory: /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/backup
Archive directory: /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/archives
Connection string: port=56120 host=/tmp/qF7PL2JeOG
Log file: /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/log/001_auth_node.log
# Running: initdb -D /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata -A trust -N
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
The files belonging to this database system will be owned by user "myon".
This user must also own the server process.

The database cluster will be initialized with locales
  COLLATE:  en_US.utf8
  CTYPE:    en_US.utf8
  MESSAGES: C
  MONETARY: en_US.utf8
  NUMERIC:  en_US.utf8
  TIME:     en_US.utf8
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

creating directory /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... CET
creating configuration files ... ok
running bootstrap script ... gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
ok
performing post-bootstrap initialization ... gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
ok

Sync to disk skipped.
The data directory might become corrupt if the operating system crashes.

Success. You can now start the database server using:

    pg_ctl -D '/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata' -l logfile start

# Running: /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/../../../src/test/regress/pg_regress --config-auth /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata
### Starting node "node"
# Running: pg_ctl -D /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata -l /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/log/001_auth_node.log -o --cluster-name=node start
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
waiting for server to start.... done
server started
# Postmaster PID for node "node" is 25678
#### Begin standard error
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
#### End standard error
#### Begin standard error
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
#### End standard error
#### Begin standard error
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
#### End standard error
# running tests
# simple bind
### Restarting node "node"
# Running: pg_ctl -D /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata -l /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/log/001_auth_node.log restart
waiting for server to shut down.... done
server stopped
waiting for server to start.... done
server started
# Postmaster PID for node "node" is 25695
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eabe daemon: activity on 1 descriptor
5ec3eabe daemon: activity on:
5ec3eabe slap_listener_activate(6): 
5ec3eabe daemon: epoll: listen=6 busy
5ec3eabe >>> slap_listener(ldap://localhost:56118)
5ec3eabe daemon: accept() = 10
5ec3eabe daemon: listen=6, new connection on 10
5ec3eabe daemon: added 10r (active) listener=(nil)
5ec3eabe daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabe daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabe daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabe daemon: activity on 2 descriptors
5ec3eabe daemon: activity on: 10r
5ec3eabe daemon: read active on 10
5ec3eabe daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabe connection_get(10)
5ec3eabe daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabe daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabe daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabe connection_get(10): got connid=1004
5ec3eabe connection_read(10): checking for input on id=1004
ber_get_next
ldap_read: want=8, got=8
  0000:  30 2c 02 01 01 60 27 02                            0,...`'.          
ldap_read: want=38, got=38
  0000:  01 03 04 1b 75 69 64 3d  74 65 73 74 30 2c 64 63   ....uid=test0,dc  
  0010:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 80   =example,dc=net.  
  0020:  05 77 72 6f 6e 67                                  .wrong            
ber_get_next: tag 0x30 len 44 contents:
ber_dump: buf=0x7f1364001da0 ptr=0x7f1364001da0 end=0x7f1364001dcc len=44
  0000:  02 01 01 60 27 02 01 03  04 1b 75 69 64 3d 74 65   ...`'.....uid=te  
  0010:  73 74 30 2c 64 63 3d 65  78 61 6d 70 6c 65 2c 64   st0,dc=example,d  
  0020:  63 3d 6e 65 74 80 05 77  72 6f 6e 67               c=net..wrong      
5ec3eabe op tag 0x60, time 1589897918
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabe conn=1004 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1364001da0 ptr=0x7f1364001da3 end=0x7f1364001dcc len=41
  0000:  60 27 02 01 03 04 1b 75  69 64 3d 74 65 73 74 30   `'.....uid=test0  
  0010:  2c 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   ,dc=example,dc=n  
  0020:  65 74 80 05 77 72 6f 6e  67                        et..wrong         
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1364001da0 ptr=0x7f1364001dc5 end=0x7f1364001dcc len=7
  0000:  00 05 77 72 6f 6e 67                               ..wrong           
5ec3eabe >>> dnPrettyNormal: <uid=test0,dc=example,dc=net>
=> ldap_bv2dn(uid=test0,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test0,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test0,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test0,dc=example,dc=net)=0 
5ec3eabe <<< dnPrettyNormal: <uid=test0,dc=example,dc=net>, <uid=test0,dc=example,dc=net>
5ec3eabe do_bind: version=3 dn="uid=test0,dc=example,dc=net" method=128
5ec3eabe ldif_read_file: no entry file "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test0.ldif"
5ec3eabe send_ldap_result: conn=1004 op=0 p=3
5ec3eabe send_ldap_result: err=49 matched="" text=""
5ec3eabe daemon: activity on 1 descriptor
5ec3eabe daemon: activity on:5ec3eabe send_ldap_response: msgid=1 tag=97 err=49
ber_flush2: 14 bytes to sd 10

  0000:  30 0c 02 01 01 61 07 0a  01 31 04 00 04 00         0....a...1....    
5ec3eabe daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabe daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabe daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabe daemon: epoll: listen=9 active_threads=0 tvp=NULL
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 31 04 00 04 00         0....a...1....    
5ec3eabe daemon: activity on 1 descriptor
5ec3eabe daemon: activity on: 10r
5ec3eabe daemon: read active on 10
5ec3eabe daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabe daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabe daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabe daemon: epoll: listen=9 active_threads=0 tvp=NULL
psql: error: 5ec3eabe connection_get(10)
could not connect to server: FATAL:  LDAP authentication failed for user "test0"
5ec3eabe connection_get(10): got connid=1004
5ec3eabe connection_read(10): checking for input on id=1004
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1360103180 ptr=0x7f1360103180 end=0x7f1360103185 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eabe op tag 0x42, time 1589897918
ber_get_next
ldap_read: want=8, got=0

5ec3eabe ber_get_next on fd 10 failed errno=0 (Success)
5ec3eabe connection_read(10): input error=-2 id=1004, closing.
5ec3eabe connection_closing: readying conn=1004 sd=10 for close
5ec3eabe connection_close: deferring conn=1004 sd=10
5ec3eabe conn=1004 op=1 do_unbind
5ec3eabe connection_resched: attempting closing conn=1004 sd=10
5ec3eabe connection_close: conn=1004 sd=10
5ec3eabe daemon: removing 10
5ec3eabe daemon: activity on 1 descriptor
5ec3eabe daemon: activity on:
5ec3eabe daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabe daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabe daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabe daemon: epoll: listen=9 active_threads=0 tvp=NULL
ok 1 - simple bind authentication fails if user not found in LDAP
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf slap_listener_activate(6): 
5ec3eabf daemon: epoll: listen=6 busy
5ec3eabf >>> slap_listener(ldap://localhost:56118)
5ec3eabf daemon: accept() = 10
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: listen=6, new connection on 10
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: added 10r (active) listener=(nil)
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 2 descriptors
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1005
5ec3eabf connection_read(10): checking for input on id=1005
ber_get_next
ldap_read: want=8, got=8
  0000:  30 2c 02 01 01 60 27 02                            0,...`'.          
ldap_read: want=38, got=38
  0000:  01 03 04 1b 75 69 64 3d  74 65 73 74 31 2c 64 63   ....uid=test1,dc  
  0010:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 80   =example,dc=net.  
  0020:  05 77 72 6f 6e 67                                  .wrong            
ber_get_next: tag 0x30 len 44 contents:
ber_dump: buf=0x7f13601069a0 ptr=0x7f13601069a0 end=0x7f13601069cc len=44
  0000:  02 01 01 60 27 02 01 03  04 1b 75 69 64 3d 74 65   ...`'.....uid=te  
  0010:  73 74 31 2c 64 63 3d 65  78 61 6d 70 6c 65 2c 64   st1,dc=example,d  
  0020:  63 3d 6e 65 74 80 05 77  72 6f 6e 67               c=net..wrong      
5ec3eabf op tag 0x60, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1005 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f13601069a0 ptr=0x7f13601069a3 end=0x7f13601069cc len=41
  0000:  60 27 02 01 03 04 1b 75  69 64 3d 74 65 73 74 31   `'.....uid=test1  
  0010:  2c 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   ,dc=example,dc=n  
  0020:  65 74 80 05 77 72 6f 6e  67                        et..wrong         
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f13601069a0 ptr=0x7f13601069c5 end=0x7f13601069cc len=7
  0000:  00 05 77 72 6f 6e 67                               ..wrong           
5ec3eabf >>> dnPrettyNormal: <uid=test1,dc=example,dc=net>
=> ldap_bv2dn(uid=test1,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1,dc=example,dc=net>, <uid=test1,dc=example,dc=net>
5ec3eabf do_bind: version=3 dn="uid=test1,dc=example,dc=net" method=128
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eabf => access_allowed: result not in cache (userPassword)
5ec3eabf => access_allowed: auth access to "uid=test1,dc=example,dc=net" "userPassword" requested
5ec3eabf => acl_get: [1] attr userPassword
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "userPassword" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: auth access granted by read(=rscxd)
5ec3eabf => access_allowed: auth access granted by read(=rscxd)
5ec3eabf send_ldap_result: conn=1005 op=0 p=3
5ec3eabf send_ldap_result: err=49 matched="" text=""
5ec3eabf send_ldap_response: msgid=1 tag=97 err=49
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 31 04 00 04 00         0....a...1....    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 31 04 00 04 00         0....a...1....    
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
psql:5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
 error: could not connect to server: FATAL:  LDAP authentication failed for user "test1"
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1005
5ec3eabf connection_read(10): checking for input on id=1005
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1364002250 ptr=0x7f1364002250 end=0x7f1364002255 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eabf op tag 0x42, time 1589897919
ber_get_next
ldap_read: want=8, got=0

5ec3eabf ber_get_next on fd 10 failed errno=0 (Success)
5ec3eabf connection_read(10): input error=-2 id=1005, closing.
5ec3eabf connection_closing: readying conn=1005 sd=10 for close
5ec3eabf connection_close: deferring conn=1005 sd=10
5ec3eabf conn=1005 op=1 do_unbind
5ec3eabf connection_resched: attempting closing conn=1005 sd=10
5ec3eabf connection_close: conn=1005 sd=10
5ec3eabf daemon: removing 10
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
ok 2 - simple bind authentication fails with wrong password
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf slap_listener_activate(6): 
5ec3eabf daemon: epoll: listen=6 busy
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf >>> slap_listener(ldap://localhost:56118)
5ec3eabf daemon: accept() = 10
5ec3eabf daemon: listen=6, new connection on 10
5ec3eabf daemon: added 10r (active) listener=(nil)
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1006
5ec3eabf connection_read(10): checking for input on id=1006
ber_get_next
ldap_read: want=8, got=8
  0000:  30 2e 02 01 01 60 29 02                            0....`).          
ldap_read: want=40, got=40
  0000:  01 03 04 1b 75 69 64 3d  74 65 73 74 31 2c 64 63   ....uid=test1,dc  
  0010:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 80   =example,dc=net.  
  0020:  07 73 65 63 72 65 74 31                            .secret1          
ber_get_next: tag 0x30 len 46 contents:
ber_dump: buf=0x7f1364001da0 ptr=0x7f1364001da0 end=0x7f1364001dce len=46
  0000:  02 01 01 60 29 02 01 03  04 1b 75 69 64 3d 74 65   ...`).....uid=te  
  0010:  73 74 31 2c 64 63 3d 65  78 61 6d 70 6c 65 2c 64   st1,dc=example,d  
  0020:  63 3d 6e 65 74 80 07 73  65 63 72 65 74 31         c=net..secret1    
5ec3eabf op tag 0x60, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1006 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1364001da0 ptr=0x7f1364001da3 end=0x7f1364001dce len=43
  0000:  60 29 02 01 03 04 1b 75  69 64 3d 74 65 73 74 31   `).....uid=test1  
  0010:  2c 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   ,dc=example,dc=n  
  0020:  65 74 80 07 73 65 63 72  65 74 31                  et..secret1       
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1364001da0 ptr=0x7f1364001dc5 end=0x7f1364001dce len=9
  0000:  00 07 73 65 63 72 65 74  31                        ..secret1         
5ec3eabf >>> dnPrettyNormal: <uid=test1,dc=example,dc=net>
=> ldap_bv2dn(uid=test1,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1,dc=example,dc=net>, <uid=test1,dc=example,dc=net>
5ec3eabf do_bind: version=3 dn="uid=test1,dc=example,dc=net" method=128
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eabf => access_allowed: result not in cache (userPassword)
5ec3eabf => access_allowed: auth access to "uid=test1,dc=example,dc=net" "userPassword" requested
5ec3eabf => acl_get: [1] attr userPassword
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "userPassword" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: auth access granted by read(=rscxd)
5ec3eabf => access_allowed: auth access granted by read(=rscxd)
5ec3eabf do_bind: v3 bind: "uid=test1,dc=example,dc=net" to "uid=test1,dc=example,dc=net"
5ec3eabf send_ldap_result: conn=1006 op=0 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1006
5ec3eabf connection_read(10): checking for input on id=1006
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1360103b60 ptr=0x7f1360103b60 end=0x7f1360103b65 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eabf op tag 0x42, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1006 op=1 do_unbind
5ec3eabf connection_closing: readying conn=1006 sd=10 for close
5ec3eabf connection_resched: attempting closing conn=1006 sd=10
5ec3eabf connection_close: conn=1006 sd=10
5ec3eabf daemon: removing 10
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
1
ok 3 - simple bind authentication succeeds
# search+bind
### Restarting node "node"
# Running: pg_ctl -D /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata -l /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/log/001_auth_node.log restart
waiting for server to shut down.... done
server stopped
waiting for server to start.... done
server started
# Postmaster PID for node "node" is 25712
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf slap_listener_activate(6): 
5ec3eabf daemon: epoll: listen=6 busy
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf >>> slap_listener(ldap://localhost:56118)
5ec3eabf daemon: accept() = 10
5ec3eabf daemon: listen=6, new connection on 10
5ec3eabf daemon: added 10r (active) listener=(nil)
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1007
5ec3eabf connection_read(10): checking for input on id=1007
ber_get_next
ldap_read: want=8, got=8
  0000:  30 0c 02 01 01 60 07 02                            0....`..          
ldap_read: want=6, got=6
  0000:  01 03 04 00 80 00                                  ......            
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf=0x7f1360103b10 ptr=0x7f1360103b10 end=0x7f1360103b1c len=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........      
5ec3eabf op tag 0x60, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1007 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1360103b10 ptr=0x7f1360103b13 end=0x7f1360103b1c len=9
  0000:  60 07 02 01 03 04 00 80  00                        `........         
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1360103b10 ptr=0x7f1360103b1a end=0x7f1360103b1c len=2
  0000:  00 00                                              ..                
5ec3eabf >>> dnPrettyNormal: <>
5ec3eabf <<< dnPrettyNormal: <>, <>
5ec3eabf do_bind: version=3 dn="" method=128
5ec3eabf send_ldap_result: conn=1007 op=0 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eabf do_bind: v3 anonymous bind
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1007
5ec3eabf connection_read(10): checking for input on id=1007
ber_get_next
ldap_read: want=8, got=8
  0000:  30 3c 02 01 02 63 37 04                            0<...c7.          
ldap_read: want=54, got=54
  0000:  11 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   .dc=example,dc=n  
  0010:  65 74 0a 01 02 0a 01 00  02 01 00 02 01 00 01 01   et..............  
  0020:  00 a3 0c 04 03 75 69 64  04 05 74 65 73 74 30 30   .....uid..test00  
  0030:  05 04 03 31 2e 31                                  ...1.1            
ber_get_next: tag 0x30 len 60 contents:
ber_dump: buf=0x7f1364105b10 ptr=0x7f1364105b10 end=0x7f1364105b4c len=60
  0000:  02 01 02 63 37 04 11 64  63 3d 65 78 61 6d 70 6c   ...c7..dc=exampl  
  0010:  65 2c 64 63 3d 6e 65 74  0a 01 02 0a 01 00 02 01   e,dc=net........  
  0020:  00 02 01 00 01 01 00 a3  0c 04 03 75 69 64 04 05   ...........uid..  
  0030:  74 65 73 74 30 30 05 04  03 31 2e 31               test00...1.1      
5ec3eabf op tag 0x63, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1007 op=1 do_search
ber_scanf fmt ({miiiib) ber:
ber_dump: buf=0x7f1364105b10 ptr=0x7f1364105b13 end=0x7f1364105b4c len=57
  0000:  63 37 04 11 64 63 3d 65  78 61 6d 70 6c 65 2c 64   c7..dc=example,d  
  0010:  63 3d 6e 65 74 0a 01 02  0a 01 00 02 01 00 02 01   c=net...........  
  0020:  00 01 01 00 a3 0c 04 03  75 69 64 04 05 74 65 73   ........uid..tes  
  0030:  74 30 30 05 04 03 31 2e  31                        t00...1.1         
5ec3eabf >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eabf SRCH "dc=example,dc=net" 2 0    0 0 0
5ec3eabf begin get_filter
5ec3eabf EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1364105b10 ptr=0x7f1364105b37 end=0x7f1364105b4c len=21
  0000:  a3 0c 04 03 75 69 64 04  05 74 65 73 74 30 30 05   ....uid..test00.  
  0010:  04 03 31 2e 31                                     ..1.1             
5ec3eabf end get_filter 0
5ec3eabf     filter: (uid=test0)
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x7f1364105b10 ptr=0x7f1364105b45 end=0x7f1364105b4c len=7
  0000:  00 05 04 03 31 2e 31                               ....1.1           
5ec3eabf     attrs: 1.1
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eabf ==> limits_get: conn=1007 op=1 self="[anonymous]" this="dc=example,dc=net"
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "uid=test1,dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "uid=test2,dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf send_ldap_result: conn=1007 op=1 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1007
5ec3eabf connection_read(10): checking for input on id=1007
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1360103b10 ptr=0x7f1360103b10 end=0x7f1360103b15 len=5
  0000:  02 01 03 42 00                                     ...B.             
5ec3eabf op tag 0x42, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1007 op=2 do_unbind
5ec3eabf connection_closing: readying conn=1007 sd=10 for close
5ec3eabf connection_resched: attempting closing conn=1007 sd=10
5ec3eabf connection_close: conn=1007 sd=10
5ec3eabf daemon: removing 10
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
psql: error: could not connect to server: FATAL:  LDAP authentication failed for user "test0"
ok 4 - search+bind authentication fails if user not found in LDAP
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf slap_listener_activate(6): 
5ec3eabf daemon: epoll: listen=6 busy
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf >>> slap_listener(ldap://localhost:56118)
5ec3eabf daemon: accept() = 10
5ec3eabf daemon: listen=6, new connection on 10
5ec3eabf daemon: added 10r (active) listener=(nil)
5ec3eabf daemon: activity on 2 descriptors
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1008
5ec3eabf connection_read(10): checking for input on id=1008
ber_get_next
ldap_read: want=8, got=8
  0000:  30 0c 02 01 01 60 07 02                            0....`..          
ldap_read: want=6, got=6
  0000:  01 03 04 00 80 00                                  ......            
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf=0x7f1364001090 ptr=0x7f1364001090 end=0x7f136400109c len=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........      
5ec3eabf op tag 0x60, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1008 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1364001090 ptr=0x7f1364001093 end=0x7f136400109c len=9
  0000:  60 07 02 01 03 04 00 80  00                        `........         
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1364001090 ptr=0x7f136400109a end=0x7f136400109c len=2
  0000:  00 00                                              ..                
5ec3eabf >>> dnPrettyNormal: <>
5ec3eabf <<< dnPrettyNormal: <>, <>
5ec3eabf do_bind: version=3 dn="" method=128
5ec3eabf send_ldap_result: conn=1008 op=0 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eabf do_bind: v3 anonymous bind
5ec3eabf daemon: activity on 2 descriptors
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1008
5ec3eabf connection_read(10): checking for input on id=1008
ber_get_next
ldap_read: want=8, got=8
  0000:  30 3c 02 01 02 63 37 04                            0<...c7.          
ldap_read: want=54, got=54
  0000:  11 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   .dc=example,dc=n  
  0010:  65 74 0a 01 02 0a 01 00  02 01 00 02 01 00 01 01   et..............  
  0020:  00 a3 0c 04 03 75 69 64  04 05 74 65 73 74 31 30   .....uid..test10  
  0030:  05 04 03 31 2e 31                                  ...1.1            
ber_get_next: tag 0x30 len 60 contents:
ber_dump: buf=0x7f1364105be0 ptr=0x7f1364105be0 end=0x7f1364105c1c len=60
  0000:  02 01 02 63 37 04 11 64  63 3d 65 78 61 6d 70 6c   ...c7..dc=exampl  
  0010:  65 2c 64 63 3d 6e 65 74  0a 01 02 0a 01 00 02 01   e,dc=net........  
  0020:  00 02 01 00 01 01 00 a3  0c 04 03 75 69 64 04 05   ...........uid..  
  0030:  74 65 73 74 31 30 05 04  03 31 2e 31               test10...1.1      
5ec3eabf op tag 0x63, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1008 op=1 do_search
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:ber_scanf fmt ({miiiib) ber:
ber_dump: buf=0x7f1364105be0 ptr=0x7f1364105be3 end=0x7f1364105c1c len=57

5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
  0000:  63 37 04 11 64 63 3d 65  78 61 6d 70 6c 65 2c 64   c7..dc=example,d  
  0010:  63 3d 6e 65 74 0a 01 02  0a 01 00 02 01 00 02 01   c=net...........  
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0020:  00 01 01 00 a3 0c 04 03  75 69 64 04 05 74 65 73   ........uid..tes  
  0030:  74 31 30 05 04 03 31 2e  31                        t10...1.1         
5ec3eabf >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eabf SRCH "dc=example,dc=net" 2 0    0 0 0
5ec3eabf begin get_filter
5ec3eabf EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1364105be0 ptr=0x7f1364105c07 end=0x7f1364105c1c len=21
  0000:  a3 0c 04 03 75 69 64 04  05 74 65 73 74 31 30 05   ....uid..test10.  
  0010:  04 03 31 2e 31                                     ..1.1             
5ec3eabf end get_filter 0
5ec3eabf     filter: (uid=test1)
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x7f1364105be0 ptr=0x7f1364105c15 end=0x7f1364105c1c len=7
  0000:  00 05 04 03 31 2e 31                               ....1.1           
5ec3eabf     attrs: 1.1
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eabf ==> limits_get: conn=1008 op=1 self="[anonymous]" this="dc=example,dc=net"
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "uid=test1,dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 6
5ec3eabf => send_search_entry: conn 1008 dn="uid=test1,dc=example,dc=net"
5ec3eabf => access_allowed: read access to "uid=test1,dc=example,dc=net" "entry" requested
5ec3eabf => acl_get: [1] attr entry
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "entry" requested
5ec3eabf => acl_mask: to all values by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: read access granted by read(=rscxd)
5ec3eabf => access_allowed: read access granted by read(=rscxd)
ber_flush2: 38 bytes to sd 10
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
ldap_write: want=38, written=38
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
5ec3eabf <= send_search_entry: conn 1008 exit.
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "uid=test2,dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf send_ldap_result: conn=1008 op=1 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1008
5ec3eabf connection_read(10): checking for input on id=1008
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1364001090 ptr=0x7f1364001090 end=0x7f1364001095 len=5
  0000:  02 01 03 42 00                                     ...B.             
5ec3eabf op tag 0x42, time 1589897919
ber_get_next
ldap_read: want=8, got=0

5ec3eabf ber_get_next on fd 10 failed errno=0 (Success)
5ec3eabf connection_read(10): input error=-2 id=1008, closing.
5ec3eabf connection_closing: readying conn=1008 sd=10 for close
5ec3eabf connection_close: deferring conn=1008 sd=10
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf conn=1008 op=2 do_unbind
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_resched: attempting closing conn=1008 sd=10
5ec3eabf connection_close: conn=1008 sd=10
5ec3eabf daemon: removing 10
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf slap_listener_activate(6): 
5ec3eabf daemon: epoll: listen=6 busy
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf >>> slap_listener(ldap://localhost:56118)
5ec3eabf daemon: accept() = 10
5ec3eabf daemon: listen=6, new connection on 10
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: added 10r (active) listener=(nil)
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf connection_get(10): got connid=1009
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_read(10): checking for input on id=1009
ber_get_next
ldap_read: want=8, got=8
  0000:  30 2c 02 01 01 60 27 02                            0,...`'.          
ldap_read: want=38, got=38
  0000:  01 03 04 1b 75 69 64 3d  74 65 73 74 31 2c 64 63   ....uid=test1,dc  
  0010:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 80   =example,dc=net.  
  0020:  05 77 72 6f 6e 67                                  .wrong            
ber_get_next: tag 0x30 len 44 contents:
ber_dump: buf=0x7f1360103a10 ptr=0x7f1360103a10 end=0x7f1360103a3c len=44
  0000:  02 01 01 60 27 02 01 03  04 1b 75 69 64 3d 74 65   ...`'.....uid=te  
  0010:  73 74 31 2c 64 63 3d 65  78 61 6d 70 6c 65 2c 64   st1,dc=example,d  
  0020:  63 3d 6e 65 74 80 05 77  72 6f 6e 67               c=net..wrong      
5ec3eabf op tag 0x60, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1009 op=0 do_bind
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1360103a10 ptr=0x7f1360103a13 end=0x7f1360103a3c len=41
  0000:  60 27 02 01 03 04 1b 75  69 64 3d 74 65 73 74 31   `'.....uid=test1  
  0010:  2c 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   ,dc=example,dc=n  
  0020:  65 74 80 05 77 72 6f 6e  67                        et..wrong         

ber_scanf fmt (m}) ber:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
ber_dump: buf=0x7f1360103a10 ptr=0x7f1360103a35 end=0x7f1360103a3c len=7
  0000:  00 05 77 72 6f 6e 67                               ..wrong           
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf >>> dnPrettyNormal: <uid=test1,dc=example,dc=net>
=> ldap_bv2dn(uid=test1,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test1,dc=example,dc=net)=0 
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1,dc=example,dc=net>, <uid=test1,dc=example,dc=net>
5ec3eabf do_bind: version=3 dn="uid=test1,dc=example,dc=net" method=128
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eabf => access_allowed: result not in cache (userPassword)
5ec3eabf => access_allowed: auth access to "uid=test1,dc=example,dc=net" "userPassword" requested
5ec3eabf => acl_get: [1] attr userPassword
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "userPassword" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: auth access granted by read(=rscxd)
5ec3eabf => access_allowed: auth access granted by read(=rscxd)
5ec3eabf send_ldap_result: conn=1009 op=0 p=3
5ec3eabf send_ldap_result: err=49 matched="" text=""
5ec3eabf send_ldap_response: msgid=1 tag=97 err=49
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 31 04 00 04 00         0....a...1....    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 31 04 00 04 00         0....a...1....    
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1009
5ec3eabf connection_read(10): checking for input on id=1009
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1364104230 ptr=0x7f1364104230 end=0x7f1364104235 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eabf op tag 0x42, time 1589897919
ber_get_next
ldap_read: want=8, got=0

5ec3eabf ber_get_next on fd 10 failed errno=0 (Success)
5ec3eabf connection_read(10): input error=-2 id=1009, closing.
5ec3eabf connection_closing: readying conn=1009 sd=10 for close
5ec3eabf connection_close: deferring conn=1009 sd=10
5ec3eabf conn=1009 op=1 do_unbind
5ec3eabf connection_resched: attempting closing conn=1009 sd=10
5ec3eabf connection_close: conn=1009 sd=10
5ec3eabf daemon: removing 10
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
psql: error: could not connect to server: FATAL:  LDAP authentication failed for user "test1"
ok 5 - search+bind authentication fails with wrong password
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf slap_listener_activate(6): 
5ec3eabf daemon: epoll: listen=6 busy
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf >>> slap_listener(ldap://localhost:56118)
5ec3eabf daemon: accept() = 10
5ec3eabf daemon: listen=6, new connection on 10
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: added 10r (active) listener=(nil)
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf connection_get(10)
connection_get(10): got connid=1010
5ec3eabf connection_read(10): checking for input on id=1010
ber_get_next
5ec3eabf daemon: activity on:5ec3eabf 
ldap_read: want=8, got=8
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
  0000:  30 0c 02 01 01 60 07 02                            0....`..          
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
ldap_read: want=6, got=6
  0000:  01 03 04 00 80 00                                  ......            
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf=0x7f13601039b0 ptr=0x7f13601039b0 end=0x7f13601039bc len=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........      
5ec3eabf op tag 0x60, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1010 op=0 do_bind
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f13601039b0 ptr=0x7f13601039b3 end=0x7f13601039bc len=9

5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
  0000:  60 07 02 01 03 04 00 80  00                        `........         
ber_scanf fmt (m}) ber:
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
ber_dump: buf=0x7f13601039b0 ptr=0x7f13601039ba end=0x7f13601039bc len=2
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0000:  00 00                                              ..                
5ec3eabf >>> dnPrettyNormal: <>
5ec3eabf <<< dnPrettyNormal: <>, <>
5ec3eabf do_bind: version=3 dn="" method=128
5ec3eabf send_ldap_result: conn=1010 op=0 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eabf do_bind: v3 anonymous bind
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1010
5ec3eabf connection_read(10): checking for input on id=1010
ber_get_next
ldap_read: want=8, got=8
  0000:  30 3c 02 01 02 63 37 04                            0<...c7.          
ldap_read: want=54, got=54
  0000:  11 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   .dc=example,dc=n  
  0010:  65 74 0a 01 02 0a 01 00  02 01 00 02 01 00 01 01   et..............  
  0020:  00 a3 0c 04 03 75 69 64  04 05 74 65 73 74 31 30   .....uid..test10  
  0030:  05 04 03 31 2e 31                                  ...1.1            
ber_get_next: tag 0x30 len 60 contents:
ber_dump: buf=0x7f1364106010 ptr=0x7f1364106010 end=0x7f136410604c len=60
  0000:  02 01 02 63 37 04 11 64  63 3d 65 78 61 6d 70 6c   ...c7..dc=exampl  
  0010:  65 2c 64 63 3d 6e 65 74  0a 01 02 0a 01 00 02 01   e,dc=net........  
  0020:  00 02 01 00 01 01 00 a3  0c 04 03 75 69 64 04 05   ...........uid..  
  0030:  74 65 73 74 31 30 05 04  03 31 2e 31               test10...1.1      
5ec3eabf op tag 0x63, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1010 op=1 do_search
ber_scanf fmt ({miiiib) ber:
ber_dump: buf=0x7f1364106010 ptr=0x7f1364106013 end=0x7f136410604c len=57
  0000:  63 37 04 11 64 63 3d 65  78 61 6d 70 6c 65 2c 64   c7..dc=example,d  
  0010:  63 3d 6e 65 74 0a 01 02  0a 01 00 02 01 00 02 01   c=net...........  
  0020:  00 01 01 00 a3 0c 04 03  75 69 64 04 05 74 65 73   ........uid..tes  
  0030:  74 31 30 05 04 03 31 2e  31                        t10...1.1         
5ec3eabf >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eabf SRCH "dc=example,dc=net" 2 0    0 0 0
5ec3eabf begin get_filter
5ec3eabf EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1364106010 ptr=0x7f1364106037 end=0x7f136410604c len=21
  0000:  a3 0c 04 03 75 69 64 04  05 74 65 73 74 31 30 05   ....uid..test10.  
  0010:  04 03 31 2e 31                                     ..1.1             
5ec3eabf end get_filter 0
5ec3eabf     filter: (uid=test1)
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x7f1364106010 ptr=0x7f1364106045 end=0x7f136410604c len=7
  0000:  00 05 04 03 31 2e 31                               ....1.1           
5ec3eabf     attrs: 1.1
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eabf ==> limits_get: conn=1010 op=1 self="[anonymous]" this="dc=example,dc=net"
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "uid=test1,dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 6
5ec3eabf => send_search_entry: conn 1010 dn="uid=test1,dc=example,dc=net"
5ec3eabf => access_allowed: read access to "uid=test1,dc=example,dc=net" "entry" requested
5ec3eabf => acl_get: [1] attr entry
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "entry" requested
5ec3eabf => acl_mask: to all values by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: read access granted by read(=rscxd)
5ec3eabf => access_allowed: read access granted by read(=rscxd)
ber_flush2: 38 bytes to sd 10
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
ldap_write: want=38, written=38
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
5ec3eabf <= send_search_entry: conn 1010 exit.
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf >>> dnPrettyNormal: <uid=test2>
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
=> ldap_bv2dn(uid=test2,0)
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "uid=test2,dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf send_ldap_result: conn=1010 op=1 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1010
5ec3eabf connection_read(10): checking for input on id=1010
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f13601039b0 ptr=0x7f13601039b0 end=0x7f13601039b5 len=5
  0000:  02 01 03 42 00                                     ...B.             
5ec3eabf op tag 0x42, time 1589897919
ber_get_next
ldap_read: want=8, got=0

5ec3eabf ber_get_next on fd 10 failed errno=0 (Success)
5ec3eabf connection_read(10): input error=-2 id=1010, closing.
5ec3eabf connection_closing: readying conn=1010 sd=10 for close
5ec3eabf connection_close: deferring conn=1010 sd=10
5ec3eabf conn=1010 op=2 do_unbind
5ec3eabf connection_resched: attempting closing conn=1010 sd=10
5ec3eabf connection_close: conn=1010 sd=10
5ec3eabf daemon: removing 10
5ec3eabf daemon: activity on 2 descriptors
5ec3eabf daemon: activity on:
5ec3eabf slap_listener_activate(6): 
5ec3eabf daemon: epoll: listen=6 busy
5ec3eabf >>> slap_listener(ldap://localhost:56118)
5ec3eabf daemon: accept() = 10
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: listen=6, new connection on 10
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: added 10r (active) listener=(nil)
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 2 descriptors
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1011
5ec3eabf connection_read(10): checking for input on id=1011
ber_get_next
ldap_read: want=8, got=8
  0000:  30 2e 02 01 01 60 29 02                            0....`).          
ldap_read: want=40, got=40
  0000:  01 03 04 1b 75 69 64 3d  74 65 73 74 31 2c 64 63   ....uid=test1,dc  
  0010:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 80   =example,dc=net.  
  0020:  07 73 65 63 72 65 74 31                            .secret1          
ber_get_next: tag 0x30 len 46 contents:
ber_dump: buf=0x7f13601033b0 ptr=0x7f13601033b0 end=0x7f13601033de len=46
  0000:  02 01 01 60 29 02 01 03  04 1b 75 69 64 3d 74 65   ...`).....uid=te  
  0010:  73 74 31 2c 64 63 3d 65  78 61 6d 70 6c 65 2c 64   st1,dc=example,d  
  0020:  63 3d 6e 65 74 80 07 73  65 63 72 65 74 31         c=net..secret1    
5ec3eabf op tag 0x60, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1011 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f13601033b0 ptr=0x7f13601033b3 end=0x7f13601033de len=43
  0000:  60 29 02 01 03 04 1b 75  69 64 3d 74 65 73 74 31   `).....uid=test1  
  0010:  2c 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   ,dc=example,dc=n  
  0020:  65 74 80 07 73 65 63 72  65 74 31                  et..secret1       
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f13601033b0 ptr=0x7f13601033d5 end=0x7f13601033de len=9
  0000:  00 07 73 65 63 72 65 74  31                        ..secret1         
5ec3eabf >>> dnPrettyNormal: <uid=test1,dc=example,dc=net>
=> ldap_bv2dn(uid=test1,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1,dc=example,dc=net>, <uid=test1,dc=example,dc=net>
5ec3eabf do_bind: version=3 dn="uid=test1,dc=example,dc=net" method=128
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eabf => access_allowed: result not in cache (userPassword)
5ec3eabf => access_allowed: auth access to "uid=test1,dc=example,dc=net" "userPassword" requested
5ec3eabf => acl_get: [1] attr userPassword
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "userPassword" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: auth access granted by read(=rscxd)
5ec3eabf => access_allowed: auth access granted by read(=rscxd)
5ec3eabf do_bind: v3 bind: "uid=test1,dc=example,dc=net" to "uid=test1,dc=example,dc=net"
5ec3eabf send_ldap_result: conn=1011 op=0 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1011
5ec3eabf connection_read(10): checking for input on id=1011
ber_get_next
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f13640020c0 ptr=0x7f13640020c0 end=0x7f13640020c5 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eabf op tag 0x42, time 1589897919
ber_get_next
ldap_read: want=8, got=0

5ec3eabf ber_get_next on fd 10 failed errno=0 (Success)
5ec3eabf connection_read(10): input error=-2 id=1011, closing.
5ec3eabf connection_closing: readying conn=1011 sd=10 for close
5ec3eabf connection_close: deferring conn=1011 sd=10
5ec3eabf conn=1011 op=1 do_unbind
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:connection_resched: attempting closing conn=1011 sd=10
5ec3eabf 
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_close: conn=1011 sd=10
5ec3eabf daemon: removing 10
1
ok 6 - search+bind authentication succeeds
# multiple servers
### Restarting node "node"
# Running: pg_ctl -D /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata -l /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/log/001_auth_node.log restart
waiting for server to shut down.... done
server stopped
waiting for server to start.... done
server started
# Postmaster PID for node "node" is 25729
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf slap_listener_activate(6): 
5ec3eabf daemon: epoll: listen=6 busy
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf >>> slap_listener(ldap://localhost:56118)
5ec3eabf daemon: accept() = 10
5ec3eabf daemon: listen=6, new connection on 10
5ec3eabf daemon: added 10r (active) listener=(nil)
5ec3eabf daemon: activity on 2 descriptors
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1012
5ec3eabf connection_read(10): checking for input on id=1012
ber_get_next
ldap_read: want=8, got=8
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0000:  30 0c 02 01 01 60 07 02                            0....`..          
ldap_read: want=6, got=6
  0000:  01 03 04 00 80 00                                  ......            
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf=0x7f13601035f0 ptr=0x7f13601035f0 end=0x7f13601035fc len=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........      
5ec3eabf op tag 0x60, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1012 op=0 do_bind
ber_scanf fmt ({imt) ber:
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
ber_dump: buf=0x7f13601035f0 ptr=0x7f13601035f3 end=0x7f13601035fc len=9
  0000:  60 07 02 01 03 04 00 80  00                        `........         
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f13601035f0 ptr=0x7f13601035fa end=0x7f13601035fc len=2
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
  0000:  00 00                                              ..                
5ec3eabf >>> dnPrettyNormal: <>
5ec3eabf <<< dnPrettyNormal: <>, <>
5ec3eabf do_bind: version=3 dn="" method=128
5ec3eabf send_ldap_result: conn=1012 op=0 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eabf do_bind: v3 anonymous bind
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf connection_get(10): got connid=1012
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_read(10): checking for input on id=1012
ber_get_next
ldap_read: want=8, got=8
  0000:  30 3c 02 01 02 63 37 04                            0<...c7.          
ldap_read: want=54, got=54
  0000:  11 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   .dc=example,dc=n  
  0010:  65 74 0a 01 02 0a 01 00  02 01 00 02 01 00 01 01   et..............  
  0020:  00 a3 0c 04 03 75 69 64  04 05 74 65 73 74 30 30   .....uid..test00  
  0030:  05 04 03 31 2e 31                                  ...1.1            
ber_get_next: tag 0x30 len 60 contents:
ber_dump: buf=0x7f13641067f0 ptr=0x7f13641067f0 end=0x7f136410682c len=60
  0000:  02 01 02 63 37 04 11 64  63 3d 65 78 61 6d 70 6c   ...c7..dc=exampl  
  0010:  65 2c 64 63 3d 6e 65 74  0a 01 02 0a 01 00 02 01   e,dc=net........  
  0020:  00 02 01 00 01 01 00 a3  0c 04 03 75 69 64 04 05   ...........uid..  
  0030:  74 65 73 74 30 30 05 04  03 31 2e 31               test00...1.1      
5ec3eabf op tag 0x63, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1012 op=1 do_search
5ec3eabf daemon: activity on 1 descriptor
ber_scanf fmt ({miiiib) ber:
5ec3eabf daemon: activity on:
ber_dump: buf=0x7f13641067f0 ptr=0x7f13641067f3 end=0x7f136410682c len=57
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
  0000:  63 37 04 11 64 63 3d 65  78 61 6d 70 6c 65 2c 64   c7..dc=example,d  
  0010:  63 3d 6e 65 74 0a 01 02  0a 01 00 02 01 00 02 01   c=net...........  
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
  0020:  00 01 01 00 a3 0c 04 03  75 69 64 04 05 74 65 73   ........uid..tes  
  0030:  74 30 30 05 04 03 31 2e  31                        t00...1.1         
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eabf SRCH "dc=example,dc=net" 2 0    0 0 0
5ec3eabf begin get_filter
5ec3eabf EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f13641067f0 ptr=0x7f1364106817 end=0x7f136410682c len=21
  0000:  a3 0c 04 03 75 69 64 04  05 74 65 73 74 30 30 05   ....uid..test00.  
  0010:  04 03 31 2e 31                                     ..1.1             
5ec3eabf end get_filter 0
5ec3eabf     filter: (uid=test0)
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x7f13641067f0 ptr=0x7f1364106825 end=0x7f136410682c len=7
  0000:  00 05 04 03 31 2e 31                               ....1.1           
5ec3eabf     attrs: 1.1
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eabf ==> limits_get: conn=1012 op=1 self="[anonymous]" this="dc=example,dc=net"
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "uid=test1,dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "uid=test2,dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf send_ldap_result: conn=1012 op=1 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
psql: error: could not connect to server: FATAL:  LDAP authentication failed for user "test0"
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf connection_get(10): got connid=1012
5ec3eabf connection_read(10): checking for input on id=1012
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f13601035f0 ptr=0x7f13601035f0 end=0x7f13601035f5 len=5
  0000:  02 01 03 42 00                                     ...B.             
5ec3eabf op tag 0x42, time 1589897919
ber_get_next
ldap_read: want=8, got=0

5ec3eabf ber_get_next on fd 10 failed errno=0 (Success)
5ec3eabf connection_read(10): input error=-2 id=1012, closing.
5ec3eabf connection_closing: readying conn=1012 sd=10 for close
5ec3eabf connection_close: deferring conn=1012 sd=10
5ec3eabf conn=1012 op=2 do_unbind
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf connection_resched: attempting closing conn=1012 sd=10
5ec3eabf connection_close: conn=1012 sd=10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: removing 10
ok 7 - search+bind authentication fails if user not found in LDAP
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf slap_listener_activate(6): 
5ec3eabf daemon: epoll: listen=6 busy
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf >>> slap_listener(ldap://localhost:56118)
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: accept() = 10
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: listen=6, new connection on 10
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: added 10r (active) listener=(nil)
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf connection_get(10): got connid=1013
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_read(10): checking for input on id=1013
5ec3eabf daemon: activity on 1 descriptor
ber_get_next
5ec3eabf daemon: activity on:
ldap_read: want=8, got=8
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
  0000:  30 0c 02 01 01 60 07 02                            0....`..          
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
ldap_read: want=6, got=6
  0000:  01 03 04 00 80 00                                  ......            
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf=0x7f13601035a0 ptr=0x7f13601035a0 end=0x7f13601035ac len=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........      
5ec3eabf op tag 0x60, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1013 op=0 do_bind
5ec3eabf daemon: activity on 1 descriptor
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f13601035a0 ptr=0x7f13601035a3 end=0x7f13601035ac len=9
5ec3eabf daemon: activity on:  0000:  60 07 02 01 03 04 00 80  00                        `........         

ber_scanf fmt (m}) ber:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
ber_dump: buf=0x7f13601035a0 ptr=0x7f13601035aa end=0x7f13601035ac len=2
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0000:  00 00                                              ..                
5ec3eabf >>> dnPrettyNormal: <>
5ec3eabf <<< dnPrettyNormal: <>, <>
5ec3eabf do_bind: version=3 dn="" method=128
5ec3eabf send_ldap_result: conn=1013 op=0 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eabf do_bind: v3 anonymous bind
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1013
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_read(10): checking for input on id=1013
ber_get_next
ldap_read: want=8, got=8
  0000:  30 3c 02 01 02 63 37 04                            0<...c7.          
ldap_read: want=54, got=54
  0000:  11 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   .dc=example,dc=n  
  0010:  65 74 0a 01 02 0a 01 00  02 01 00 02 01 00 01 01   et..............  
  0020:  00 a3 0c 04 03 75 69 64  04 05 74 65 73 74 31 30   .....uid..test10  
  0030:  05 04 03 31 2e 31                                  ...1.1            
ber_get_next: tag 0x30 len 60 contents:
ber_dump: buf=0x7f1364106840 ptr=0x7f1364106840 end=0x7f136410687c len=60
  0000:  02 01 02 63 37 04 11 64  63 3d 65 78 61 6d 70 6c   ...c7..dc=exampl  
  0010:  65 2c 64 63 3d 6e 65 74  0a 01 02 0a 01 00 02 01   e,dc=net........  
  0020:  00 02 01 00 01 01 00 a3  0c 04 03 75 69 64 04 05   ...........uid..  
  0030:  74 65 73 74 31 30 05 04  03 31 2e 31               test10...1.1      
5ec3eabf op tag 0x63, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1013 op=1 do_search
ber_scanf fmt ({miiiib) ber:
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
ber_dump: buf=0x7f1364106840 ptr=0x7f1364106843 end=0x7f136410687c len=57
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0000:  63 37 04 11 64 63 3d 65  78 61 6d 70 6c 65 2c 64   c7..dc=example,d  
  0010:  63 3d 6e 65 74 0a 01 02  0a 01 00 02 01 00 02 01   c=net...........  
  0020:  00 01 01 00 a3 0c 04 03  75 69 64 04 05 74 65 73   ........uid..tes  
  0030:  74 31 30 05 04 03 31 2e  31                        t10...1.1         
5ec3eabf >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eabf SRCH "dc=example,dc=net" 2 0    0 0 0
5ec3eabf begin get_filter
5ec3eabf EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1364106840 ptr=0x7f1364106867 end=0x7f136410687c len=21
  0000:  a3 0c 04 03 75 69 64 04  05 74 65 73 74 31 30 05   ....uid..test10.  
  0010:  04 03 31 2e 31                                     ..1.1             
5ec3eabf end get_filter 0
5ec3eabf     filter: (uid=test1)
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x7f1364106840 ptr=0x7f1364106875 end=0x7f136410687c len=7
  0000:  00 05 04 03 31 2e 31                               ....1.1           
5ec3eabf     attrs: 1.1
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eabf ==> limits_get: conn=1013 op=1 self="[anonymous]" this="dc=example,dc=net"
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "uid=test1,dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 6
5ec3eabf => send_search_entry: conn 1013 dn="uid=test1,dc=example,dc=net"
5ec3eabf => access_allowed: read access to "uid=test1,dc=example,dc=net" "entry" requested
5ec3eabf => acl_get: [1] attr entry
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "entry" requested
5ec3eabf => acl_mask: to all values by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: read access granted by read(=rscxd)
5ec3eabf => access_allowed: read access granted by read(=rscxd)
ber_flush2: 38 bytes to sd 10
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
ldap_write: want=38, written=38
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
5ec3eabf <= send_search_entry: conn 1013 exit.
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "uid=test2,dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf send_ldap_result: conn=1013 op=1 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf connection_get(10): got connid=1013
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf connection_read(10): checking for input on id=1013
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f13601035a0 ptr=0x7f13601035a0 end=0x7f13601035a5 len=5
  0000:  02 01 03 42 00                                     ...B.             
5ec3eabf op tag 0x42, time 1589897919
ber_get_next
ldap_read: want=8, got=0

5ec3eabf ber_get_next on fd 10 failed errno=0 (Success)
5ec3eabf connection_read(10): input error=-2 id=1013, closing.
5ec3eabf connection_closing: readying conn=1013 sd=10 for close
5ec3eabf connection_close: deferring conn=1013 sd=10
5ec3eabf daemon: activity on 2 descriptors
5ec3eabf conn=1013 op=2 do_unbind
5ec3eabf daemon: activity on:
5ec3eabf slap_listener_activate(6): 
5ec3eabf connection_resched: attempting closing conn=1013 sd=10
5ec3eabf daemon: epoll: listen=6 busy
5ec3eabf connection_close: conn=1013 sd=10
5ec3eabf >>> slap_listener(ldap://localhost:56118)
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: accept() = 12
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: removing 10
5ec3eabf daemon: listen=6, new connection on 12
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: added 12r (active) listener=(nil)
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 12r
5ec3eabf daemon: read active on 12
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(12)
5ec3eabf connection_get(12): got connid=1014
5ec3eabf connection_read(12): checking for input on id=1014
ber_get_next
ldap_read: want=8, got=8
  0000:  30 2c 02 01 01 60 27 02                            0,...`'.          
ldap_read: want=38, got=38
  0000:  01 03 04 1b 75 69 64 3d  74 65 73 74 31 2c 64 63   ....uid=test1,dc  
  0010:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 80   =example,dc=net.  
  0020:  05 77 72 6f 6e 67                                  .wrong            
ber_get_next: tag 0x30 len 44 contents:
ber_dump: buf=0x7f1360106d20 ptr=0x7f1360106d20 end=0x7f1360106d4c len=44
  0000:  02 01 01 60 27 02 01 03  04 1b 75 69 64 3d 74 65   ...`'.....uid=te  
  0010:  73 74 31 2c 64 63 3d 65  78 61 6d 70 6c 65 2c 64   st1,dc=example,d  
  0020:  63 3d 6e 65 74 80 05 77  72 6f 6e 67               c=net..wrong      
5ec3eabf op tag 0x60, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1014 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1360106d20 ptr=0x7f1360106d23 end=0x7f1360106d4c len=41
  0000:  60 27 02 01 03 04 1b 75  69 64 3d 74 65 73 74 31   `'.....uid=test1  
  0010:  2c 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   ,dc=example,dc=n  
  0020:  65 74 80 05 77 72 6f 6e  67                        et..wrong         
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1360106d20 ptr=0x7f1360106d45 end=0x7f1360106d4c len=7
  0000:  00 05 77 72 6f 6e 67                               ..wrong           
5ec3eabf >>> dnPrettyNormal: <uid=test1,dc=example,dc=net>
=> ldap_bv2dn(uid=test1,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1,dc=example,dc=net>, <uid=test1,dc=example,dc=net>
5ec3eabf do_bind: version=3 dn="uid=test1,dc=example,dc=net" method=128
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eabf => access_allowed: result not in cache (userPassword)
5ec3eabf => access_allowed: auth access to "uid=test1,dc=example,dc=net" "userPassword" requested
5ec3eabf => acl_get: [1] attr userPassword
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "userPassword" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: auth access granted by read(=rscxd)
5ec3eabf => access_allowed: auth access granted by read(=rscxd)
5ec3eabf send_ldap_result: conn=1014 op=0 p=3
5ec3eabf send_ldap_result: err=49 matched="" text=""
5ec3eabf send_ldap_response: msgid=1 tag=97 err=49
ber_flush2: 14 bytes to sd 12
  0000:  30 0c 02 01 01 61 07 0a  01 31 04 00 04 00         0....a...1....    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 31 04 00 04 00         0....a...1....    
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 12r
5ec3eabf daemon: read active on 12
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
psql:5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
 error: could not connect to server: FATAL:  LDAP authentication failed for user "test1"
5ec3eabf connection_get(12)
5ec3eabf connection_get(12): got connid=1014
5ec3eabf connection_read(12): checking for input on id=1014
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1364103750 ptr=0x7f1364103750 end=0x7f1364103755 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eabf op tag 0x42, time 1589897919
ber_get_next
ldap_read: want=8, got=0

5ec3eabf ber_get_next on fd 12 failed errno=0 (Success)
5ec3eabf connection_read(12): input error=-2 id=1014, closing.
5ec3eabf connection_closing: readying conn=1014 sd=12 for close
5ec3eabf connection_close: deferring conn=1014 sd=12
5ec3eabf conn=1014 op=1 do_unbind
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf connection_resched: attempting closing conn=1014 sd=12
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_close: conn=1014 sd=12
5ec3eabf daemon: removing 12
ok 8 - search+bind authentication fails with wrong password
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf slap_listener_activate(6): 
5ec3eabf daemon: epoll: listen=6 busy
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf >>> slap_listener(ldap://localhost:56118)
5ec3eabf daemon: accept() = 10
5ec3eabf daemon: listen=6, new connection on 10
5ec3eabf daemon: added 10r (active) listener=(nil)
5ec3eabf daemon: activity on 2 descriptors
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1015
5ec3eabf connection_read(10): checking for input on id=1015
ber_get_next
ldap_read: want=8, got=8
  0000:  30 0c 02 01 01 60 07 02                            0....`..          
ldap_read: want=6, got=6
  0000:  01 03 04 00 80 00                                  ......            
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf=0x7f13641036a0 ptr=0x7f13641036a0 end=0x7f13641036ac len=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........      
5ec3eabf op tag 0x60, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1015 op=0 do_bind
ber_scanf fmt ({imt) ber:
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_dump: buf=0x7f13641036a0 ptr=0x7f13641036a3 end=0x7f13641036ac len=9
  0000:  60 07 02 01 03 04 00 80  00                        `........         
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f13641036a0 ptr=0x7f13641036aa end=0x7f13641036ac len=2
  0000:  00 00                                              ..                
5ec3eabf >>> dnPrettyNormal: <>
5ec3eabf <<< dnPrettyNormal: <>, <>
5ec3eabf do_bind: version=3 dn="" method=128
5ec3eabf send_ldap_result: conn=1015 op=0 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eabf do_bind: v3 anonymous bind
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1015
5ec3eabf connection_read(10): checking for input on id=1015
ber_get_next
ldap_read: want=8, got=8
  0000:  30 3c 02 01 02 63 37 04                            0<...c7.          
ldap_read: want=54, got=54
  0000:  11 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   .dc=example,dc=n  
  0010:  65 74 0a 01 02 0a 01 00  02 01 00 02 01 00 01 01   et..............  
  0020:  00 a3 0c 04 03 75 69 64  04 05 74 65 73 74 31 30   .....uid..test10  
  0030:  05 04 03 31 2e 31                                  ...1.1            
ber_get_next: tag 0x30 len 60 contents:
ber_dump: buf=0x7f1360107da0 ptr=0x7f1360107da0 end=0x7f1360107ddc len=60
  0000:  02 01 02 63 37 04 11 64  63 3d 65 78 61 6d 70 6c   ...c7..dc=exampl  
  0010:  65 2c 64 63 3d 6e 65 74  0a 01 02 0a 01 00 02 01   e,dc=net........  
  0020:  00 02 01 00 01 01 00 a3  0c 04 03 75 69 64 04 05   ...........uid..  
  0030:  74 65 73 74 31 30 05 04  03 31 2e 31               test10...1.1      
5ec3eabf op tag 0x63, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1015 op=1 do_search
ber_scanf fmt ({miiiib) ber:
ber_dump: buf=0x7f1360107da0 ptr=0x7f1360107da3 end=0x7f1360107ddc len=57
  0000:  63 37 04 11 64 63 3d 65  78 61 6d 70 6c 65 2c 64   c7..dc=example,d  
  0010:  63 3d 6e 65 74 0a 01 02  0a 01 00 02 01 00 02 01   c=net...........  
  0020:  00 01 01 00 a3 0c 04 03  75 69 64 04 05 74 65 73   ........uid..tes  
  0030:  74 31 30 05 04 03 31 2e  31                        t10...1.1         
5ec3eabf >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eabf SRCH "dc=example,dc=net" 2 0    0 0 0
5ec3eabf begin get_filter
5ec3eabf EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1360107da0 ptr=0x7f1360107dc7 end=0x7f1360107ddc len=21
  0000:  a3 0c 04 03 75 69 64 04  05 74 65 73 74 31 30 05   ....uid..test10.  
  0010:  04 03 31 2e 31                                     ..1.1             
5ec3eabf end get_filter 0
5ec3eabf     filter: (uid=test1)
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x7f1360107da0 ptr=0x7f1360107dd5 end=0x7f1360107ddc len=7
  0000:  00 05 04 03 31 2e 31                               ....1.1           
5ec3eabf     attrs: 1.1
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eabf daemon: activity on:==> limits_get: conn=1015 op=1 self="[anonymous]" this="dc=example,dc=net"
5ec3eabf 
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "uid=test1,dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 6
5ec3eabf => send_search_entry: conn 1015 dn="uid=test1,dc=example,dc=net"
5ec3eabf => access_allowed: read access to "uid=test1,dc=example,dc=net" "entry" requested
5ec3eabf => acl_get: [1] attr entry
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "entry" requested
5ec3eabf => acl_mask: to all values by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: read access granted by read(=rscxd)
5ec3eabf => access_allowed: read access granted by read(=rscxd)
ber_flush2: 38 bytes to sd 10
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
ldap_write: want=38, written=38
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
5ec3eabf <= send_search_entry: conn 1015 exit.
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "uid=test2,dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf send_ldap_result: conn=1015 op=1 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1015
5ec3eabf connection_read(10): checking for input on id=1015
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f13641036a0 ptr=0x7f13641036a0 end=0x7f13641036a5 len=5
  0000:  02 01 03 42 00                                     ...B.             
5ec3eabf op tag 0x42, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1015 op=2 do_unbind
5ec3eabf connection_closing: readying conn=1015 sd=10 for close
5ec3eabf connection_resched: attempting closing conn=1015 sd=10
5ec3eabf connection_close: conn=1015 sd=10
5ec3eabf daemon: removing 10
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf slap_listener_activate(6): 
5ec3eabf daemon: epoll: listen=6 busy
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf >>> slap_listener(ldap://localhost:56118)
5ec3eabf daemon: accept() = 10
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: listen=6, new connection on 10
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: added 10r (active) listener=(nil)
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1016
5ec3eabf connection_read(10): checking for input on id=1016
ber_get_next
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
ldap_read: want=8, got=8
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:  0000:  30 2e 02 01 01 60 29 02                            0....`).          
ldap_read: want=40, got=40
  0000:  01 03 04 1b 75 69 64 3d  74 65 73 74 31 2c 64 63   ....uid=test1,dc  
  0010:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 80   =example,dc=net.  
  0020:  07 73 65 63 72 65 74 31                            .secret1          

ber_get_next: tag 0x30 len 46 contents:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
ber_dump: buf=0x7f13641040e0 ptr=0x7f13641040e0 end=0x7f136410410e len=46
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0000:  02 01 01 60 29 02 01 03  04 1b 75 69 64 3d 74 65   ...`).....uid=te  
  0010:  73 74 31 2c 64 63 3d 65  78 61 6d 70 6c 65 2c 64   st1,dc=example,d  
  0020:  63 3d 6e 65 74 80 07 73  65 63 72 65 74 31         c=net..secret1    
5ec3eabf op tag 0x60, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1016 op=0 do_bind
ber_scanf fmt ({imt) ber:
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:ber_dump: buf=0x7f13641040e0 ptr=0x7f13641040e3 end=0x7f136410410e len=43
  0000:  60 29 02 01 03 04 1b 75  69 64 3d 74 65 73 74 31   `).....uid=test1  

  0010:  2c 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   ,dc=example,dc=n  
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
  0020:  65 74 80 07 73 65 63 72  65 74 31                  et..secret1       
ber_scanf fmt (m}) ber:
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_dump: buf=0x7f13641040e0 ptr=0x7f1364104105 end=0x7f136410410e len=9
  0000:  00 07 73 65 63 72 65 74  31                        ..secret1         
5ec3eabf >>> dnPrettyNormal: <uid=test1,dc=example,dc=net>
=> ldap_bv2dn(uid=test1,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1,dc=example,dc=net>, <uid=test1,dc=example,dc=net>
5ec3eabf do_bind: version=3 dn="uid=test1,dc=example,dc=net" method=128
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eabf => access_allowed: result not in cache (userPassword)
5ec3eabf => access_allowed: auth access to "uid=test1,dc=example,dc=net" "userPassword" requested
5ec3eabf => acl_get: [1] attr userPassword
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "userPassword" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: auth access granted by read(=rscxd)
5ec3eabf => access_allowed: auth access granted by read(=rscxd)
5ec3eabf do_bind: v3 bind: "uid=test1,dc=example,dc=net" to "uid=test1,dc=example,dc=net"
5ec3eabf send_ldap_result: conn=1016 op=0 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1016
5ec3eabf connection_read(10): checking for input on id=1016
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1360107560 ptr=0x7f1360107560 end=0x7f1360107565 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eabf op tag 0x42, time 1589897919
ber_get_next
ldap_read: want=8, got=0

5ec3eabf ber_get_next on fd 10 failed errno=0 (Success)
5ec3eabf connection_read(10): input error=-2 id=1016, closing.
5ec3eabf connection_closing: readying conn=1016 sd=10 for close
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_close: deferring conn=1016 sd=10
5ec3eabf conn=1016 op=1 do_unbind
5ec3eabf connection_resched: attempting closing conn=1016 sd=10
5ec3eabf connection_close: conn=1016 sd=10
5ec3eabf daemon: removing 10
1
ok 9 - search+bind authentication succeeds
# LDAP URLs
### Restarting node "node"
# Running: pg_ctl -D /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata -l /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/log/001_auth_node.log restart
waiting for server to shut down.... done
server stopped
waiting for server to start.... done
server started
# Postmaster PID for node "node" is 25746
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf slap_listener_activate(6): 
5ec3eabf daemon: epoll: listen=6 busy
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf >>> slap_listener(ldap://localhost:56118)
5ec3eabf daemon: accept() = 10
5ec3eabf daemon: listen=6, new connection on 10
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf daemon: added 10r (active) listener=(nil)
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1017
5ec3eabf connection_read(10): checking for input on id=1017
5ec3eabf daemon: activity on 1 descriptor
ber_get_next
5ec3eabf daemon: activity on:ldap_read: want=8, got=8

5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
  0000:  30 0c 02 01 01 60 07 02                            0....`..          
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
ldap_read: want=6, got=6
  0000:  01 03 04 00 80 00                                  ......            
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf=0x7f1364105050 ptr=0x7f1364105050 end=0x7f136410505c len=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........      
5ec3eabf op tag 0x60, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1017 op=0 do_bind
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on:
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1364105050 ptr=0x7f1364105053 end=0x7f136410505c len=9
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
  0000:  60 07 02 01 03 04 00 80  00                        `........         
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1364105050 ptr=0x7f136410505a end=0x7f136410505c len=2
  0000:  00 00                                              ..                
5ec3eabf >>> dnPrettyNormal: <>
5ec3eabf <<< dnPrettyNormal: <>, <>
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf do_bind: version=3 dn="" method=128
5ec3eabf send_ldap_result: conn=1017 op=0 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eabf send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eabf do_bind: v3 anonymous bind
5ec3eabf daemon: activity on 1 descriptor
5ec3eabf daemon: activity on: 10r
5ec3eabf daemon: read active on 10
5ec3eabf daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eabf daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eabf connection_get(10)
5ec3eabf connection_get(10): got connid=1017
5ec3eabf connection_read(10): checking for input on id=1017
ber_get_next
ldap_read: want=8, got=8
  0000:  30 3c 02 01 02 63 37 04                            0<...c7.          
ldap_read: want=54, got=54
  0000:  11 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   .dc=example,dc=n  
  0010:  65 74 0a 01 02 0a 01 00  02 01 00 02 01 00 01 01   et..............  
  0020:  00 a3 0c 04 03 75 69 64  04 05 74 65 73 74 30 30   .....uid..test00  
  0030:  05 04 03 31 2e 31                                  ...1.1            
ber_get_next: tag 0x30 len 60 contents:
ber_dump: buf=0x7f1360107e70 ptr=0x7f1360107e70 end=0x7f1360107eac len=60
  0000:  02 01 02 63 37 04 11 64  63 3d 65 78 61 6d 70 6c   ...c7..dc=exampl  
  0010:  65 2c 64 63 3d 6e 65 74  0a 01 02 0a 01 00 02 01   e,dc=net........  
  0020:  00 02 01 00 01 01 00 a3  0c 04 03 75 69 64 04 05   ...........uid..  
  0030:  74 65 73 74 30 30 05 04  03 31 2e 31               test00...1.1      
5ec3eabf op tag 0x63, time 1589897919
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eabf conn=1017 op=1 do_search
ber_scanf fmt ({miiiib) ber:
ber_dump: buf=0x7f1360107e70 ptr=0x7f1360107e73 end=0x7f1360107eac len=57
  0000:  63 37 04 11 64 63 3d 65  78 61 6d 70 6c 65 2c 64   c7..dc=example,d  
  0010:  63 3d 6e 65 74 0a 01 02  0a 01 00 02 01 00 02 01   c=net...........  
  0020:  00 01 01 00 a3 0c 04 03  75 69 64 04 05 74 65 73   ........uid..tes  
  0030:  74 30 30 05 04 03 31 2e  31                        t00...1.1         
5ec3eabf >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eabf SRCH "dc=example,dc=net" 2 0    0 0 0
5ec3eabf begin get_filter
5ec3eabf EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1360107e70 ptr=0x7f1360107e97 end=0x7f1360107eac len=21
  0000:  a3 0c 04 03 75 69 64 04  05 74 65 73 74 30 30 05   ....uid..test00.  
  0010:  04 03 31 2e 31                                     ..1.1             
5ec3eabf end get_filter 0
5ec3eabf     filter: (uid=test0)
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x7f1360107e70 ptr=0x7f1360107ea5 end=0x7f1360107eac len=7
  0000:  00 05 04 03 31 2e 31                               ....1.1           
5ec3eabf     attrs: 1.1
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eabf ==> limits_get: conn=1017 op=1 self="[anonymous]" this="dc=example,dc=net"
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eabf <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "uid=test1,dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eabf => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eabf >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eabf <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eabf <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eabf <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eabf => test_filter
5ec3eabf     EQUALITY
5ec3eabf => access_allowed: search access to "uid=test2,dc=example,dc=net" "uid" requested
5ec3eabf => acl_get: [1] attr uid
5ec3eabf => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "uid" requested
5ec3eabf => acl_mask: to value by "", (=0) 
5ec3eabf <= check a_dn_pat: *
5ec3eabf <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eabf <= acl_mask: [1] mask: read(=rscxd)
5ec3eabf => slap_access_allowed: search access granted by read(=rscxd)
5ec3eabf => access_allowed: search access granted by read(=rscxd)
5ec3eabf <= test_filter 5
5ec3eabf send_ldap_result: conn=1017 op=1 p=3
5ec3eabf send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    

5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1017
5ec3eac0 connection_read(10): checking for input on id=1017
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1364105050 ptr=0x7f1364105050 end=0x7f1364105055 len=5
psql:  0000:  02 01 03 42 00                                     ...B.             
 error: could not connect to server: FATAL:  LDAP authentication failed for user "test0"
5ec3eac0 op tag 0x42, time 1589897920
ber_get_next
ldap_read: want=8, got=0

5ec3eac0 ber_get_next on fd 10 failed errno=0 (Success)
5ec3eac0 connection_read(10): input error=-2 id=1017, closing.
5ec3eac0 connection_closing: readying conn=1017 sd=10 for close
5ec3eac0 connection_close: deferring conn=1017 sd=10
5ec3eac0 conn=1017 op=2 do_unbind
5ec3eac0 connection_resched: attempting closing conn=1017 sd=10
5ec3eac0 connection_close: conn=1017 sd=10
5ec3eac0 daemon: removing 10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ok 10 - search+bind with LDAP URL authentication fails if user not found in LDAP
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 slap_listener_activate(6): 
5ec3eac0 daemon: epoll: listen=6 busy
5ec3eac0 >>> slap_listener(ldap://localhost:56118)
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: accept() = 10
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: listen=6, new connection on 10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: added 10r (active) listener=(nil)
5ec3eac0 daemon: activity on 2 descriptors
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1018
5ec3eac0 connection_read(10): checking for input on id=1018
ber_get_next
ldap_read: want=8, got=8
  0000:  30 0c 02 01 01 60 07 02                            0....`..          
ldap_read: want=6, got=6
  0000:  01 03 04 00 80 00                                  ......            
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf=0x7f1364001a40 ptr=0x7f1364001a40 end=0x7f1364001a4c len=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........      
5ec3eac0 op tag 0x60, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1018 op=0 do_bind
ber_scanf fmt ({imt) ber:
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
ber_dump: buf=0x7f1364001a40 ptr=0x7f1364001a43 end=0x7f1364001a4c len=9
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
  0000:  60 07 02 01 03 04 00 80  00                        `........         
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1364001a40 ptr=0x7f1364001a4a end=0x7f1364001a4c len=2
  0000:  00 00                                              ..                
5ec3eac0 >>> dnPrettyNormal: <>
5ec3eac0 <<< dnPrettyNormal: <>, <>
5ec3eac0 do_bind: version=3 dn="" method=128
5ec3eac0 send_ldap_result: conn=1018 op=0 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eac0 do_bind: v3 anonymous bind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1018
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_read(10): checking for input on id=1018
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_get_next
ldap_read: want=8, got=8
  0000:  30 3c 02 01 02 63 37 04                            0<...c7.          
ldap_read: want=54, got=54
  0000:  11 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   .dc=example,dc=n  
  0010:  65 74 0a 01 02 0a 01 00  02 01 00 02 01 00 01 01   et..............  
  0020:  00 a3 0c 04 03 75 69 64  04 05 74 65 73 74 31 30   .....uid..test10  
  0030:  05 04 03 31 2e 31                                  ...1.1            
ber_get_next: tag 0x30 len 60 contents:
ber_dump: buf=0x7f1360108500 ptr=0x7f1360108500 end=0x7f136010853c len=60
  0000:  02 01 02 63 37 04 11 64  63 3d 65 78 61 6d 70 6c   ...c7..dc=exampl  
  0010:  65 2c 64 63 3d 6e 65 74  0a 01 02 0a 01 00 02 01   e,dc=net........  
  0020:  00 02 01 00 01 01 00 a3  0c 04 03 75 69 64 04 05   ...........uid..  
  0030:  74 65 73 74 31 30 05 04  03 31 2e 31               test10...1.1      
5ec3eac0 op tag 0x63, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1018 op=1 do_search
ber_scanf fmt ({miiiib) ber:
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
ber_dump: buf=0x7f1360108500 ptr=0x7f1360108503 end=0x7f136010853c len=57
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
  0000:  63 37 04 11 64 63 3d 65  78 61 6d 70 6c 65 2c 64   c7..dc=example,d  
  0010:  63 3d 6e 65 74 0a 01 02  0a 01 00 02 01 00 02 01   c=net...........  
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
  0020:  00 01 01 00 a3 0c 04 03  75 69 64 04 05 74 65 73   ........uid..tes  
  0030:  74 31 30 05 04 03 31 2e  31                        t10...1.1         
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eac0 SRCH "dc=example,dc=net" 2 0    0 0 0
5ec3eac0 begin get_filter
5ec3eac0 EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1360108500 ptr=0x7f1360108527 end=0x7f136010853c len=21
  0000:  a3 0c 04 03 75 69 64 04  05 74 65 73 74 31 30 05   ....uid..test10.  
  0010:  04 03 31 2e 31                                     ..1.1             
5ec3eac0 end get_filter 0
5ec3eac0     filter: (uid=test1)
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x7f1360108500 ptr=0x7f1360108535 end=0x7f136010853c len=7
  0000:  00 05 04 03 31 2e 31                               ....1.1           
5ec3eac0     attrs: 1.1
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eac0 ==> limits_get: conn=1018 op=1 self="[anonymous]" this="dc=example,dc=net"
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test1,dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 6
5ec3eac0 => send_search_entry: conn 1018 dn="uid=test1,dc=example,dc=net"
5ec3eac0 => access_allowed: read access to "uid=test1,dc=example,dc=net" "entry" requested
5ec3eac0 => acl_get: [1] attr entry
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "entry" requested
5ec3eac0 => acl_mask: to all values by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: read access granted by read(=rscxd)
5ec3eac0 => access_allowed: read access granted by read(=rscxd)
ber_flush2: 38 bytes to sd 10
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
ldap_write: want=38, written=38
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
5ec3eac0 <= send_search_entry: conn 1018 exit.
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test2,dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 send_ldap_result: conn=1018 op=1 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1018
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_read(10): checking for input on id=1018
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1364001a40 ptr=0x7f1364001a40 end=0x7f1364001a45 len=5
  0000:  02 01 03 42 00                                     ...B.             
5ec3eac0 op tag 0x42, time 1589897920
ber_get_next
ldap_read: want=8, got=0

5ec3eac0 ber_get_next on fd 10 failed errno=0 (Success)
5ec3eac0 connection_read(10): input error=-2 id=1018, closing.
5ec3eac0 connection_closing: readying conn=1018 sd=10 for close
5ec3eac0 connection_close: deferring conn=1018 sd=10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:5ec3eac0 conn=1018 op=2 do_unbind

5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_resched: attempting closing conn=1018 sd=10
5ec3eac0 connection_close: conn=1018 sd=10
5ec3eac0 daemon: removing 10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 slap_listener_activate(6): 
5ec3eac0 daemon: epoll: listen=6 busy
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 >>> slap_listener(ldap://localhost:56118)
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: accept() = 10
5ec3eac0 daemon: listen=6, new connection on 10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: added 10r (active) listener=(nil)
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1019
5ec3eac0 connection_read(10): checking for input on id=1019
ber_get_next
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
ldap_read: want=8, got=8
  0000:  30 2c 02 01 01 60 27 02                            0,...`'.          
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ldap_read: want=38, got=38
  0000:  01 03 04 1b 75 69 64 3d  74 65 73 74 31 2c 64 63   ....uid=test1,dc  
5ec3eac0 daemon: activity on 1 descriptor
  0010:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 80   =example,dc=net.  
  0020:  05 77 72 6f 6e 67                                  .wrong            
5ec3eac0 daemon: activity on:ber_get_next: tag 0x30 len 44 contents:
ber_dump: buf=0x7f1364001a60 ptr=0x7f1364001a60 end=0x7f1364001a8c len=44
  0000:  02 01 01 60 27 02 01 03  04 1b 75 69 64 3d 74 65   ...`'.....uid=te  

  0010:  73 74 31 2c 64 63 3d 65  78 61 6d 70 6c 65 2c 64   st1,dc=example,d  
  0020:  63 3d 6e 65 74 80 05 77  72 6f 6e 67               c=net..wrong      
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 op tag 0x60, time 1589897920
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
ber_get_next
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 conn=1019 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1364001a60 ptr=0x7f1364001a63 end=0x7f1364001a8c len=41
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
  0000:  60 27 02 01 03 04 1b 75  69 64 3d 74 65 73 74 31   `'.....uid=test1  
  0010:  2c 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   ,dc=example,dc=n  
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
  0020:  65 74 80 05 77 72 6f 6e  67                        et..wrong         
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1364001a60 ptr=0x7f1364001a85 end=0x7f1364001a8c len=7
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0000:  00 05 77 72 6f 6e 67                               ..wrong           
5ec3eac0 >>> dnPrettyNormal: <uid=test1,dc=example,dc=net>
=> ldap_bv2dn(uid=test1,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1,dc=example,dc=net>, <uid=test1,dc=example,dc=net>
5ec3eac0 do_bind: version=3 dn="uid=test1,dc=example,dc=net" method=128
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eac0 => access_allowed: result not in cache (userPassword)
5ec3eac0 => access_allowed: auth access to "uid=test1,dc=example,dc=net" "userPassword" requested
5ec3eac0 => acl_get: [1] attr userPassword
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "userPassword" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: auth access granted by read(=rscxd)
5ec3eac0 => access_allowed: auth access granted by read(=rscxd)
5ec3eac0 send_ldap_result: conn=1019 op=0 p=3
5ec3eac0 send_ldap_result: err=49 matched="" text=""
5ec3eac0 send_ldap_response: msgid=1 tag=97 err=49
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 31 04 00 04 00         0....a...1....    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 31 04 00 04 00         0....a...1....    
psql: error: could not connect to server: FATAL:  LDAP authentication failed for user "test1"
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1019
5ec3eac0 connection_read(10): checking for input on id=1019
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1360106c90 ptr=0x7f1360106c90 end=0x7f1360106c95 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eac0 op tag 0x42, time 1589897920
ber_get_next
ldap_read: want=8, got=0

5ec3eac0 ber_get_next on fd 10 failed errno=0 (Success)
5ec3eac0 connection_read(10): input error=-2 id=1019, closing.
5ec3eac0 connection_closing: readying conn=1019 sd=10 for close
5ec3eac0 connection_close: deferring conn=1019 sd=10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 conn=1019 op=1 do_unbind
5ec3eac0 connection_resched: attempting closing conn=1019 sd=10
5ec3eac0 connection_close: conn=1019 sd=10
5ec3eac0 daemon: removing 10
ok 11 - search+bind with LDAP URL authentication fails with wrong password
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 slap_listener_activate(6): 
5ec3eac0 daemon: epoll: listen=6 busy
5ec3eac0 >>> slap_listener(ldap://localhost:56118)
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: accept() = 10
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: listen=6, new connection on 10
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: added 10r (active) listener=(nil)
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10): got connid=1020
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_read(10): checking for input on id=1020
5ec3eac0 daemon: activity on 1 descriptor
ber_get_next
5ec3eac0 daemon: activity on:ldap_read: want=8, got=8
  0000:  30 0c 02 01 01 60 07 02                            0....`..          

ldap_read: want=6, got=6
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
  0000:  01 03 04 00 80 00                                  ......            
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf=0x7f13601060d0 ptr=0x7f13601060d0 end=0x7f13601060dc len=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........      
5ec3eac0 op tag 0x60, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1020 op=0 do_bind
5ec3eac0 daemon: activity on 1 descriptor
ber_scanf fmt ({imt) ber:
5ec3eac0 daemon: activity on:
ber_dump: buf=0x7f13601060d0 ptr=0x7f13601060d3 end=0x7f13601060dc len=9
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
  0000:  60 07 02 01 03 04 00 80  00                        `........         
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f13601060d0 ptr=0x7f13601060da end=0x7f13601060dc len=2
  0000:  00 00                                              ..                
5ec3eac0 >>> dnPrettyNormal: <>
5ec3eac0 <<< dnPrettyNormal: <>, <>
5ec3eac0 do_bind: version=3 dn="" method=128
5ec3eac0 send_ldap_result: conn=1020 op=0 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eac0 do_bind: v3 anonymous bind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10): got connid=1020
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_read(10): checking for input on id=1020
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_get_next
ldap_read: want=8, got=8
  0000:  30 3c 02 01 02 63 37 04                            0<...c7.          
ldap_read: want=54, got=54
  0000:  11 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   .dc=example,dc=n  
  0010:  65 74 0a 01 02 0a 01 00  02 01 00 02 01 00 01 01   et..............  
  0020:  00 a3 0c 04 03 75 69 64  04 05 74 65 73 74 31 30   .....uid..test10  
  0030:  05 04 03 31 2e 31                                  ...1.1            
ber_get_next: tag 0x30 len 60 contents:
ber_dump: buf=0x7f1364107aa0 ptr=0x7f1364107aa0 end=0x7f1364107adc len=60
  0000:  02 01 02 63 37 04 11 64  63 3d 65 78 61 6d 70 6c   ...c7..dc=exampl  
  0010:  65 2c 64 63 3d 6e 65 74  0a 01 02 0a 01 00 02 01   e,dc=net........  
  0020:  00 02 01 00 01 01 00 a3  0c 04 03 75 69 64 04 05   ...........uid..  
  0030:  74 65 73 74 31 30 05 04  03 31 2e 31               test10...1.1      
5ec3eac0 op tag 0x63, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1020 op=1 do_search
ber_scanf fmt ({miiiib) ber:
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:ber_dump: buf=0x7f1364107aa0 ptr=0x7f1364107aa3 end=0x7f1364107adc len=57

5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
  0000:  63 37 04 11 64 63 3d 65  78 61 6d 70 6c 65 2c 64   c7..dc=example,d  
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
  0010:  63 3d 6e 65 74 0a 01 02  0a 01 00 02 01 00 02 01   c=net...........  
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0020:  00 01 01 00 a3 0c 04 03  75 69 64 04 05 74 65 73   ........uid..tes  
  0030:  74 31 30 05 04 03 31 2e  31                        t10...1.1         
5ec3eac0 >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eac0 SRCH "dc=example,dc=net" 2 0    0 0 0
5ec3eac0 begin get_filter
5ec3eac0 EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1364107aa0 ptr=0x7f1364107ac7 end=0x7f1364107adc len=21
  0000:  a3 0c 04 03 75 69 64 04  05 74 65 73 74 31 30 05   ....uid..test10.  
  0010:  04 03 31 2e 31                                     ..1.1             
5ec3eac0 end get_filter 0
5ec3eac0     filter: (uid=test1)
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x7f1364107aa0 ptr=0x7f1364107ad5 end=0x7f1364107adc len=7
  0000:  00 05 04 03 31 2e 31                               ....1.1           
5ec3eac0     attrs: 1.1
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eac0 ==> limits_get: conn=1020 op=1 self="[anonymous]" this="dc=example,dc=net"
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test1,dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 6
5ec3eac0 => send_search_entry: conn 1020 dn="uid=test1,dc=example,dc=net"
5ec3eac0 => access_allowed: read access to "uid=test1,dc=example,dc=net" "entry" requested
5ec3eac0 => acl_get: [1] attr entry
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "entry" requested
5ec3eac0 => acl_mask: to all values by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: read access granted by read(=rscxd)
5ec3eac0 => access_allowed: read access granted by read(=rscxd)
ber_flush2: 38 bytes to sd 10
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
ldap_write: want=38, written=38
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
5ec3eac0 <= send_search_entry: conn 1020 exit.
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test2,dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 send_ldap_result: conn=1020 op=1 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1020
5ec3eac0 connection_read(10): checking for input on id=1020
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f13601060d0 ptr=0x7f13601060d0 end=0x7f13601060d5 len=5
  0000:  02 01 03 42 00                                     ...B.             
5ec3eac0 op tag 0x42, time 1589897920
ber_get_next
ldap_read: want=8, got=0

5ec3eac0 ber_get_next on fd 10 failed errno=0 (Success)
5ec3eac0 connection_read(10): input error=-2 id=1020, closing.
5ec3eac0 connection_closing: readying conn=1020 sd=10 for close
5ec3eac0 connection_close: deferring conn=1020 sd=10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 conn=1020 op=2 do_unbind
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 connection_resched: attempting closing conn=1020 sd=10
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_close: conn=1020 sd=10
5ec3eac0 daemon: removing 10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 slap_listener_activate(6): 
5ec3eac0 daemon: epoll: listen=6 busy
5ec3eac0 >>> slap_listener(ldap://localhost:56118)
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: accept() = 10
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: listen=6, new connection on 10
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: added 10r (active) listener=(nil)
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10): got connid=1021
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_read(10): checking for input on id=1021
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_get_next
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
ldap_read: want=8, got=8
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
  0000:  30 2e 02 01 01 60 29 02                            0....`).          
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
ldap_read: want=40, got=40
  0000:  01 03 04 1b 75 69 64 3d  74 65 73 74 31 2c 64 63   ....uid=test1,dc  
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
  0010:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 80   =example,dc=net.  
  0020:  07 73 65 63 72 65 74 31                            .secret1          
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_get_next: tag 0x30 len 46 contents:
ber_dump: buf=0x7f1360103b70 ptr=0x7f1360103b70 end=0x7f1360103b9e len=46
  0000:  02 01 01 60 29 02 01 03  04 1b 75 69 64 3d 74 65   ...`).....uid=te  
  0010:  73 74 31 2c 64 63 3d 65  78 61 6d 70 6c 65 2c 64   st1,dc=example,d  
  0020:  63 3d 6e 65 74 80 07 73  65 63 72 65 74 31         c=net..secret1    
5ec3eac0 op tag 0x60, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1021 op=0 do_bind
5ec3eac0 daemon: activity on 1 descriptor
ber_scanf fmt ({imt) ber:
5ec3eac0 daemon: activity on:
ber_dump: buf=0x7f1360103b70 ptr=0x7f1360103b73 end=0x7f1360103b9e len=43
  0000:  60 29 02 01 03 04 1b 75  69 64 3d 74 65 73 74 31   `).....uid=test1  
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
  0010:  2c 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   ,dc=example,dc=n  
  0020:  65 74 80 07 73 65 63 72  65 74 31                  et..secret1       
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
ber_scanf fmt (m}) ber:
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_dump: buf=0x7f1360103b70 ptr=0x7f1360103b95 end=0x7f1360103b9e len=9
  0000:  00 07 73 65 63 72 65 74  31                        ..secret1         
5ec3eac0 >>> dnPrettyNormal: <uid=test1,dc=example,dc=net>
=> ldap_bv2dn(uid=test1,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1,dc=example,dc=net>, <uid=test1,dc=example,dc=net>
5ec3eac0 do_bind: version=3 dn="uid=test1,dc=example,dc=net" method=128
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eac0 => access_allowed: result not in cache (userPassword)
5ec3eac0 => access_allowed: auth access to "uid=test1,dc=example,dc=net" "userPassword" requested
5ec3eac0 => acl_get: [1] attr userPassword
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "userPassword" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: auth access granted by read(=rscxd)
5ec3eac0 => access_allowed: auth access granted by read(=rscxd)
5ec3eac0 do_bind: v3 bind: "uid=test1,dc=example,dc=net" to "uid=test1,dc=example,dc=net"
5ec3eac0 send_ldap_result: conn=1021 op=0 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10): got connid=1021
5ec3eac0 connection_read(10): checking for input on id=1021
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f13641046c0 ptr=0x7f13641046c0 end=0x7f13641046c5 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eac0 op tag 0x42, time 1589897920
ber_get_next
ldap_read: want=8, got=0

5ec3eac0 ber_get_next on fd 10 failed errno=0 (Success)
5ec3eac0 connection_read(10): input error=-2 id=1021, closing.
5ec3eac0 connection_closing: readying conn=1021 sd=10 for close
5ec3eac0 connection_close: deferring conn=1021 sd=10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 conn=1021 op=1 do_unbind
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_resched: attempting closing conn=1021 sd=10
5ec3eac0 connection_close: conn=1021 sd=10
5ec3eac0 daemon: removing 10
1
ok 12 - search+bind with LDAP URL authentication succeeds
# search filters
### Restarting node "node"
# Running: pg_ctl -D /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata -l /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/log/001_auth_node.log restart
waiting for server to shut down.... done
server stopped
waiting for server to start.... done
server started
# Postmaster PID for node "node" is 25763
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 slap_listener_activate(6): 
5ec3eac0 daemon: epoll: listen=6 busy
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 >>> slap_listener(ldap://localhost:56118)
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: accept() = 10
5ec3eac0 daemon: listen=6, new connection on 10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: added 10r (active) listener=(nil)
5ec3eac0 daemon: activity on 2 descriptors
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1022
5ec3eac0 connection_read(10): checking for input on id=1022
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
ber_get_next
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ldap_read: want=8, got=8
  0000:  30 0c 02 01 01 60 07 02                            0....`..          
ldap_read: want=6, got=6
  0000:  01 03 04 00 80 00                                  ......            
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf=0x7f1364104760 ptr=0x7f1364104760 end=0x7f136410476c len=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........      
5ec3eac0 op tag 0x60, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1022 op=0 do_bind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1364104760 ptr=0x7f1364104763 end=0x7f136410476c len=9
  0000:  60 07 02 01 03 04 00 80  00                        `........         
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1364104760 ptr=0x7f136410476a end=0x7f136410476c len=2
  0000:  00 00                                              ..                
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 >>> dnPrettyNormal: <>
5ec3eac0 <<< dnPrettyNormal: <>, <>
5ec3eac0 do_bind: version=3 dn="" method=128
5ec3eac0 send_ldap_result: conn=1022 op=0 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eac0 do_bind: v3 anonymous bind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1022
5ec3eac0 connection_read(10): checking for input on id=1022
ber_get_next
ldap_read: want=8, got=8
  0000:  30 4d 02 01 02 63 48 04                            0M...cH.          
ldap_read: want=71, got=71
  0000:  11 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   .dc=example,dc=n  
  0010:  65 74 0a 01 02 0a 01 00  02 01 00 02 01 00 01 01   et..............  
  0020:  00 a1 1d a3 0c 04 03 75  69 64 04 05 74 65 73 74   .......uid..test  
  0030:  31 a3 0d 04 04 6d 61 69  6c 04 05 74 65 73 74 31   1....mail..test1  
  0040:  30 05 04 03 31 2e 31                               0...1.1           
ber_get_next: tag 0x30 len 77 contents:
ber_dump: buf=0x7f1360106a20 ptr=0x7f1360106a20 end=0x7f1360106a6d len=77
  0000:  02 01 02 63 48 04 11 64  63 3d 65 78 61 6d 70 6c   ...cH..dc=exampl  
  0010:  65 2c 64 63 3d 6e 65 74  0a 01 02 0a 01 00 02 01   e,dc=net........  
  0020:  00 02 01 00 01 01 00 a1  1d a3 0c 04 03 75 69 64   .............uid  
  0030:  04 05 74 65 73 74 31 a3  0d 04 04 6d 61 69 6c 04   ..test1....mail.  
  0040:  05 74 65 73 74 31 30 05  04 03 31 2e 31            .test10...1.1     
5ec3eac0 op tag 0x63, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1022 op=1 do_search
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
ber_scanf fmt ({miiiib) ber:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
ber_dump: buf=0x7f1360106a20 ptr=0x7f1360106a23 end=0x7f1360106a6d len=74
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0000:  63 48 04 11 64 63 3d 65  78 61 6d 70 6c 65 2c 64   cH..dc=example,d  
  0010:  63 3d 6e 65 74 0a 01 02  0a 01 00 02 01 00 02 01   c=net...........  
  0020:  00 01 01 00 a1 1d a3 0c  04 03 75 69 64 04 05 74   ..........uid..t  
  0030:  65 73 74 31 a3 0d 04 04  6d 61 69 6c 04 05 74 65   est1....mail..te  
  0040:  73 74 31 30 05 04 03 31  2e 31                     st10...1.1        
5ec3eac0 >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eac0 SRCH "dc=example,dc=net" 2 0    0 0 0
5ec3eac0 begin get_filter
5ec3eac0 OR
5ec3eac0 begin get_filter_list
5ec3eac0 begin get_filter
5ec3eac0 EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1360106a20 ptr=0x7f1360106a49 end=0x7f1360106a6d len=36
  0000:  a3 0c 04 03 75 69 64 04  05 74 65 73 74 31 a3 0d   ....uid..test1..  
  0010:  04 04 6d 61 69 6c 04 05  74 65 73 74 31 30 05 04   ..mail..test10..  
  0020:  03 31 2e 31                                        .1.1              
5ec3eac0 end get_filter 0
5ec3eac0 begin get_filter
5ec3eac0 EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1360106a20 ptr=0x7f1360106a57 end=0x7f1360106a6d len=22
  0000:  00 0d 04 04 6d 61 69 6c  04 05 74 65 73 74 31 30   ....mail..test10  
  0010:  05 04 03 31 2e 31                                  ...1.1            
5ec3eac0 end get_filter 0
5ec3eac0 end get_filter_list
5ec3eac0 end get_filter 0
5ec3eac0     filter: (|(uid=test1)(mail=test1))
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x7f1360106a20 ptr=0x7f1360106a66 end=0x7f1360106a6d len=7
  0000:  00 05 04 03 31 2e 31                               ....1.1           
5ec3eac0     attrs: 1.1
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eac0 ==> limits_get: conn=1022 op=1 self="[anonymous]" this="dc=example,dc=net"
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     OR
5ec3eac0 => test_filter_or
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "dc=example,dc=net" "mail" requested
5ec3eac0 => acl_get: [1] attr mail
5ec3eac0 => acl_mask: access to entry "dc=example,dc=net", attr "mail" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 <= test_filter_or 5
5ec3eac0 <= test_filter 5
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     OR
5ec3eac0 => test_filter_or
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test1,dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 6
5ec3eac0 <= test_filter_or 6
5ec3eac0 <= test_filter 6
5ec3eac0 => send_search_entry: conn 1022 dn="uid=test1,dc=example,dc=net"
5ec3eac0 => access_allowed: read access to "uid=test1,dc=example,dc=net" "entry" requested
5ec3eac0 => acl_get: [1] attr entry
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "entry" requested
5ec3eac0 => acl_mask: to all values by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: read access granted by read(=rscxd)
5ec3eac0 => access_allowed: read access granted by read(=rscxd)
ber_flush2: 38 bytes to sd 10
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
ldap_write: want=38, written=38
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
5ec3eac0 <= send_search_entry: conn 1022 exit.
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     OR
5ec3eac0 => test_filter_or
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test2,dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test2,dc=example,dc=net" "mail" requested
5ec3eac0 => acl_get: [1] attr mail
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "mail" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 <= test_filter_or 5
5ec3eac0 <= test_filter 5
5ec3eac0 send_ldap_result: conn=1022 op=1 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1022
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_read(10): checking for input on id=1022
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1364104760 ptr=0x7f1364104760 end=0x7f1364104765 len=5
  0000:  02 01 03 42 00                                     ...B.             
5ec3eac0 op tag 0x42, time 1589897920
ber_get_next
ldap_read: want=8, got=0

5ec3eac0 ber_get_next on fd 10 failed errno=0 (Success)
5ec3eac0 connection_read(10): input error=-2 id=1022, closing.
5ec3eac0 connection_closing: readying conn=1022 sd=10 for close
5ec3eac0 connection_close: deferring conn=1022 sd=10
5ec3eac0 conn=1022 op=2 do_unbind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_resched: attempting closing conn=1022 sd=10
5ec3eac0 connection_close: conn=1022 sd=10
5ec3eac0 daemon: removing 10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 slap_listener_activate(6): 
5ec3eac0 daemon: epoll: listen=6 busy
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 >>> slap_listener(ldap://localhost:56118)
5ec3eac0 daemon: accept() = 10
5ec3eac0 daemon: listen=6, new connection on 10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: added 10r (active) listener=(nil)
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1023
5ec3eac0 connection_read(10): checking for input on id=1023
ber_get_next
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
ldap_read: want=8, got=8
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0000:  30 2e 02 01 01 60 29 02                            0....`).          
ldap_read: want=40, got=40
  0000:  01 03 04 1b 75 69 64 3d  74 65 73 74 31 2c 64 63   ....uid=test1,dc  
  0010:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 80   =example,dc=net.  
  0020:  07 73 65 63 72 65 74 31                            .secret1          
ber_get_next: tag 0x30 len 46 contents:
ber_dump: buf=0x7f1364000e10 ptr=0x7f1364000e10 end=0x7f1364000e3e len=46
  0000:  02 01 01 60 29 02 01 03  04 1b 75 69 64 3d 74 65   ...`).....uid=te  
  0010:  73 74 31 2c 64 63 3d 65  78 61 6d 70 6c 65 2c 64   st1,dc=example,d  
  0020:  63 3d 6e 65 74 80 07 73  65 63 72 65 74 31         c=net..secret1    
5ec3eac0 op tag 0x60, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1023 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1364000e10 ptr=0x7f1364000e13 end=0x7f1364000e3e len=43
  0000:  60 29 02 01 03 04 1b 75  69 64 3d 74 65 73 74 31   `).....uid=test1  
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
  0010:  2c 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   ,dc=example,dc=n  
  0020:  65 74 80 07 73 65 63 72  65 74 31                  et..secret1       
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1364000e10 ptr=0x7f1364000e35 end=0x7f1364000e3e len=9
  0000:  00 07 73 65 63 72 65 74  31                        ..secret1         
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 >>> dnPrettyNormal: <uid=test1,dc=example,dc=net>
=> ldap_bv2dn(uid=test1,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1,dc=example,dc=net>, <uid=test1,dc=example,dc=net>
5ec3eac0 do_bind: version=3 dn="uid=test1,dc=example,dc=net" method=128
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eac0 => access_allowed: result not in cache (userPassword)
5ec3eac0 => access_allowed: auth access to "uid=test1,dc=example,dc=net" "userPassword" requested
5ec3eac0 => acl_get: [1] attr userPassword
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "userPassword" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: auth access granted by read(=rscxd)
5ec3eac0 => access_allowed: auth access granted by read(=rscxd)
5ec3eac0 do_bind: v3 bind: "uid=test1,dc=example,dc=net" to "uid=test1,dc=example,dc=net"
5ec3eac0 send_ldap_result: conn=1023 op=0 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1023
5ec3eac0 connection_read(10): checking for input on id=1023
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1360103600 ptr=0x7f1360103600 end=0x7f1360103605 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eac0 op tag 0x42, time 1589897920
ber_get_next
ldap_read: want=8, got=0

5ec3eac0 ber_get_next on fd 10 failed errno=0 (Success)
5ec3eac0 connection_read(10): input error=-2 id=1023, closing.
5ec3eac0 connection_closing: readying conn=1023 sd=10 for close
5ec3eac0 connection_close: deferring conn=1023 sd=10
5ec3eac0 conn=1023 op=1 do_unbind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 connection_resched: attempting closing conn=1023 sd=10
5ec3eac0 connection_close: conn=1023 sd=10
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: removing 10
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
1
ok 13 - search filter finds by uid
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 slap_listener_activate(6): 
5ec3eac0 daemon: epoll: listen=6 busy
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 >>> slap_listener(ldap://localhost:56118)
5ec3eac0 daemon: accept() = 10
5ec3eac0 daemon: listen=6, new connection on 10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: added 10r (active) listener=(nil)
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1024
5ec3eac0 connection_read(10): checking for input on id=1024
5ec3eac0 daemon: activity on 1 descriptor
ber_get_next
5ec3eac0 daemon: activity on:
ldap_read: want=8, got=8
  0000:  30 0c 02 01 01 60 07 02                            0....`..          
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
ldap_read: want=6, got=6
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
  0000:  01 03 04 00 80 00                                  ......            
ber_get_next: tag 0x30 len 12 contents:
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_dump: buf=0x7f1360101440 ptr=0x7f1360101440 end=0x7f136010144c len=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........      
5ec3eac0 op tag 0x60, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1024 op=0 do_bind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
ber_scanf fmt ({imt) ber:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
ber_dump: buf=0x7f1360101440 ptr=0x7f1360101443 end=0x7f136010144c len=9
  0000:  60 07 02 01 03 04 00 80  00                        `........         
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1360101440 ptr=0x7f136010144a end=0x7f136010144c len=2
  0000:  00 00                                              ..                
5ec3eac0 >>> dnPrettyNormal: <>
5ec3eac0 <<< dnPrettyNormal: <>, <>
5ec3eac0 do_bind: version=3 dn="" method=128
5ec3eac0 send_ldap_result: conn=1024 op=0 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eac0 do_bind: v3 anonymous bind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1024
5ec3eac0 connection_read(10): checking for input on id=1024
ber_get_next
ldap_read: want=8, got=8
  0000:  30 65 02 01 02 63 60 04                            0e...c`.          
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ldap_read: want=95, got=95
  0000:  11 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   .dc=example,dc=n  
  0010:  65 74 0a 01 02 0a 01 00  02 01 00 02 01 00 01 01   et..............  
  0020:  00 a1 35 a3 18 04 03 75  69 64 04 11 74 65 73 74   ..5....uid..test  
  0030:  32 40 65 78 61 6d 70 6c  65 2e 6e 65 74 a3 19 04   2@example.net...  
  0040:  04 6d 61 69 6c 04 11 74  65 73 74 32 40 65 78 61   .mail..test2@exa  
  0050:  6d 70 6c 65 2e 6e 65 74  30 05 04 03 31 2e 31      mple.net0...1.1   
ber_get_next: tag 0x30 len 101 contents:
ber_dump: buf=0x7f1364105980 ptr=0x7f1364105980 end=0x7f13641059e5 len=101
  0000:  02 01 02 63 60 04 11 64  63 3d 65 78 61 6d 70 6c   ...c`..dc=exampl  
  0010:  65 2c 64 63 3d 6e 65 74  0a 01 02 0a 01 00 02 01   e,dc=net........  
  0020:  00 02 01 00 01 01 00 a1  35 a3 18 04 03 75 69 64   ........5....uid  
  0030:  04 11 74 65 73 74 32 40  65 78 61 6d 70 6c 65 2e   ..test2@example.  
  0040:  6e 65 74 a3 19 04 04 6d  61 69 6c 04 11 74 65 73   net....mail..tes  
  0050:  74 32 40 65 78 61 6d 70  6c 65 2e 6e 65 74 30 05   t2@example.net0.  
  0060:  04 03 31 2e 31                                     ..1.1             
5ec3eac0 op tag 0x63, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1024 op=1 do_search
ber_scanf fmt ({miiiib) ber:
ber_dump: buf=0x7f1364105980 ptr=0x7f1364105983 end=0x7f13641059e5 len=98
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
  0000:  63 60 04 11 64 63 3d 65  78 61 6d 70 6c 65 2c 64   c`..dc=example,d  
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0010:  63 3d 6e 65 74 0a 01 02  0a 01 00 02 01 00 02 01   c=net...........  
  0020:  00 01 01 00 a1 35 a3 18  04 03 75 69 64 04 11 74   .....5....uid..t  
  0030:  65 73 74 32 40 65 78 61  6d 70 6c 65 2e 6e 65 74   est2@example.net  
  0040:  a3 19 04 04 6d 61 69 6c  04 11 74 65 73 74 32 40   ....mail..test2@  
  0050:  65 78 61 6d 70 6c 65 2e  6e 65 74 30 05 04 03 31   example.net0...1  
  0060:  2e 31                                              .1                
5ec3eac0 >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eac0 SRCH "dc=example,dc=net" 2 0    0 0 0
5ec3eac0 begin get_filter
5ec3eac0 OR
5ec3eac0 begin get_filter_list
5ec3eac0 begin get_filter
5ec3eac0 EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1364105980 ptr=0x7f13641059a9 end=0x7f13641059e5 len=60
  0000:  a3 18 04 03 75 69 64 04  11 74 65 73 74 32 40 65   ....uid..test2@e  
  0010:  78 61 6d 70 6c 65 2e 6e  65 74 a3 19 04 04 6d 61   xample.net....ma  
  0020:  69 6c 04 11 74 65 73 74  32 40 65 78 61 6d 70 6c   il..test2@exampl  
  0030:  65 2e 6e 65 74 30 05 04  03 31 2e 31               e.net0...1.1      
5ec3eac0 end get_filter 0
5ec3eac0 begin get_filter
5ec3eac0 EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1364105980 ptr=0x7f13641059c3 end=0x7f13641059e5 len=34
  0000:  00 19 04 04 6d 61 69 6c  04 11 74 65 73 74 32 40   ....mail..test2@  
  0010:  65 78 61 6d 70 6c 65 2e  6e 65 74 30 05 04 03 31   example.net0...1  
  0020:  2e 31                                              .1                
5ec3eac0 end get_filter 0
5ec3eac0 end get_filter_list
5ec3eac0 end get_filter 0
5ec3eac0     filter: (|(uid=test2@example.net)(mail=test2@example.net))
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x7f1364105980 ptr=0x7f13641059de end=0x7f13641059e5 len=7
  0000:  00 05 04 03 31 2e 31                               ....1.1           
5ec3eac0     attrs: 1.1
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eac0 ==> limits_get: conn=1024 op=1 self="[anonymous]" this="dc=example,dc=net"
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     OR
5ec3eac0 => test_filter_or
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "dc=example,dc=net" "mail" requested
5ec3eac0 => acl_get: [1] attr mail
5ec3eac0 => acl_mask: access to entry "dc=example,dc=net", attr "mail" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 <= test_filter_or 5
5ec3eac0 <= test_filter 5
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     OR
5ec3eac0 => test_filter_or
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test1,dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test1,dc=example,dc=net" "mail" requested
5ec3eac0 => acl_get: [1] attr mail
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "mail" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 <= test_filter_or 5
5ec3eac0 <= test_filter 5
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     OR
5ec3eac0 => test_filter_or
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test2,dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test2,dc=example,dc=net" "mail" requested
5ec3eac0 => acl_get: [1] attr mail
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "mail" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 6
5ec3eac0 <= test_filter_or 6
5ec3eac0 <= test_filter 6
5ec3eac0 => send_search_entry: conn 1024 dn="uid=test2,dc=example,dc=net"
5ec3eac0 => access_allowed: read access to "uid=test2,dc=example,dc=net" "entry" requested
5ec3eac0 => acl_get: [1] attr entry
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "entry" requested
5ec3eac0 => acl_mask: to all values by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: read access granted by read(=rscxd)
5ec3eac0 => access_allowed: read access granted by read(=rscxd)
ber_flush2: 38 bytes to sd 10
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 32 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t2,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
ldap_write: want=38, written=38
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 32 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t2,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
5ec3eac0 <= send_search_entry: conn 1024 exit.
5ec3eac0 send_ldap_result: conn=1024 op=1 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1024
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_read(10): checking for input on id=1024
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1360101440 ptr=0x7f1360101440 end=0x7f1360101445 len=5
  0000:  02 01 03 42 00                                     ...B.             
5ec3eac0 op tag 0x42, time 1589897920
ber_get_next
ldap_read: want=8, got=0

5ec3eac0 ber_get_next on fd 10 failed errno=0 (Success)
5ec3eac0 connection_read(10): input error=-2 id=1024, closing.
5ec3eac0 connection_closing: readying conn=1024 sd=10 for close
5ec3eac0 connection_close: deferring conn=1024 sd=10
5ec3eac0 conn=1024 op=2 do_unbind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:connection_resched: attempting closing conn=1024 sd=10
5ec3eac0 connection_close: conn=1024 sd=10
5ec3eac0 
5ec3eac0 daemon: removing 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 slap_listener_activate(6): 
5ec3eac0 daemon: epoll: listen=6 busy
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 >>> slap_listener(ldap://localhost:56118)
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: accept() = 10
5ec3eac0 daemon: listen=6, new connection on 10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: added 10r (active) listener=(nil)
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1025
5ec3eac0 connection_read(10): checking for input on id=1025
ber_get_next
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
ldap_read: want=8, got=8
  0000:  30 2e 02 01 01 60 29 02                            0....`).          
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
ldap_read: want=40, got=40
  0000:  01 03 04 1b 75 69 64 3d  74 65 73 74 32 2c 64 63   ....uid=test2,dc  
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
  0010:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 80   =example,dc=net.  
  0020:  07 73 65 63 72 65 74 32                            .secret2          
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
ber_get_next: tag 0x30 len 46 contents:
ber_dump: buf=0x7f1360102ae0 ptr=0x7f1360102ae0 end=0x7f1360102b0e len=46
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0000:  02 01 01 60 29 02 01 03  04 1b 75 69 64 3d 74 65   ...`).....uid=te  
  0010:  73 74 32 2c 64 63 3d 65  78 61 6d 70 6c 65 2c 64   st2,dc=example,d  
  0020:  63 3d 6e 65 74 80 07 73  65 63 72 65 74 32         c=net..secret2    
5ec3eac0 op tag 0x60, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1025 op=0 do_bind
ber_scanf fmt ({imt) ber:
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
ber_dump: buf=0x7f1360102ae0 ptr=0x7f1360102ae3 end=0x7f1360102b0e len=43
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
  0000:  60 29 02 01 03 04 1b 75  69 64 3d 74 65 73 74 32   `).....uid=test2  
  0010:  2c 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   ,dc=example,dc=n  
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0020:  65 74 80 07 73 65 63 72  65 74 32                  et..secret2       
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1360102ae0 ptr=0x7f1360102b05 end=0x7f1360102b0e len=9
  0000:  00 07 73 65 63 72 65 74  32                        ..secret2         
5ec3eac0 >>> dnPrettyNormal: <uid=test2,dc=example,dc=net>
=> ldap_bv2dn(uid=test2,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test2,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2,dc=example,dc=net)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test2,dc=example,dc=net>, <uid=test2,dc=example,dc=net>
5ec3eac0 do_bind: version=3 dn="uid=test2,dc=example,dc=net" method=128
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eac0 => access_allowed: result not in cache (userPassword)
5ec3eac0 => access_allowed: auth access to "uid=test2,dc=example,dc=net" "userPassword" requested
5ec3eac0 => acl_get: [1] attr userPassword
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "userPassword" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: auth access granted by read(=rscxd)
5ec3eac0 => access_allowed: auth access granted by read(=rscxd)
5ec3eac0 do_bind: v3 bind: "uid=test2,dc=example,dc=net" to "uid=test2,dc=example,dc=net"
5ec3eac0 send_ldap_result: conn=1025 op=0 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1025
5ec3eac0 connection_read(10): checking for input on id=1025
ber_get_next
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1364105820 ptr=0x7f1364105820 end=0x7f1364105825 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eac0 op tag 0x42, time 1589897920
ber_get_next
ldap_read: want=8, got=0

5ec3eac0 ber_get_next on fd 10 failed errno=0 (Success)
5ec3eac0 connection_read(10): input error=-2 id=1025, closing.
5ec3eac0 connection_closing: readying conn=1025 sd=10 for close
5ec3eac0 connection_close: deferring conn=1025 sd=10
5ec3eac0 conn=1025 op=1 do_unbind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 connection_resched: attempting closing conn=1025 sd=10
5ec3eac0 connection_close: conn=1025 sd=10
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: removing 10
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
1
ok 14 - search filter finds by mail
# search filters in LDAP URLs
### Restarting node "node"
# Running: pg_ctl -D /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata -l /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/log/001_auth_node.log restart
waiting for server to shut down.... done
server stopped
waiting for server to start.... done
server started
# Postmaster PID for node "node" is 25778
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 slap_listener_activate(6): 
5ec3eac0 daemon: epoll: listen=6 busy
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 >>> slap_listener(ldap://localhost:56118)
5ec3eac0 daemon: accept() = 10
5ec3eac0 daemon: listen=6, new connection on 10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: added 10r (active) listener=(nil)
5ec3eac0 daemon: activity on 2 descriptors
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1026
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_read(10): checking for input on id=1026
ber_get_next
ldap_read: want=8, got=8
  0000:  30 0c 02 01 01 60 07 02                            0....`..          
ldap_read: want=6, got=6
  0000:  01 03 04 00 80 00                                  ......            
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf=0x7f1364003120 ptr=0x7f1364003120 end=0x7f136400312c len=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........      
5ec3eac0 op tag 0x60, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1026 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1364003120 ptr=0x7f1364003123 end=0x7f136400312c len=9
  0000:  60 07 02 01 03 04 00 80  00                        `........         
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1364003120 ptr=0x7f136400312a end=0x7f136400312c len=2
  0000:  00 00                                              ..                
5ec3eac0 >>> dnPrettyNormal: <>
5ec3eac0 <<< dnPrettyNormal: <>, <>
5ec3eac0 do_bind: version=3 dn="" method=128
5ec3eac0 send_ldap_result: conn=1026 op=0 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
ldap_write: want=14, written=14
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eac0 do_bind: v3 anonymous bind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1026
5ec3eac0 connection_read(10): checking for input on id=1026
ber_get_next
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ldap_read: want=8, got=8
  0000:  30 4d 02 01 02 63 48 04                            0M...cH.          
ldap_read: want=71, got=71
  0000:  11 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   .dc=example,dc=n  
  0010:  65 74 0a 01 02 0a 01 00  02 01 00 02 01 00 01 01   et..............  
  0020:  00 a1 1d a3 0c 04 03 75  69 64 04 05 74 65 73 74   .......uid..test  
  0030:  31 a3 0d 04 04 6d 61 69  6c 04 05 74 65 73 74 31   1....mail..test1  
  0040:  30 05 04 03 31 2e 31                               0...1.1           
ber_get_next: tag 0x30 len 77 contents:
ber_dump: buf=0x7f1360102760 ptr=0x7f1360102760 end=0x7f13601027ad len=77
  0000:  02 01 02 63 48 04 11 64  63 3d 65 78 61 6d 70 6c   ...cH..dc=exampl  
  0010:  65 2c 64 63 3d 6e 65 74  0a 01 02 0a 01 00 02 01   e,dc=net........  
  0020:  00 02 01 00 01 01 00 a1  1d a3 0c 04 03 75 69 64   .............uid  
  0030:  04 05 74 65 73 74 31 a3  0d 04 04 6d 61 69 6c 04   ..test1....mail.  
  0040:  05 74 65 73 74 31 30 05  04 03 31 2e 31            .test10...1.1     
5ec3eac0 op tag 0x63, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1026 op=1 do_search
ber_scanf fmt ({miiiib) ber:
ber_dump: buf=0x7f1360102760 ptr=0x7f1360102763 end=0x7f13601027ad len=74
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
  0000:  63 48 04 11 64 63 3d 65  78 61 6d 70 6c 65 2c 64   cH..dc=example,d  
  0010:  63 3d 6e 65 74 0a 01 02  0a 01 00 02 01 00 02 01   c=net...........  
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
  0020:  00 01 01 00 a1 1d a3 0c  04 03 75 69 64 04 05 74   ..........uid..t  
  0030:  65 73 74 31 a3 0d 04 04  6d 61 69 6c 04 05 74 65   est1....mail..te  
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0040:  73 74 31 30 05 04 03 31  2e 31                     st10...1.1        
5ec3eac0 >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eac0 SRCH "dc=example,dc=net" 2 0    0 0 0
5ec3eac0 begin get_filter
5ec3eac0 OR
5ec3eac0 begin get_filter_list
5ec3eac0 begin get_filter
5ec3eac0 EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1360102760 ptr=0x7f1360102789 end=0x7f13601027ad len=36
  0000:  a3 0c 04 03 75 69 64 04  05 74 65 73 74 31 a3 0d   ....uid..test1..  
  0010:  04 04 6d 61 69 6c 04 05  74 65 73 74 31 30 05 04   ..mail..test10..  
  0020:  03 31 2e 31                                        .1.1              
5ec3eac0 end get_filter 0
5ec3eac0 begin get_filter
5ec3eac0 EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1360102760 ptr=0x7f1360102797 end=0x7f13601027ad len=22
  0000:  00 0d 04 04 6d 61 69 6c  04 05 74 65 73 74 31 30   ....mail..test10  
  0010:  05 04 03 31 2e 31                                  ...1.1            
5ec3eac0 end get_filter 0
5ec3eac0 end get_filter_list
5ec3eac0 end get_filter 0
5ec3eac0     filter: (|(uid=test1)(mail=test1))
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x7f1360102760 ptr=0x7f13601027a6 end=0x7f13601027ad len=7
  0000:  00 05 04 03 31 2e 31                               ....1.1           
5ec3eac0     attrs: 1.1
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eac0 ==> limits_get: conn=1026 op=1 self="[anonymous]" this="dc=example,dc=net"
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     OR
5ec3eac0 => test_filter_or
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "dc=example,dc=net" "mail" requested
5ec3eac0 => acl_get: [1] attr mail
5ec3eac0 => acl_mask: access to entry "dc=example,dc=net", attr "mail" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 <= test_filter_or 5
5ec3eac0 <= test_filter 5
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     OR
5ec3eac0 => test_filter_or
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test1,dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 6
5ec3eac0 <= test_filter_or 6
5ec3eac0 <= test_filter 6
5ec3eac0 => send_search_entry: conn 1026 dn="uid=test1,dc=example,dc=net"
5ec3eac0 => access_allowed: read access to "uid=test1,dc=example,dc=net" "entry" requested
5ec3eac0 => acl_get: [1] attr entry
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "entry" requested
5ec3eac0 => acl_mask: to all values by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: read access granted by read(=rscxd)
5ec3eac0 => access_allowed: read access granted by read(=rscxd)
ber_flush2: 38 bytes to sd 10
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
ldap_write: want=38, written=38
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
5ec3eac0 <= send_search_entry: conn 1026 exit.
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     OR
5ec3eac0 => test_filter_or
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test2,dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test2,dc=example,dc=net" "mail" requested
5ec3eac0 => acl_get: [1] attr mail
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "mail" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 <= test_filter_or 5
5ec3eac0 <= test_filter 5
5ec3eac0 send_ldap_result: conn=1026 op=1 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10): got connid=1026
5ec3eac0 connection_read(10): checking for input on id=1026
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1364003120 ptr=0x7f1364003120 end=0x7f1364003125 len=5
  0000:  02 01 03 42 00                                     ...B.             
5ec3eac0 op tag 0x42, time 1589897920
ber_get_next
ldap_read: want=8, got=0

5ec3eac0 ber_get_next on fd 10 failed errno=0 (Success)
5ec3eac0 connection_read(10): input error=-2 id=1026, closing.
5ec3eac0 connection_closing: readying conn=1026 sd=10 for close
5ec3eac0 connection_close: deferring conn=1026 sd=10
5ec3eac0 conn=1026 op=2 do_unbind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 connection_resched: attempting closing conn=1026 sd=10
5ec3eac0 connection_close: conn=1026 sd=10
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: removing 10
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 slap_listener_activate(6): 
5ec3eac0 daemon: epoll: listen=6 busy
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 >>> slap_listener(ldap://localhost:56118)
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: accept() = 10
5ec3eac0 daemon: listen=6, new connection on 10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: added 10r (active) listener=(nil)
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1027
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_read(10): checking for input on id=1027
ber_get_next
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ldap_read: want=8, got=8
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
  0000:  30 2e 02 01 01 60 29 02                            0....`).          
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
ldap_read: want=40, got=40
  0000:  01 03 04 1b 75 69 64 3d  74 65 73 74 31 2c 64 63   ....uid=test1,dc  
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0010:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 80   =example,dc=net.  
  0020:  07 73 65 63 72 65 74 31                            .secret1          
ber_get_next: tag 0x30 len 46 contents:
ber_dump: buf=0x7f1364001150 ptr=0x7f1364001150 end=0x7f136400117e len=46
  0000:  02 01 01 60 29 02 01 03  04 1b 75 69 64 3d 74 65   ...`).....uid=te  
  0010:  73 74 31 2c 64 63 3d 65  78 61 6d 70 6c 65 2c 64   st1,dc=example,d  
  0020:  63 3d 6e 65 74 80 07 73  65 63 72 65 74 31         c=net..secret1    
5ec3eac0 op tag 0x60, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1027 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1364001150 ptr=0x7f1364001153 end=0x7f136400117e len=43
  0000:  60 29 02 01 03 04 1b 75  69 64 3d 74 65 73 74 31   `).....uid=test1  
  0010:  2c 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   ,dc=example,dc=n  
  0020:  65 74 80 07 73 65 63 72  65 74 31                  et..secret1       
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1364001150 ptr=0x7f1364001175 end=0x7f136400117e len=9
  0000:  00 07 73 65 63 72 65 74  31                        ..secret1         
5ec3eac0 >>> dnPrettyNormal: <uid=test1,dc=example,dc=net>
=> ldap_bv2dn(uid=test1,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)

5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1,dc=example,dc=net>, <uid=test1,dc=example,dc=net>
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 do_bind: version=3 dn="uid=test1,dc=example,dc=net" method=128
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eac0 => access_allowed: result not in cache (userPassword)
5ec3eac0 => access_allowed: auth access to "uid=test1,dc=example,dc=net" "userPassword" requested
5ec3eac0 => acl_get: [1] attr userPassword
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "userPassword" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: auth access granted by read(=rscxd)
5ec3eac0 => access_allowed: auth access granted by read(=rscxd)
5ec3eac0 do_bind: v3 bind: "uid=test1,dc=example,dc=net" to "uid=test1,dc=example,dc=net"
5ec3eac0 send_ldap_result: conn=1027 op=0 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1027
5ec3eac0 connection_read(10): checking for input on id=1027
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1360103390 ptr=0x7f1360103390 end=0x7f1360103395 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eac0 op tag 0x42, time 1589897920
ber_get_next
ldap_read: want=8, got=0

5ec3eac0 ber_get_next on fd 10 failed errno=0 (Success)
5ec3eac0 connection_read(10): input error=-2 id=1027, closing.
5ec3eac0 connection_closing: readying conn=1027 sd=10 for close
5ec3eac0 connection_close: deferring conn=1027 sd=10
5ec3eac0 conn=1027 op=1 do_unbind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:connection_resched: attempting closing conn=1027 sd=10
5ec3eac0 connection_close: conn=1027 sd=10
5ec3eac0 
5ec3eac0 daemon: removing 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
1
ok 15 - search filter finds by uid
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 slap_listener_activate(6): 
5ec3eac0 daemon: epoll: listen=6 busy
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 >>> slap_listener(ldap://localhost:56118)
5ec3eac0 daemon: accept() = 10
5ec3eac0 daemon: listen=6, new connection on 10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: added 10r (active) listener=(nil)
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 connection_get(10): got connid=1028
5ec3eac0 daemon: activity on:connection_read(10): checking for input on id=1028
5ec3eac0 
ber_get_next
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
ldap_read: want=8, got=8
  0000:  30 0c 02 01 01 60 07 02                            0....`..          
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
ldap_read: want=6, got=6
  0000:  01 03 04 00 80 00                                  ......            
ber_get_next: tag 0x30 len 12 contents:
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_dump: buf=0x7f1364105880 ptr=0x7f1364105880 end=0x7f136410588c len=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........      
5ec3eac0 op tag 0x60, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1028 op=0 do_bind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
ber_scanf fmt ({imt) ber:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_dump: buf=0x7f1364105880 ptr=0x7f1364105883 end=0x7f136410588c len=9
  0000:  60 07 02 01 03 04 00 80  00                        `........         
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1364105880 ptr=0x7f136410588a end=0x7f136410588c len=2
  0000:  00 00                                              ..                
5ec3eac0 >>> dnPrettyNormal: <>
5ec3eac0 <<< dnPrettyNormal: <>, <>
5ec3eac0 do_bind: version=3 dn="" method=128
5ec3eac0 send_ldap_result: conn=1028 op=0 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eac0 do_bind: v3 anonymous bind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1028
5ec3eac0 connection_read(10): checking for input on id=1028
ber_get_next
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ldap_read: want=8, got=8
  0000:  30 65 02 01 02 63 60 04                            0e...c`.          
ldap_read: want=95, got=95
  0000:  11 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   .dc=example,dc=n  
  0010:  65 74 0a 01 02 0a 01 00  02 01 00 02 01 00 01 01   et..............  
  0020:  00 a1 35 a3 18 04 03 75  69 64 04 11 74 65 73 74   ..5....uid..test  
  0030:  32 40 65 78 61 6d 70 6c  65 2e 6e 65 74 a3 19 04   2@example.net...  
  0040:  04 6d 61 69 6c 04 11 74  65 73 74 32 40 65 78 61   .mail..test2@exa  
  0050:  6d 70 6c 65 2e 6e 65 74  30 05 04 03 31 2e 31      mple.net0...1.1   
ber_get_next: tag 0x30 len 101 contents:
ber_dump: buf=0x7f1360107850 ptr=0x7f1360107850 end=0x7f13601078b5 len=101
  0000:  02 01 02 63 60 04 11 64  63 3d 65 78 61 6d 70 6c   ...c`..dc=exampl  
  0010:  65 2c 64 63 3d 6e 65 74  0a 01 02 0a 01 00 02 01   e,dc=net........  
  0020:  00 02 01 00 01 01 00 a1  35 a3 18 04 03 75 69 64   ........5....uid  
  0030:  04 11 74 65 73 74 32 40  65 78 61 6d 70 6c 65 2e   ..test2@example.  
  0040:  6e 65 74 a3 19 04 04 6d  61 69 6c 04 11 74 65 73   net....mail..tes  
  0050:  74 32 40 65 78 61 6d 70  6c 65 2e 6e 65 74 30 05   t2@example.net0.  
  0060:  04 03 31 2e 31                                     ..1.1             
5ec3eac0 op tag 0x63, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1028 op=1 do_search
ber_scanf fmt ({miiiib) ber:
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
ber_dump: buf=0x7f1360107850 ptr=0x7f1360107853 end=0x7f13601078b5 len=98
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0000:  63 60 04 11 64 63 3d 65  78 61 6d 70 6c 65 2c 64   c`..dc=example,d  
  0010:  63 3d 6e 65 74 0a 01 02  0a 01 00 02 01 00 02 01   c=net...........  
  0020:  00 01 01 00 a1 35 a3 18  04 03 75 69 64 04 11 74   .....5....uid..t  
  0030:  65 73 74 32 40 65 78 61  6d 70 6c 65 2e 6e 65 74   est2@example.net  
  0040:  a3 19 04 04 6d 61 69 6c  04 11 74 65 73 74 32 40   ....mail..test2@  
  0050:  65 78 61 6d 70 6c 65 2e  6e 65 74 30 05 04 03 31   example.net0...1  
  0060:  2e 31                                              .1                
5ec3eac0 >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eac0 SRCH "dc=example,dc=net" 2 0    0 0 0
5ec3eac0 begin get_filter
5ec3eac0 OR
5ec3eac0 begin get_filter_list
5ec3eac0 begin get_filter
5ec3eac0 EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1360107850 ptr=0x7f1360107879 end=0x7f13601078b5 len=60
  0000:  a3 18 04 03 75 69 64 04  11 74 65 73 74 32 40 65   ....uid..test2@e  
  0010:  78 61 6d 70 6c 65 2e 6e  65 74 a3 19 04 04 6d 61   xample.net....ma  
  0020:  69 6c 04 11 74 65 73 74  32 40 65 78 61 6d 70 6c   il..test2@exampl  
  0030:  65 2e 6e 65 74 30 05 04  03 31 2e 31               e.net0...1.1      
5ec3eac0 end get_filter 0
5ec3eac0 begin get_filter
5ec3eac0 EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f1360107850 ptr=0x7f1360107893 end=0x7f13601078b5 len=34
  0000:  00 19 04 04 6d 61 69 6c  04 11 74 65 73 74 32 40   ....mail..test2@  
  0010:  65 78 61 6d 70 6c 65 2e  6e 65 74 30 05 04 03 31   example.net0...1  
  0020:  2e 31                                              .1                
5ec3eac0 end get_filter 0
5ec3eac0 end get_filter_list
5ec3eac0 end get_filter 0
5ec3eac0     filter: (|(uid=test2@example.net)(mail=test2@example.net))
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x7f1360107850 ptr=0x7f13601078ae end=0x7f13601078b5 len=7
  0000:  00 05 04 03 31 2e 31                               ....1.1           
5ec3eac0     attrs: 1.1
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eac0 ==> limits_get: conn=1028 op=1 self="[anonymous]" this="dc=example,dc=net"
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     OR
5ec3eac0 => test_filter_or
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "dc=example,dc=net" "mail" requested
5ec3eac0 => acl_get: [1] attr mail
5ec3eac0 => acl_mask: access to entry "dc=example,dc=net", attr "mail" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 <= test_filter_or 5
5ec3eac0 <= test_filter 5
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     OR
5ec3eac0 => test_filter_or
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test1,dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test1,dc=example,dc=net" "mail" requested
5ec3eac0 => acl_get: [1] attr mail
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "mail" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 <= test_filter_or 5
5ec3eac0 <= test_filter 5
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     OR
5ec3eac0 => test_filter_or
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test2,dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test2,dc=example,dc=net" "mail" requested
5ec3eac0 => acl_get: [1] attr mail
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "mail" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 6
5ec3eac0 <= test_filter_or 6
5ec3eac0 <= test_filter 6
5ec3eac0 => send_search_entry: conn 1028 dn="uid=test2,dc=example,dc=net"
5ec3eac0 => access_allowed: read access to "uid=test2,dc=example,dc=net" "entry" requested
5ec3eac0 => acl_get: [1] attr entry
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "entry" requested
5ec3eac0 => acl_mask: to all values by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: read access granted by read(=rscxd)
5ec3eac0 => access_allowed: read access granted by read(=rscxd)
ber_flush2: 38 bytes to sd 10
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 32 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t2,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
ldap_write: want=38, written=38
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 32 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t2,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
5ec3eac0 <= send_search_entry: conn 1028 exit.
5ec3eac0 send_ldap_result: conn=1028 op=1 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1028
5ec3eac0 connection_read(10): checking for input on id=1028
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1364105880 ptr=0x7f1364105880 end=0x7f1364105885 len=5
  0000:  02 01 03 42 00                                     ...B.             
5ec3eac0 op tag 0x42, time 1589897920
ber_get_next
ldap_read: want=8, got=0

5ec3eac0 ber_get_next on fd 10 failed errno=0 (Success)
5ec3eac0 connection_read(10): input error=-2 id=1028, closing.
5ec3eac0 connection_closing: readying conn=1028 sd=10 for close
5ec3eac0 connection_close: deferring conn=1028 sd=10
5ec3eac0 conn=1028 op=2 do_unbind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 connection_resched: attempting closing conn=1028 sd=10
5ec3eac0 connection_close: conn=1028 sd=10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: removing 10
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 slap_listener_activate(6): 
5ec3eac0 daemon: epoll: listen=6 busy
5ec3eac0 >>> slap_listener(ldap://localhost:56118)
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: accept() = 10
5ec3eac0 daemon: listen=6, new connection on 10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: added 10r (active) listener=(nil)
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1029
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 connection_read(10): checking for input on id=1029
ber_get_next
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
ldap_read: want=8, got=8
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0000:  30 2e 02 01 01 60 29 02                            0....`).          
ldap_read: want=40, got=40
  0000:  01 03 04 1b 75 69 64 3d  74 65 73 74 32 2c 64 63   ....uid=test2,dc  
  0010:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 80   =example,dc=net.  
  0020:  07 73 65 63 72 65 74 32                            .secret2          
ber_get_next: tag 0x30 len 46 contents:
ber_dump: buf=0x7f1364107a60 ptr=0x7f1364107a60 end=0x7f1364107a8e len=46
  0000:  02 01 01 60 29 02 01 03  04 1b 75 69 64 3d 74 65   ...`).....uid=te  
  0010:  73 74 32 2c 64 63 3d 65  78 61 6d 70 6c 65 2c 64   st2,dc=example,d  
  0020:  63 3d 6e 65 74 80 07 73  65 63 72 65 74 32         c=net..secret2    
5ec3eac0 op tag 0x60, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1029 op=0 do_bind
ber_scanf fmt ({imt) ber:
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
ber_dump: buf=0x7f1364107a60 ptr=0x7f1364107a63 end=0x7f1364107a8e len=43
  0000:  60 29 02 01 03 04 1b 75  69 64 3d 74 65 73 74 32   `).....uid=test2  
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
  0010:  2c 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   ,dc=example,dc=n  
  0020:  65 74 80 07 73 65 63 72  65 74 32                  et..secret2       
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1364107a60 ptr=0x7f1364107a85 end=0x7f1364107a8e len=9
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
  0000:  00 07 73 65 63 72 65 74  32                        ..secret2         
5ec3eac0 >>> dnPrettyNormal: <uid=test2,dc=example,dc=net>
=> ldap_bv2dn(uid=test2,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test2,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2,dc=example,dc=net)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test2,dc=example,dc=net>, <uid=test2,dc=example,dc=net>
5ec3eac0 do_bind: version=3 dn="uid=test2,dc=example,dc=net" method=128
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eac0 => access_allowed: result not in cache (userPassword)
5ec3eac0 => access_allowed: auth access to "uid=test2,dc=example,dc=net" "userPassword" requested
5ec3eac0 => acl_get: [1] attr userPassword
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "userPassword" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: auth access granted by read(=rscxd)
5ec3eac0 => access_allowed: auth access granted by read(=rscxd)
5ec3eac0 do_bind: v3 bind: "uid=test2,dc=example,dc=net" to "uid=test2,dc=example,dc=net"
5ec3eac0 send_ldap_result: conn=1029 op=0 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1029
5ec3eac0 connection_read(10): checking for input on id=1029
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1360106ce0 ptr=0x7f1360106ce0 end=0x7f1360106ce5 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eac0 op tag 0x42, time 1589897920
ber_get_next
ldap_read: want=8, got=0

5ec3eac0 ber_get_next on fd 10 failed errno=0 (Success)
5ec3eac0 connection_read(10): input error=-2 id=1029, closing.
5ec3eac0 connection_closing: readying conn=1029 sd=10 for close
5ec3eac0 connection_close: deferring conn=1029 sd=10
5ec3eac0 conn=1029 op=1 do_unbind
5ec3eac0 connection_resched: attempting closing conn=1029 sd=10
5ec3eac0 connection_close: conn=1029 sd=10
5ec3eac0 daemon: removing 10
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
1
ok 16 - search filter finds by mail
### Restarting node "node"
# Running: pg_ctl -D /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata -l /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/log/001_auth_node.log restart
waiting for server to shut down.... done
server stopped
waiting for server to start.... done
server started
# Postmaster PID for node "node" is 25793
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 slap_listener_activate(6): 
5ec3eac0 daemon: epoll: listen=6 busy
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 >>> slap_listener(ldap://localhost:56118)
5ec3eac0 daemon: accept() = 10
5ec3eac0 daemon: listen=6, new connection on 10
5ec3eac0 daemon: added 10r (active) listener=(nil)
5ec3eac0 daemon: activity on 2 descriptors
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1030
5ec3eac0 connection_read(10): checking for input on id=1030
ber_get_next
ldap_read: want=8, got=8
  0000:  30 0c 02 01 01 60 07 02                            0....`..          
ldap_read: want=6, got=6
  0000:  01 03 04 00 80 00                                  ......            
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf=0x7f1360101770 ptr=0x7f1360101770 end=0x7f136010177c len=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........      
5ec3eac0 op tag 0x60, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1030 op=0 do_bind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
ber_scanf fmt ({imt) ber:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_dump: buf=0x7f1360101770 ptr=0x7f1360101773 end=0x7f136010177c len=9
  0000:  60 07 02 01 03 04 00 80  00                        `........         
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1360101770 ptr=0x7f136010177a end=0x7f136010177c len=2
  0000:  00 00                                              ..                
5ec3eac0 >>> dnPrettyNormal: <>
5ec3eac0 <<< dnPrettyNormal: <>, <>
5ec3eac0 do_bind: version=3 dn="" method=128
5ec3eac0 send_ldap_result: conn=1030 op=0 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eac0 do_bind: v3 anonymous bind
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1030
5ec3eac0 connection_read(10): checking for input on id=1030
ber_get_next
ldap_read: want=8, got=8
  0000:  30 4d 02 01 02 63 48 04                            0M...cH.          
ldap_read: want=71, got=71
  0000:  11 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   .dc=example,dc=n  
  0010:  65 74 0a 01 02 0a 01 00  02 01 00 02 01 00 01 01   et..............  
  0020:  00 a1 1d a3 0c 04 03 75  69 64 04 05 74 65 73 74   .......uid..test  
  0030:  31 a3 0d 04 04 6d 61 69  6c 04 05 74 65 73 74 31   1....mail..test1  
  0040:  30 05 04 03 31 2e 31                               0...1.1           
ber_get_next: tag 0x30 len 77 contents:
ber_dump: buf=0x7f13641039a0 ptr=0x7f13641039a0 end=0x7f13641039ed len=77
  0000:  02 01 02 63 48 04 11 64  63 3d 65 78 61 6d 70 6c   ...cH..dc=exampl  
  0010:  65 2c 64 63 3d 6e 65 74  0a 01 02 0a 01 00 02 01   e,dc=net........  
  0020:  00 02 01 00 01 01 00 a1  1d a3 0c 04 03 75 69 64   .............uid  
  0030:  04 05 74 65 73 74 31 a3  0d 04 04 6d 61 69 6c 04   ..test1....mail.  
  0040:  05 74 65 73 74 31 30 05  04 03 31 2e 31            .test10...1.1     
5ec3eac0 op tag 0x63, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1030 op=1 do_search
ber_scanf fmt ({miiiib) ber:
ber_dump: buf=0x7f13641039a0 ptr=0x7f13641039a3 end=0x7f13641039ed len=74
  0000:  63 48 04 11 64 63 3d 65  78 61 6d 70 6c 65 2c 64   cH..dc=example,d  
  0010:  63 3d 6e 65 74 0a 01 02  0a 01 00 02 01 00 02 01   c=net...........  
  0020:  00 01 01 00 a1 1d a3 0c  04 03 75 69 64 04 05 74   ..........uid..t  
  0030:  65 73 74 31 a3 0d 04 04  6d 61 69 6c 04 05 74 65   est1....mail..te  
  0040:  73 74 31 30 05 04 03 31  2e 31                     st10...1.1        
5ec3eac0 >>> dnPrettyNormal: <dc=example,dc=net>
=> ldap_bv2dn(dc=example,dc=net,0)
<= ldap_bv2dn(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example,dc=net)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example,dc=net>, <dc=example,dc=net>
5ec3eac0 SRCH "dc=example,dc=net" 2 0    0 0 0
5ec3eac0 begin get_filter
5ec3eac0 OR
5ec3eac0 begin get_filter_list
5ec3eac0 begin get_filter
5ec3eac0 EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f13641039a0 ptr=0x7f13641039c9 end=0x7f13641039ed len=36
  0000:  a3 0c 04 03 75 69 64 04  05 74 65 73 74 31 a3 0d   ....uid..test1..  
  0010:  04 04 6d 61 69 6c 04 05  74 65 73 74 31 30 05 04   ..mail..test10..  
  0020:  03 31 2e 31                                        .1.1              
5ec3eac0 end get_filter 0
5ec3eac0 begin get_filter
5ec3eac0 EQUALITY
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7f13641039a0 ptr=0x7f13641039d7 end=0x7f13641039ed len=22
  0000:  00 0d 04 04 6d 61 69 6c  04 05 74 65 73 74 31 30   ....mail..test10  
  0010:  05 04 03 31 2e 31                                  ...1.1            
5ec3eac0 end get_filter 0
5ec3eac0 end get_filter_list
5ec3eac0 end get_filter 0
5ec3eac0     filter: (|(uid=test1)(mail=test1))
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x7f13641039a0 ptr=0x7f13641039e6 end=0x7f13641039ed len=7
  0000:  00 05 04 03 31 2e 31                               ....1.1           
5ec3eac0     attrs: 1.1
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eac0 ==> limits_get: conn=1030 op=1 self="[anonymous]" this="dc=example,dc=net"
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 61cec405
dn: dc=example
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
o: ExampleCo
structuralObjectClass: organization
entryUUID: 60069772-2e27-103a-9506-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
entryCSN: 20200519141837.386487Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <dc=example>
=> ldap_bv2dn(dc=example,0)
<= ldap_bv2dn(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=example)=0 
5ec3eac0 <<< dnPrettyNormal: <dc=example>, <dc=example>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(dc=example) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     OR
5ec3eac0 => test_filter_or
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "dc=example,dc=net" "mail" requested
5ec3eac0 => acl_get: [1] attr mail
5ec3eac0 => acl_mask: access to entry "dc=example,dc=net", attr "mail" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 <= test_filter_or 5
5ec3eac0 <= test_filter 5
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     OR
5ec3eac0 => test_filter_or
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test1,dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 6
5ec3eac0 <= test_filter_or 6
5ec3eac0 <= test_filter 6
5ec3eac0 => send_search_entry: conn 1030 dn="uid=test1,dc=example,dc=net"
5ec3eac0 => access_allowed: read access to "uid=test1,dc=example,dc=net" "entry" requested
5ec3eac0 => acl_get: [1] attr entry
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "entry" requested
5ec3eac0 => acl_mask: to all values by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: read access granted by read(=rscxd)
5ec3eac0 => access_allowed: read access granted by read(=rscxd)
ber_flush2: 38 bytes to sd 10
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
ldap_write: want=38, written=38
  0000:  30 24 02 01 02 64 1f 04  1b 75 69 64 3d 74 65 73   0$...d...uid=tes  
  0010:  74 31 2c 64 63 3d 65 78  61 6d 70 6c 65 2c 64 63   t1,dc=example,dc  
  0020:  3d 6e 65 74 30 00                                  =net0.            
5ec3eac0 <= send_search_entry: conn 1030 exit.
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test2.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 8bb90d49
dn: uid=test2
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test2
sn: Lastname
givenName: Firstname
cn: Second Test User
displayName: Second Test User
uidNumber: 102
gidNumber: 100
homeDirectory: /home/test2
mail: test2@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 60074b7c-2e27-103a-9508-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9K0pmYUVPbVRUcWZrd0tYYmhycVhrTGN4b3FxR0FjQmE=
entryCSN: 20200519141837.411798Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test2>
=> ldap_bv2dn(uid=test2,0)
<= ldap_bv2dn(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test2)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test2>, <uid=test2>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test2) -> 0x555a8ae719b8
5ec3eac0 => test_filter
5ec3eac0     OR
5ec3eac0 => test_filter_or
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test2,dc=example,dc=net" "uid" requested
5ec3eac0 => acl_get: [1] attr uid
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "uid" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 => test_filter
5ec3eac0     EQUALITY
5ec3eac0 => access_allowed: search access to "uid=test2,dc=example,dc=net" "mail" requested
5ec3eac0 => acl_get: [1] attr mail
5ec3eac0 => acl_mask: access to entry "uid=test2,dc=example,dc=net", attr "mail" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: search access granted by read(=rscxd)
5ec3eac0 => access_allowed: search access granted by read(=rscxd)
5ec3eac0 <= test_filter 5
5ec3eac0 <= test_filter_or 5
5ec3eac0 <= test_filter 5
5ec3eac0 send_ldap_result: conn=1030 op=1 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 00 04 00 04 00         0....e........    
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1030
5ec3eac0 connection_read(10): checking for input on id=1030
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1360101770 ptr=0x7f1360101770 end=0x7f1360101775 len=5
  0000:  02 01 03 42 00                                     ...B.             
5ec3eac0 op tag 0x42, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1030 op=2 do_unbind
5ec3eac0 connection_closing: readying conn=1030 sd=10 for close
5ec3eac0 connection_resched: attempting closing conn=1030 sd=10
5ec3eac0 connection_close: conn=1030 sd=10
5ec3eac0 daemon: removing 10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 slap_listener_activate(6): 
5ec3eac0 daemon: epoll: listen=6 busy
5ec3eac0 >>> slap_listener(ldap://localhost:56118)
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: accept() = 10
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: listen=6, new connection on 10
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:daemon: added 10r (active) listener=(nil)
5ec3eac0 
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1031
5ec3eac0 connection_read(10): checking for input on id=1031
ber_get_next
ldap_read: want=8, got=8
  0000:  30 2e 02 01 01 60 29 02                            0....`).          
ldap_read: want=40, got=40
  0000:  01 03 04 1b 75 69 64 3d  74 65 73 74 31 2c 64 63   ....uid=test1,dc  
  0010:  3d 65 78 61 6d 70 6c 65  2c 64 63 3d 6e 65 74 80   =example,dc=net.  
  0020:  07 73 65 63 72 65 74 31                            .secret1          
ber_get_next: tag 0x30 len 46 contents:
ber_dump: buf=0x7f1360107d10 ptr=0x7f1360107d10 end=0x7f1360107d3e len=46
  0000:  02 01 01 60 29 02 01 03  04 1b 75 69 64 3d 74 65   ...`).....uid=te  
  0010:  73 74 31 2c 64 63 3d 65  78 61 6d 70 6c 65 2c 64   st1,dc=example,d  
  0020:  63 3d 6e 65 74 80 07 73  65 63 72 65 74 31         c=net..secret1    
5ec3eac0 op tag 0x60, time 1589897920
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac0 conn=1031 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1360107d10 ptr=0x7f1360107d13 end=0x7f1360107d3e len=43
  0000:  60 29 02 01 03 04 1b 75  69 64 3d 74 65 73 74 31   `).....uid=test1  
  0010:  2c 64 63 3d 65 78 61 6d  70 6c 65 2c 64 63 3d 6e   ,dc=example,dc=n  
  0020:  65 74 80 07 73 65 63 72  65 74 31                  et..secret1       
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1360107d10 ptr=0x7f1360107d35 end=0x7f1360107d3e len=9
  0000:  00 07 73 65 63 72 65 74  31                        ..secret1         
5ec3eac0 >>> dnPrettyNormal: <uid=test1,dc=example,dc=net>
=> ldap_bv2dn(uid=test1,dc=example,dc=net,0)
<= ldap_bv2dn(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1,dc=example,dc=net)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1,dc=example,dc=net>, <uid=test1,dc=example,dc=net>
5ec3eac0 do_bind: version=3 dn="uid=test1,dc=example,dc=net" method=128
5ec3eac0 ldif_read_file: read entry file: "/home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/openldap-data/dc=example,dc=net/uid=test1.ldif"
5ec3eac0 => str2entry: "# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 dff2daa8
dn: uid=test1
objectClass: inetOrgPerson
objectClass: posixAccount
uid: test1
sn: Lastname
givenName: Firstname
cn: First Test User
displayName: First Test User
uidNumber: 101
gidNumber: 100
homeDirectory: /home/test1
mail: test1@example.net
structuralObjectClass: inetOrgPerson
entryUUID: 6006f244-2e27-103a-9507-25c1c99c3b52
creatorsName: cn=Manager,dc=example,dc=net
createTimestamp: 20200519141837Z
userPassword:: e1NTSEF9Y1ZoWWw0OEUxVHlRVDF6SGFVakk0TS82Q3lmZmV0VWI=
entryCSN: 20200519141837.400529Z#000000#000#000000
modifiersName: cn=Manager,dc=example,dc=net
modifyTimestamp: 20200519141837Z
"
5ec3eac0 >>> dnPrettyNormal: <uid=test1>
=> ldap_bv2dn(uid=test1,0)
<= ldap_bv2dn(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=test1)=0 
5ec3eac0 <<< dnPrettyNormal: <uid=test1>, <uid=test1>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 >>> dnNormalize: <cn=Manager,dc=example,dc=net>
=> ldap_bv2dn(cn=Manager,dc=example,dc=net,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=net)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=net)=0 
5ec3eac0 <<< dnNormalize: <cn=manager,dc=example,dc=net>
5ec3eac0 <= str2entry(uid=test1) -> 0x555a8ae719b8
5ec3eac0 => access_allowed: result not in cache (userPassword)
5ec3eac0 => access_allowed: auth access to "uid=test1,dc=example,dc=net" "userPassword" requested
5ec3eac0 => acl_get: [1] attr userPassword
5ec3eac0 => acl_mask: access to entry "uid=test1,dc=example,dc=net", attr "userPassword" requested
5ec3eac0 => acl_mask: to value by "", (=0) 
5ec3eac0 <= check a_dn_pat: *
5ec3eac0 <= acl_mask: [1] applying read(=rscxd) (stop)
5ec3eac0 <= acl_mask: [1] mask: read(=rscxd)
5ec3eac0 => slap_access_allowed: auth access granted by read(=rscxd)
5ec3eac0 => access_allowed: auth access granted by read(=rscxd)
5ec3eac0 do_bind: v3 bind: "uid=test1,dc=example,dc=net" to "uid=test1,dc=example,dc=net"
5ec3eac0 send_ldap_result: conn=1031 op=0 p=3
5ec3eac0 send_ldap_result: err=0 matched="" text=""
5ec3eac0 send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on: 10r
5ec3eac0 daemon: read active on 10
5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 connection_get(10)
5ec3eac0 connection_get(10): got connid=1031
5ec3eac0 connection_read(10): checking for input on id=1031
ber_get_next
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1364104850 ptr=0x7f1364104850 end=0x7f1364104855 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eac0 op tag 0x42, time 1589897920
ber_get_next
ldap_read: want=8, got=0

5ec3eac0 ber_get_next on fd 10 failed errno=0 (Success)
5ec3eac0 connection_read(10): input error=-2 id=1031, closing.
5ec3eac0 connection_closing: readying conn=1031 sd=10 for close
5ec3eac0 connection_close: deferring conn=1031 sd=10
5ec3eac0 daemon: activity on 1 descriptor
5ec3eac0 daemon: activity on:5ec3eac0 conn=1031 op=1 do_unbind

5ec3eac0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac0 connection_resched: attempting closing conn=1031 sd=10
5ec3eac0 connection_close: conn=1031 sd=10
5ec3eac0 daemon: removing 10
1
ok 17 - combined LDAP URL and search filter
# diagnostic message
### Restarting node "node"
# Running: pg_ctl -D /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata -l /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/log/001_auth_node.log restart
waiting for server to shut down.... done
server stopped
waiting for server to start.... done
server started
# Postmaster PID for node "node" is 25804
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on:
5ec3eac1 slap_listener_activate(6): 
5ec3eac1 daemon: epoll: listen=6 busy
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac1 >>> slap_listener(ldap://localhost:56118)
5ec3eac1 daemon: accept() = 10
5ec3eac1 daemon: listen=6, new connection on 10
5ec3eac1 daemon: added 10r (active) listener=(nil)
5ec3eac1 daemon: activity on 2 descriptors
5ec3eac1 daemon: activity on: 10r
5ec3eac1 daemon: read active on 10
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 connection_get(10)
5ec3eac1 connection_get(10): got connid=1032
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac1 connection_read(10): checking for input on id=1032
ber_get_next
ldap_read: want=8, got=8
  0000:  30 1d 02 01 01 60 18 02                            0....`..          
ldap_read: want=23, got=23
  0000:  01 03 04 0a 3f 75 69 64  3d 74 65 73 74 31 80 07   ....?uid=test1..  
  0010:  73 65 63 72 65 74 31                               secret1           
ber_get_next: tag 0x30 len 29 contents:
ber_dump: buf=0x7f1364104770 ptr=0x7f1364104770 end=0x7f136410478d len=29
  0000:  02 01 01 60 18 02 01 03  04 0a 3f 75 69 64 3d 74   ...`......?uid=t  
  0010:  65 73 74 31 80 07 73 65  63 72 65 74 31            est1..secret1     
5ec3eac1 op tag 0x60, time 1589897921
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac1 conn=1032 op=0 do_bind
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on:ber_scanf fmt ({imt) ber:
ber_dump: buf=0x7f1364104770 ptr=0x7f1364104773 end=0x7f136410478d len=26
  0000:  60 18 02 01 03 04 0a 3f  75 69 64 3d 74 65 73 74   `......?uid=test  

  0010:  31 80 07 73 65 63 72 65  74 31                     1..secret1        
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
ber_scanf fmt (m}) ber:
ber_dump: buf=0x7f1364104770 ptr=0x7f1364104784 end=0x7f136410478d len=9
  0000:  00 07 73 65 63 72 65 74  31                        ..secret1         
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 >>> dnPrettyNormal: <?uid=test1>
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
=> ldap_bv2dn(?uid=test1,0)
ldap_err2string
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
<= ldap_bv2dn(?uid=test1)=-4 Decoding error
5ec3eac1 conn=1032 op=0 do_bind: invalid dn (?uid=test1)
5ec3eac1 send_ldap_result: conn=1032 op=0 p=3
5ec3eac1 send_ldap_result: err=34 matched="" text="invalid DN"
5ec3eac1 send_ldap_response: msgid=1 tag=97 err=34
ber_flush2: 24 bytes to sd 10
  0000:  30 16 02 01 01 61 11 0a  01 22 04 00 04 0a 69 6e   0....a..."....in  
  0010:  76 61 6c 69 64 20 44 4e                            valid DN          
ldap_write: want=24, written=24
  0000:  30 16 02 01 01 61 11 0a  01 22 04 00 04 0a 69 6e   0....a..."....in  
  0010:  76 61 6c 69 64 20 44 4e                            valid DN          
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on: 10r
5ec3eac1 daemon: read active on 10
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
psql: error: 5ec3eac1 connection_get(10)
could not connect to server: FATAL:  LDAP authentication failed for user "test1"
5ec3eac1 connection_get(10): got connid=1032
5ec3eac1 connection_read(10): checking for input on id=1032
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 02 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x7f1360103380 ptr=0x7f1360103380 end=0x7f1360103385 len=5
  0000:  02 01 02 42 00                                     ...B.             
5ec3eac1 op tag 0x42, time 1589897921
ber_get_next
ldap_read: want=8, got=0

5ec3eac1 ber_get_next on fd 10 failed errno=0 (Success)
5ec3eac1 connection_read(10): input error=-2 id=1032, closing.
5ec3eac1 connection_closing: readying conn=1032 sd=10 for close
5ec3eac1 connection_close: deferring conn=1032 sd=10
5ec3eac1 conn=1032 op=1 do_unbind
5ec3eac1 connection_resched: attempting closing conn=1032 sd=10
5ec3eac1 connection_close: conn=1032 sd=10
5ec3eac1 daemon: removing 10
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on:
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ok 18 - any attempt fails due to bad search pattern
# TLS
### Restarting node "node"
# Running: pg_ctl -D /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata -l /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/log/001_auth_node.log restart
waiting for server to shut down.... done
server stopped
waiting for server to start.... done
server started
# Postmaster PID for node "node" is 25817
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on:
5ec3eac1 slap_listener_activate(6): 
5ec3eac1 daemon: epoll: listen=6 busy
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 >>> slap_listener(ldap://localhost:56118)
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 daemon: accept() = 10
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac1 daemon: listen=6, new connection on 10
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on:
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac1 daemon: added 10r (active) listener=(nil)
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on: 10r
5ec3eac1 daemon: read active on 10
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on:
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac1 connection_get(10)
5ec3eac1 connection_get(10): got connid=1033
5ec3eac1 connection_read(10): checking for input on id=1033
ber_get_next
ldap_read: want=8, got=8
  0000:  30 1d 02 01 01 77 18 80                            0....w..          
ldap_read: want=23, got=23
  0000:  16 31 2e 33 2e 36 2e 31  2e 34 2e 31 2e 31 34 36   .1.3.6.1.4.1.146  
  0010:  36 2e 32 30 30 33 37                               6.20037           
ber_get_next: tag 0x30 len 29 contents:
ber_dump: buf=0x7f1360000fd0 ptr=0x7f1360000fd0 end=0x7f1360000fed len=29
  0000:  02 01 01 77 18 80 16 31  2e 33 2e 36 2e 31 2e 34   ...w...1.3.6.1.4  
  0010:  2e 31 2e 31 34 36 36 2e  32 30 30 33 37            .1.1466.20037     
5ec3eac1 op tag 0x77, time 1589897921
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
5ec3eac1 conn=1033 op=0 do_extended
ber_scanf fmt ({m) ber:
ber_dump: buf=0x7f1360000fd0 ptr=0x7f1360000fd3 end=0x7f1360000fed len=26
  0000:  77 18 80 16 31 2e 33 2e  36 2e 31 2e 34 2e 31 2e   w...1.3.6.1.4.1.  
  0010:  31 34 36 36 2e 32 30 30  33 37                     1466.20037        
5ec3eac1 do_extended: oid=1.3.6.1.4.1.1466.20037
5ec3eac1 send_ldap_extended: err=0 oid= len=0
5ec3eac1 send_ldap_response: msgid=1 tag=120 err=0
ber_flush2: 14 bytes to sd 10
  0000:  30 0c 02 01 01 78 07 0a  01 00 04 00 04 00         0....x........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 78 07 0a  01 00 04 00 04 00         0....x........    
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on:
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on: 10r
5ec3eac1 daemon: read active on 10
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 connection_get(10)
5ec3eac1 connection_get(10): got connid=1033
5ec3eac1 connection_read(10): checking for input on id=1033
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
tls_read: want=5, got=5
psql:  0000:  30 05 02 01 02                                     0....             
 error: could not connect to server: FATAL:  LDAP authentication failed for user "test1"
TLS: can't accept: An unexpected TLS packet was received..
5ec3eac1 connection_read(10): TLS accept failure error=-1 id=1033, closing
5ec3eac1 connection_closing: readying conn=1033 sd=10 for close
5ec3eac1 connection_close: conn=1033 sd=10
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on:
5ec3eac1 daemon: removing 10
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
not ok 19 - StartTLS

#   Failed test 'StartTLS'
#   at t/001_auth.pl line 170.
#          got: '2'
#     expected: '0'
### Restarting node "node"
# Running: pg_ctl -D /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata -l /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/log/001_auth_node.log restart
waiting for server to shut down.... done
server stopped
waiting for server to start.... done
server started
# Postmaster PID for node "node" is 25830
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on:
5ec3eac1 slap_listener_activate(8): 
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac1 >>> slap_listener(ldaps://localhost:56119)
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 daemon: accept() = 10
5ec3eac1 daemon: listen=8, new connection on 10
5ec3eac1 daemon: epoll: listen=8 busy
5ec3eac1 daemon: added 10r (active) listener=(nil)
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac1 daemon: activity on 2 descriptors
5ec3eac1 daemon: activity on: 10r
5ec3eac1 daemon: read active on 10
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
psql:5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
 error: could not connect to server: FATAL:  LDAP authentication failed for user "test1"
5ec3eac1 connection_get(10)
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 connection_get(10): got connid=1034
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac1 connection_read(10): checking for input on id=1034
tls_read: want=5, got=0

TLS: can't accept: The TLS connection was non-properly terminated..
5ec3eac1 connection_read(10): TLS accept failure error=-1 id=1034, closing
5ec3eac1 connection_closing: readying conn=1034 sd=10 for close
5ec3eac1 connection_close: conn=1034 sd=10
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: removing 10
5ec3eac1 daemon: activity on:
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
not ok 20 - LDAPS

#   Failed test 'LDAPS'
#   at t/001_auth.pl line 170.
#          got: '2'
#     expected: '0'
### Restarting node "node"
# Running: pg_ctl -D /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata -l /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/log/001_auth_node.log restart
waiting for server to shut down.... done
server stopped
waiting for server to start.... done
server started
# Postmaster PID for node "node" is 25843
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on:
5ec3eac1 slap_listener_activate(8): 
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=8 busy
5ec3eac1 >>> slap_listener(ldaps://localhost:56119)
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac1 daemon: accept() = 10
5ec3eac1 daemon: listen=8, new connection on 10
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on:
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac1 daemon: added 10r (active) listener=(nil)
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on: 10r
5ec3eac1 daemon: read active on 10
psql: 5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
error: could not connect to server: FATAL:  LDAP authentication failed for user "test1"
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 connection_get(10)
5ec3eac1 connection_get(10): got connid=1035
5ec3eac1 connection_read(10): checking for input on id=1035
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on:
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
tls_read: want=5, got=0

5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
TLS: can't accept: The TLS connection was non-properly terminated..
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 connection_read(10): TLS accept failure error=-1 id=1035, closing
5ec3eac1 connection_closing: readying conn=1035 sd=10 for close
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac1 connection_close: conn=1035 sd=10
5ec3eac1 daemon: activity on 1 descriptor
5ec3eac1 daemon: activity on:5ec3eac1 
daemon: removing 10
5ec3eac1 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac1 daemon: epoll: listen=9 active_threads=0 tvp=NULL
not ok 21 - LDAPS with URL

#   Failed test 'LDAPS with URL'
#   at t/001_auth.pl line 170.
#          got: '2'
#     expected: '0'
### Restarting node "node"
# Running: pg_ctl -D /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata -l /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/log/001_auth_node.log restart
waiting for server to shut down.... done
server stopped
waiting for server to start.... done
server started
# Postmaster PID for node "node" is 25858
gnutls[2]: Enabled GnuTLS 3.6.13 logging...
gnutls[2]: getrandom random generator was detected
gnutls[2]: Intel SSSE3 was detected
gnutls[2]: Intel AES accelerator was detected
gnutls[2]: Intel GCM accelerator was detected
gnutls[2]: cfg: unable to access: /etc/gnutls/config: 2
5ec3eac2 daemon: activity on 1 descriptor
5ec3eac2 daemon: activity on:
5ec3eac2 slap_listener_activate(8): 
5ec3eac2 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac2 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac2 daemon: epoll: listen=8 busy
5ec3eac2 daemon: epoll: listen=9 active_threads=0 tvp=NULL
5ec3eac2 >>> slap_listener(ldaps://localhost:56119)
5ec3eac2 daemon: accept() = 10
5ec3eac2 daemon: listen=8, new connection on 10
5ec3eac2 daemon: added 10r (active) listener=(nil)
5ec3eac2 daemon: activity on 2 descriptors
5ec3eac2 daemon: activity on: 10r
5ec3eac2 daemon: read active on 10
5ec3eac2 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac2 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac2 daemon: epoll: listen=8 active_threads=0 tvp=NULL
psql:5ec3eac2 daemon: epoll: listen=9 active_threads=0 tvp=NULL
 error: 5ec3eac2 connection_get(10)
could not connect to server: FATAL:  LDAP authentication failed for user "test1"
5ec3eac2 connection_get(10): got connid=1036
5ec3eac2 connection_read(10): checking for input on id=1036
tls_read: want=5, got=0

TLS: can't accept: The TLS connection was non-properly terminated..
5ec3eac2 connection_read(10): TLS accept failure error=-1 id=1036, closing
5ec3eac2 connection_closing: readying conn=1036 sd=10 for close
5ec3eac2 connection_close: conn=1036 sd=10
5ec3eac2 daemon: removing 10
5ec3eac2 daemon: activity on 1 descriptor
5ec3eac2 daemon: activity on:
5ec3eac2 daemon: epoll: listen=6 active_threads=0 tvp=NULL
5ec3eac2 daemon: epoll: listen=7 active_threads=0 tvp=NULL
5ec3eac2 daemon: epoll: listen=8 active_threads=0 tvp=NULL
5ec3eac2 daemon: epoll: listen=9 active_threads=0 tvp=NULL
ok 22 - bad combination of LDAPS and StartTLS
### Stopping node "node" using mode immediate
# Running: pg_ctl -D /home/myon/postgresql-13-13~~devel~20200515.0434/build/src/test/ldap/tmp_check/t_001_auth_node_data/pgdata -m immediate stop
5ec3eac2 daemon: shutdown requested and initiated.
5ec3eac2 daemon: closing 6
5ec3eac2 daemon: closing 7
5ec3eac2 daemon: closing 8
5ec3eac2 daemon: closing 9
5ec3eac2 slapd shutdown: waiting for 0 operations/tasks to finish
5ec3eac2 slapd shutdown: initiated
5ec3eac2 slapd destroy: freeing system resources.
5ec3eac2 slapd stopped.
waiting for server to shut down.... done
server stopped
# No postmaster PID for node "node"
# Looks like you failed 3 tests of 22.
