]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:client: avoid cli_credentials_get_password() to check for a specified password
authorStefan Metzmacher <metze@samba.org>
Thu, 14 Apr 2022 11:49:39 +0000 (13:49 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 7 May 2024 11:30:33 +0000 (11:30 +0000)
commit1275e77933f74b5b8551aa9c5e5f84fbd561de04
treea56a89af866453b2aad501722ccf74808b58d7a0
parentb9cf6c8dd4d256300df170b1b21a86fe02416018
s3:client: avoid cli_credentials_get_password() to check for a specified password

Using cli_credentials_get_password_obtained() is more lightweight as
it avoids a possible password prompt.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/client/client.c