LDAP: detect non-binary attributes properly
authorAlfred Gebert <alfred.gebert@gmail.com>
Fri, 5 Nov 2010 14:53:41 +0000 (15:53 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 5 Nov 2010 14:53:41 +0000 (15:53 +0100)
commit6a07e704ca7f815c38bba0dc5277a8d729cfc75b
tree891e4855e5277da97911ef4dd33e6317c67030b4
parent95719fbea6acf52d03b17de742f16be8f1f0ce70
LDAP: detect non-binary attributes properly

If the query result has a binary attribute, the binary attribute is
base64 encoded. But all following non binary attributes are also base64
encoded which is wrong.

This is a test (LDAP server is public).

curl
ldap://x500.bund.de:389/o=Bund,c=DE?userCertificate,certificateSerialNumber?sub
?cn=*Woehleke*
lib/openldap.c