pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/samba



Module Name:    pkgsrc
Committed By:   manu
Date:           Fri May 29 09:01:09 UTC 2015

Modified Files:
        pkgsrc/net/samba: Makefile distinfo
Added Files:
        pkgsrc/net/samba/patches: patch-lib_crypto_sha256.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.253 -r1.254 pkgsrc/net/samba/Makefile
cvs rdiff -u -r1.102 -r1.103 pkgsrc/net/samba/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/samba/patches/patch-lib_crypto_sha256.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index