Project

General

Profile

Actions

Bug #9872

closed

SMB server does not accept username@hostname

Added by Gordon Ross over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2018-10-06
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

SMB clients may present username with domain or host name in either form:
username@hostname, hostname\username

Handling of the 1st form above was accidentally dropped during work for:
#1122 smbsrv should use SPNEGO (inbound authentication)

Actions #1

Updated by Gordon Ross over 4 years ago

Steps to Reproduce:

Have a clean-installed standalone (workgroup mode) server.
Create a volume, a folder and enable its CIFS property.
From Windows explorer on Windows client, connect to the CIFS share
At the credential dialog, supply the crednetial in the form:
User: smbuser@myhost
Password (whatever)
Access is denied. In smb/server log, NO_SUCH_USER error would be recorded.

If instead you use the form: myhost\smbuser
access works fine.

Actions #2

Updated by Electric Monk over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 437d9da7e4e3aac261d43f722ef702469f5550ce

commit  437d9da7e4e3aac261d43f722ef702469f5550ce
Author: Matt Barden <matt.barden@nexenta.com>
Date:   2018-10-11T17:13:08.000Z

    9872 SMB server does not accept username@hostname
    Reviewed by: Evan Layton <evan.layton@nexenta.com>
    Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF