diff options
author | Gordon Ross <gwr@nexenta.com> | 2013-07-16 22:10:42 -0400 |
---|---|---|
committer | Gordon Ross <gwr@nexenta.com> | 2014-11-12 14:29:11 -0500 |
commit | 85e6b6747d07050e01ec91acef2453655821f9ab (patch) | |
tree | b2531706b2e44cbeaad4a5b157ddffbae7e8406f /usr/src/lib/libsmbfs/smb/ctx.c | |
parent | fd75ca8de430ee0ba5ce650efee0ac0b85ed43e9 (diff) | |
download | illumos-joyent-85e6b6747d07050e01ec91acef2453655821f9ab.tar.gz |
5308 Unable to join AD domain (with NtlmMinSeverSec set in the registry)
Reviewed by: Bayard Bell <bayard.bell@nexenta.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Reviewed by: Thomas Keiser <thomas.keiser@nexenta.com>
Reviewed by: Albert Lee <trisk@nexenta.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/lib/libsmbfs/smb/ctx.c')
-rw-r--r-- | usr/src/lib/libsmbfs/smb/ctx.c | 8 |
1 files changed, 1 insertions, 7 deletions
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, |