Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2018 09:20:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 231656] /etc/nsmb.conf requires workgroup and user names to be UPPERCASE, while mount_smbfs not.
Message-ID:  <bug-231656-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231656

            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@FreeBSD.org
          Reporter: arrowd@FreeBSD.org

When I run

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

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

However, putting

[host:user]
password=3D123123

into /etc/nsmb.conf and then running

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

doesn't work due to failing authentication.

I've sniffed packets and it turned out that mount_smbfs sends different has=
hes
used to authenticate. After a bit of googling I found advice to write all S=
MB
resource names in uppercase and it worked. After changing nsmb.conf content=
s to

[HOST:USER]
password=3D123123

the command with -N finally worked out.

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231656-227>