mirror of
https://github.com/samba-team/samba.git
synced 2025-02-09 09:57:48 +03:00
r8067: added a method for disabling the password prompt in programs that want
cmdline credentials, but don't want a prompt if none are supplied (This used to be commit d7d7f7292b7032dcad6d6245510af229f12f7085)
This commit is contained in:
parent
8283c40fde
commit
8139838acf
@ -181,7 +181,15 @@ struct poptOption popt_common_version[] = {
|
||||
*/
|
||||
|
||||
|
||||
static BOOL dont_ask = False;
|
||||
static BOOL dont_ask;
|
||||
|
||||
/*
|
||||
disable asking for a password
|
||||
*/
|
||||
void popt_common_dont_ask(void)
|
||||
{
|
||||
dont_ask = True;
|
||||
}
|
||||
|
||||
static void popt_common_credentials_callback(poptContext con,
|
||||
enum poptCallbackReason reason,
|
||||
|
Loading…
x
Reference in New Issue
Block a user