Subject: CVS commit: pkgsrc/net/samba
From: Emmanuel Dreyfus
Date: 2015-05-29 11:01:09
Message id: 20150529090109.89ECD98@cvs.netbsd.org

Log Message:
Fix Samba ability to use LDAP/SSL with a SHA2 certificate

NetBSD's libc and Samba both proide SHA2 function with the same
protoype, but with different private context structures. The
Samba version must not override the libc version, otherwise they
are used when using LDAP/SSL, through libldap/libssl/libcrypto
but libcrtypo expect to use the libc flavor.

Without this fix, Samba cannot connect to a LDAP directory that
has a SHA2-signed certificate. This rather cryptic error is raised
in smbd logs:
error:0D0C5006:asn1 encoding routines:ASN1_item_verify:EVP lib

Files:
RevisionActionfile
1.254modifypkgsrc/net/samba/Makefile
1.103modifypkgsrc/net/samba/distinfo
1.1addpkgsrc/net/samba/patches/patch-lib_crypto_sha256.h