auth/credentials: add cli_credentials_get_password_obtained()
commitc14366cce45a437584d9050067a34fffb847e134
authorStefan Metzmacher <metze@samba.org>
Thu, 14 Apr 2022 11:46:18 +0000 (14 13:46 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 7 May 2024 11:30:33 +0000 (7 11:30 +0000)
treee9165a9ff5d2fb6f79a77a44064e02d7d232c5ff
parenta85f1b6facd2b641f98dcea9b997a02d8f276882
auth/credentials: add cli_credentials_get_password_obtained()

It's often useful to know if a password was already explicitly
specified without triggering the password callback function.

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