]> git.ipfire.org Git - thirdparty/samba.git/commit
samba-tool: add user keytrust command
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 6 Aug 2025 02:01:14 +0000 (14:01 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 20 Aug 2025 04:34:37 +0000 (04:34 +0000)
commit2681fe5df87db07b080e12fa7aeaaea0a0518546
treefe596360e06601b8f113c5ebe61350b87df2607a
parent625cabf65140ee2c79b0a89c483edd071d58a4f4
samba-tool: add user keytrust command

This allows manipulation of key credential links for users.

See `man -l bin/default/docs-xml/manpages/samba-tool.8` for
documentation.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
13 files changed:
python/samba/netcmd/user/__init__.py
python/samba/netcmd/user/keytrust.py [new file with mode: 0644]
python/samba/tests/samba_tool/user_keytrust.py [new file with mode: 0644]
source4/selftest/tests.py
testdata/keytrust/ca-cert-ecdsa-p256.pem [new file with mode: 0644]
testdata/keytrust/ca-cert-rsa-2048.pem [new file with mode: 0644]
testdata/keytrust/ca-cert-rsa-4096.pem [new file with mode: 0644]
testdata/keytrust/cert-rsa-1024.pem [new file with mode: 0644]
testdata/keytrust/cert-rsa-2048.pem [new file with mode: 0644]
testdata/keytrust/cert-rsa-2048b.pem [new file with mode: 0644]
testdata/keytrust/public-key-from-cert-rsa-2048-pkcs1.pem [new file with mode: 0644]
testdata/keytrust/rsa2048-pkcs1.der [new file with mode: 0644]
testdata/keytrust/rsa2048b-spki.pem [new file with mode: 0644]