Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7111d214 authored by Jeff Layton's avatar Jeff Layton Committed by Steve French
Browse files

[CIFS]


[CIFS] fix error message about packet signing

When packet signing is disabled and the server requires it, cifs prints
an error message. The current message refers to a file in /proc that no
longer exists. Fix it to refer to the correct file.

Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 8f2376ad
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -661,8 +661,8 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses)
		cFYI(1, ("Signing disabled"));
		cFYI(1, ("Signing disabled"));
		if (server->secMode & SECMODE_SIGN_REQUIRED)
		if (server->secMode & SECMODE_SIGN_REQUIRED)
			cERROR(1, ("Server requires "
			cERROR(1, ("Server requires "
				   "/proc/fs/cifs/PacketSigningEnabled "
				   "packet signing to be enabled in "
				   "to be on"));
				   "/proc/fs/cifs/SecurityFlags."));
		server->secMode &=
		server->secMode &=
			~(SECMODE_SIGN_ENABLED | SECMODE_SIGN_REQUIRED);
			~(SECMODE_SIGN_ENABLED | SECMODE_SIGN_REQUIRED);
	} else if ((secFlags & CIFSSEC_MUST_SIGN) == CIFSSEC_MUST_SIGN) {
	} else if ((secFlags & CIFSSEC_MUST_SIGN) == CIFSSEC_MUST_SIGN) {