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

Commit 515d82ff authored by Jeff Layton's avatar Jeff Layton Committed by Steve French
Browse files

cifs: add new "Unspecified" securityEnum value



Add a new securityEnum value to cover the case where a sec= option
was not explicitly set.

Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
Reviewed-by: default avatarPavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: default avatarSteve French <smfrench@gmail.com>
parent 9193400b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -101,11 +101,11 @@ enum statusEnum {
};

enum securityEnum {
	LANMAN = 0,			/* Legacy LANMAN auth */
	Unspecified = 0,	/* not specified */
	LANMAN,			/* Legacy LANMAN auth */
	NTLM,			/* Legacy NTLM012 auth with NTLM hash */
	NTLMv2,			/* Legacy NTLM auth with NTLMv2 hash */
	RawNTLMSSP,		/* NTLMSSP without SPNEGO, NTLMv2 hash */
/*	NTLMSSP, */ /* can use rawNTLMSSP instead of NTLMSSP via SPNEGO */
	Kerberos,		/* Kerberos via SPNEGO */
};