Red Hat의 Samba 서버 - "클라이언트 서명 = 필수" 버그

Red Hat의 Samba 서버 - "클라이언트 서명 = 필수" 버그

내 Samba 버전이 4.10.16이고 설정에 문제가 있습니다.클라이언트 서명변수필수적인. /etc/samba/smb.conf에 올바르게 설정되어 있지만 testparm이 표시됩니다.클라이언트 서명 = 필수. 내 RH 버전은 7.9입니다. 가능하다면 이 문제를 해결하는 방법을 아는 사람이 있습니까?

testparm이 적절한 구성을 사용하고 있고 올바른지 다시 확인했습니다. 맨 페이지에 표시되는 내용은 다음과 같습니다.

client signing (G)

           This controls whether the client is allowed or required to use SMB signing. Possible values are auto, mandatory and disabled.

           When set to auto or default, SMB signing is offered, but not enforced.

           When set to mandatory, SMB signing is required and if set to disabled, SMB signing is not offered either.

           IPC$ connections for DCERPC e.g. in winbindd, are handled by the client ipc signing option.

           Default: client signing = default

없다필수의값을 설정하고 이 변수를 다음으로 설정합니다.자동클라이언트 서명 = if_required테스트팜에서.

또한 2015년 Samba Bugzilla에서도 NEW 상태의 유사한 문제를 발견했습니다.링크. 그 이후로 이 버그가 해결되지 않은 것 같습니다.

답변1

파서문서화되지 않은 몇 가지 별칭을 허용하지만 모두 동일한 값입니다.

/* SMB signing types. */
static const struct enum_list enum_smb_signing_vals[] = {
    {SMB_SIGNING_DEFAULT, "default"},

    {SMB_SIGNING_OFF, "No"},
    {SMB_SIGNING_OFF, "False"},
    {SMB_SIGNING_OFF, "0"},
    {SMB_SIGNING_OFF, "Off"},
    {SMB_SIGNING_OFF, "disabled"},

    {SMB_SIGNING_IF_REQUIRED, "if_required"},
    {SMB_SIGNING_IF_REQUIRED, "Yes"},
    {SMB_SIGNING_IF_REQUIRED, "True"},
    {SMB_SIGNING_IF_REQUIRED, "1"},
    {SMB_SIGNING_IF_REQUIRED, "On"},
    {SMB_SIGNING_IF_REQUIRED, "enabled"},
    {SMB_SIGNING_IF_REQUIRED, "auto"},

    {SMB_SIGNING_DESIRED, "desired"},

    {SMB_SIGNING_REQUIRED, "required"},
    {SMB_SIGNING_REQUIRED, "mandatory"},
    {SMB_SIGNING_REQUIRED, "force"},
    {SMB_SIGNING_REQUIRED, "forced"},
    {SMB_SIGNING_REQUIRED, "enforced"},

    {-1, NULL}
};

값이 에 의해 다시 문자열로 변환되면 testparm이 목록의 첫 번째 별칭이 되는 모든 항목을 사용합니다.

관련 정보