]> git.ipfire.org Git - thirdparty/samba.git/commit
util: add a crypt wrapper, derived from dsdb:password_hash
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 5 Dec 2024 03:35:51 +0000 (16:35 +1300)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 20 Dec 2024 07:04:31 +0000 (07:04 +0000)
commit833455c7f9f71583d567e3a53e854567cd8c3b0b
treece1a38bc40f5fa81145c3d3c68f83845a3667849
parent5ad1a93107a202d954663f3783c1660c9b6c8957
util: add a crypt wrapper, derived from dsdb:password_hash

This is going to be used by the dsdb password_hash module, and exposed
to Python via pyglue.

We're doing this because Python 3.13 has dropped crypt from the Python
standard library.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15756

Reviewed-by: Andreas Schneider <asn@samba.org>
lib/util/util_crypt.c [new file with mode: 0644]
lib/util/util_crypt.h [new file with mode: 0644]
lib/util/wscript_build