CVSROOT:        /cvs
Module name:    src
Changes by:     mart...@cvs.openbsd.org 2019/09/10 08:35:32

Modified files:
        usr.bin/ldap   : aldap.c 
        usr.sbin/ypldap: aldap.c 

Log message:
During libutil/ber.c r1.12 I made sure that every element that's requested
by ber_scanf_elements must exist.

aldap.c apparently abused the old behaviour by always trying to retrieve
the referral element, which according to RFC4511 section 4.1.9 is optional.

This diff only requests the referral element if we get a referral response.

OK rob@

Reply via email to