1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/auth/credentials
Samuel Cabrero 65b2110937 auth:credentials: Check if password_obtained > obtained
Fixes reading the password from STDIN or environment vars if it was already
given in the command line:

$ export PASSWD_FD=0
$ ./bin/net offlinejoin composeodj <...> --password=FOO
<Waiting to read password from STDIN>

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Sep 11 03:36:28 UTC 2023 on atb-devel-224
2023-09-11 03:36:28 +00:00
..
tests CVE-2020-25722 selftest: allow for future failures in BindTests.test_virtual_email_account_style_bind 2021-11-09 19:45:32 +00:00
credentials_cmdline.c auth/creds: fix a typo in a comment 2023-01-17 17:21:38 +00:00
credentials_internal.h auth: Fix code spelling 2023-03-28 09:33:31 +00:00
credentials_krb5.c auth: Fix code spelling 2023-09-11 02:42:41 +00:00
credentials_krb5.h auth/credentials: also do a shallow copy of the krb5_ccache. 2016-07-22 23:34:20 +02:00
credentials_ntlm.c auth: Remove unnecessary casts 2023-08-14 04:57:34 +00:00
credentials_secrets.c Add ROLE_IPA_DC into two more places 2023-04-25 07:46:36 +00:00
credentials.c auth:credentials: Check if password_obtained > obtained 2023-09-11 03:36:28 +00:00
credentials.h auth: Add cli_credentials_is_password_nt_hash() 2023-04-05 01:06:29 +00:00
pycredentials.c auth:credentials: SAFE_FREE() -> krb5_free_string() 2023-07-28 10:48:32 +00:00
pycredentials.h pycredentials.h: use import to ensure python type correctness 2019-07-22 22:20:26 +00:00
samba-credentials.pc.in build: correct package dependencies 2017-04-18 18:54:13 +02:00
wscript_build auth:creds: Use our own cli_credentials_set_cmdline_callbacks() 2021-03-24 00:55:32 +00:00