FN_GLOBAL_INTEGER(smb2_max_trans, smb2_max_trans)
FN_GLOBAL_INTEGER(smb2_max_write, smb2_max_write)
FN_GLOBAL_INTEGER(server_max_protocol, server_max_protocol)
-FN_GLOBAL_INTEGER(srv_minprotocol, srv_minprotocol)
+FN_GLOBAL_INTEGER(server_min_protocol, server_min_protocol)
FN_GLOBAL_INTEGER(syslog, syslog)
FN_GLOBAL_INTEGER(usernamelevel, usernamelevel)
FN_GLOBAL_INTEGER(username_map_cache_time, username_map_cache_time)
.label = "server min protocol",
.type = P_ENUM,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(srv_minprotocol),
+ .offset = GLOBAL_VAR(server_min_protocol),
.special = NULL,
.enum_list = enum_protocol,
.flags = FLAG_ADVANCED,
.label = "min protocol",
.type = P_ENUM,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(srv_minprotocol),
+ .offset = GLOBAL_VAR(server_min_protocol),
.special = NULL,
.enum_list = enum_protocol,
.flags = FLAG_ADVANCED,
Globals.max_log_size = 5000;
Globals.max_open_files = max_open_files();
Globals.server_max_protocol = PROTOCOL_SMB3_00;
- Globals.srv_minprotocol = PROTOCOL_LANMAN1;
+ Globals.server_min_protocol = PROTOCOL_LANMAN1;
Globals.client_max_protocol = PROTOCOL_NT1;
Globals.client_min_protocol = PROTOCOL_CORE;
Globals._security = SEC_AUTO;
for (protocol = 0; supported_protocols[protocol].proto_name; protocol++) {
i = 0;
if ((supported_protocols[protocol].protocol_level <= lp_server_max_protocol()) &&
- (supported_protocols[protocol].protocol_level >= lp_srv_minprotocol()))
+ (supported_protocols[protocol].protocol_level >= lp_server_min_protocol()))
while (i < num_cliprotos) {
if (strequal(cliprotos[i],supported_protocols[protocol].proto_name)) {
choice = i;
if (lp_server_max_protocol() < PROTOCOL_SMB3_00) {
break;
}
- if (lp_srv_minprotocol() > PROTOCOL_SMB3_00) {
+ if (lp_server_min_protocol() > PROTOCOL_SMB3_00) {
break;
}
if (lp_server_max_protocol() < PROTOCOL_SMB2_24) {
break;
}
- if (lp_srv_minprotocol() > PROTOCOL_SMB2_24) {
+ if (lp_server_min_protocol() > PROTOCOL_SMB2_24) {
break;
}
if (lp_server_max_protocol() < PROTOCOL_SMB2_22) {
break;
}
- if (lp_srv_minprotocol() > PROTOCOL_SMB2_22) {
+ if (lp_server_min_protocol() > PROTOCOL_SMB2_22) {
break;
}
if (lp_server_max_protocol() < PROTOCOL_SMB2_10) {
break;
}
- if (lp_srv_minprotocol() > PROTOCOL_SMB2_10) {
+ if (lp_server_min_protocol() > PROTOCOL_SMB2_10) {
break;
}
if (lp_server_max_protocol() < PROTOCOL_SMB2_02) {
break;
}
- if (lp_srv_minprotocol() > PROTOCOL_SMB2_02) {
+ if (lp_server_min_protocol() > PROTOCOL_SMB2_02) {
break;
}
if (supported_protocols[protocol].protocol_level > lpcfg_server_max_protocol(req->smb_conn->lp_ctx))
continue;
- if (supported_protocols[protocol].protocol_level < lpcfg_srv_minprotocol(req->smb_conn->lp_ctx))
+ if (supported_protocols[protocol].protocol_level < lpcfg_server_min_protocol(req->smb_conn->lp_ctx))
continue;
for (i = 0; i < protos_count; i++) {