From 85e6b6747d07050e01ec91acef2453655821f9ab Mon Sep 17 00:00:00 2001 From: Gordon Ross Date: Tue, 16 Jul 2013 22:10:42 -0400 Subject: 5308 Unable to join AD domain (with NtlmMinSeverSec set in the registry) Reviewed by: Bayard Bell Reviewed by: Dan McDonald Reviewed by: Thomas Keiser Reviewed by: Albert Lee Approved by: Dan McDonald --- usr/src/lib/libsmbfs/smb/ctx.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'usr/src/lib/libsmbfs/smb/ctx.c') diff --git a/usr/src/lib/libsmbfs/smb/ctx.c b/usr/src/lib/libsmbfs/smb/ctx.c index 81e4241aa5..e68213b6ef 100644 --- a/usr/src/lib/libsmbfs/smb/ctx.c +++ b/usr/src/lib/libsmbfs/smb/ctx.c @@ -1121,13 +1121,7 @@ smb_ctx_resolve(struct smb_ctx *ctx) * check for a keychain entry. * XXX: Only for auth NTLM? */ - if (ctx->ct_user[0] == '\0') { - /* - * No user name (anonymous session). - * The minauth checks do not apply. - */ - ctx->ct_authflags = SMB_AT_ANON; - } else { + if (ctx->ct_user[0] != '\0') { /* * Have a user name. * If we don't have a p/w yet, -- cgit v1.2.3