[Bug 231656] /etc/nsmb.conf requires workgroup and user names to be UPPERCASE, while mount_smbfs not.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 24 09:21:01 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231656

            Bug ID: 231656
           Summary: /etc/nsmb.conf requires workgroup and user names to be
                    UPPERCASE, while mount_smbfs not.
           Product: Base System
           Version: 11.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: arrowd at FreeBSD.org

When I run

mount_smbfs -I 172.16.34.25 //user at host/Cloud /mnt

it prompts me to enter a password and then successfully mounts the share.

However, putting

[host:user]
password=123123

into /etc/nsmb.conf and then running

mount_smbfs -N -I 172.16.34.25 //user at host/Cloud /mnt

doesn't work due to failing authentication.

I've sniffed packets and it turned out that mount_smbfs sends different hashes
used to authenticate. After a bit of googling I found advice to write all SMB
resource names in uppercase and it worked. After changing nsmb.conf contents to

[HOST:USER]
password=123123

the command with -N finally worked out.

Is it a bug, or I'm just misundestanding something?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list