samba-tool: Use authentication file to pass credentials
authorNikola Radovanovic <nikoladsp@gmail.com>
Fri, 30 Sep 2022 07:38:12 +0000 (09:38 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 4 Oct 2022 02:48:37 +0000 (02:48 +0000)
commit6a5d03e2f7bfa84eea1f1c44604ab70b1257d349
treed6b75a9c94d55fb185331ace52751813b18950c8
parentbff2bc9c7d69ec2fbe9339c2353a0a846182f1ea
samba-tool: Use authentication file to pass credentials

In order not to pass credentials in clear-text directly over command line, this is a patch to store username/password/domain in a file and use it during domain join for example.

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

Signed-off-by: Nikola Radovanovic <radovanovic.extern@univention.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
docs-xml/manpages/samba-tool.8.xml
python/samba/getopt.py
python/samba/tests/cred_opt.py