[PATCH] Add conditional compilation for crypt_r

Gary Lockyer gary at catalyst.net.nz
Wed May 31 03:09:50 UTC 2017


Patch attached.

Review and Push appreciated.
Gary


On 31/05/17 00:21, Volker Lendecke wrote:
> Hello, Gary!
> 
> On Thu, May 25, 2017 at 06:29:02AM +0200, Andrew Bartlett wrote:
>> The branch, master has been updated
>>        via  4b49e18 password_hash: generate and store Primary:userPassword
> 
> This commit breaks the FreeBSD build for me. It introduces an
> unconditional reference to "struct crypt_data" and "crypt_r()",
> neigher of which exist in FreeBSD's /usr/include/*.
> 
> Can you #ifdef that with a proper configure check?
> 
> Thanks,
> 
> Volker
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-password_hash-conditional-compilation-for-crypt_r.patch
Type: text/x-patch
Size: 2525 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170531/4c7ccad9/0001-password_hash-conditional-compilation-for-crypt_r.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170531/4c7ccad9/signature.sig>


More information about the samba-technical mailing list