mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
param: Rename variable used for lp_client_ntlmv2_auth bClientNTLMv2Auth
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
7802c9db14
commit
7dc9eff98e
@ -160,7 +160,7 @@ FN_GLOBAL_BOOL(async_smb_echo_handler, async_smb_echo_handler)
|
||||
FN_GLOBAL_BOOL(bind_interfaces_only, bind_interfaces_only)
|
||||
FN_GLOBAL_BOOL(browse_list, browse_list)
|
||||
FN_GLOBAL_BOOL(client_lanman_auth, client_lanman_auth)
|
||||
FN_GLOBAL_BOOL(client_ntlmv2_auth, bClientNTLMv2Auth)
|
||||
FN_GLOBAL_BOOL(client_ntlmv2_auth, client_ntlmv2_auth)
|
||||
FN_GLOBAL_BOOL(client_plaintext_auth, bClientPlaintextAuth)
|
||||
FN_GLOBAL_BOOL(client_use_spnego, bClientUseSpnego)
|
||||
FN_GLOBAL_BOOL(client_use_spnego_principal, client_use_spnego_principal)
|
||||
|
@ -710,7 +710,7 @@ static struct parm_struct parm_table[] = {
|
||||
.label = "client NTLMv2 auth",
|
||||
.type = P_BOOL,
|
||||
.p_class = P_GLOBAL,
|
||||
.offset = GLOBAL_VAR(bClientNTLMv2Auth),
|
||||
.offset = GLOBAL_VAR(client_ntlmv2_auth),
|
||||
.special = NULL,
|
||||
.enum_list = NULL,
|
||||
.flags = FLAG_ADVANCED,
|
||||
|
@ -878,7 +878,7 @@ static void init_globals(bool reinit_globals)
|
||||
Globals.bClientPlaintextAuth = false; /* Do NOT use a plaintext password even if is requested by the server */
|
||||
Globals.bLanmanAuth = false; /* Do NOT use the LanMan hash, even if it is supplied */
|
||||
Globals.bNTLMAuth = true; /* Do use NTLMv1 if it is supplied by the client (otherwise NTLMv2) */
|
||||
Globals.bClientNTLMv2Auth = true; /* Client should always use use NTLMv2, as we can't tell that the server supports it, but most modern servers do */
|
||||
Globals.client_ntlmv2_auth = true; /* Client should always use use NTLMv2, as we can't tell that the server supports it, but most modern servers do */
|
||||
/* Note, that we will also use NTLM2 session security (which is different), if it is available */
|
||||
|
||||
Globals.map_to_guest = 0; /* By Default, "Never" */
|
||||
@ -4037,7 +4037,7 @@ static void lp_save_defaults(void)
|
||||
|
||||
static void set_allowed_client_auth(void)
|
||||
{
|
||||
if (Globals.bClientNTLMv2Auth) {
|
||||
if (Globals.client_ntlmv2_auth) {
|
||||
Globals.client_lanman_auth = false;
|
||||
}
|
||||
if (!Globals.client_lanman_auth) {
|
||||
|
Loading…
Reference in New Issue
Block a user