Summary: | /etc/nsmb.conf requires workgroup and user names to be UPPERCASE, while mount_smbfs not. | ||
---|---|---|---|
Product: | Base System | Reporter: | Gleb Popov <arrowd> |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | yuripv |
Priority: | --- | Keywords: | patch |
Version: | 11.2-RELEASE | ||
Hardware: | Any | ||
OS: | Any | ||
URL: | https://reviews.freebsd.org/D22289 |
Description
Gleb Popov
2018-09-24 09:20:58 UTC
/etc/nsmb.conf actually mentions the requirement, nsmb.conf(5) doesn't though: ... # SMB library uses next forms of section names (please note that the section # name should be in upper case when it refers to server, user or share): ... (In reply to Yuri Pankov from comment #1) Even if man page had mentioned this behavior, I still think it is not enough visible for a user. Can we just error out in mount_smbfs when config file has lowercase letters in section names? Patch proposed here: https://reviews.freebsd.org/D22289 I'm waiting for a review on this for more than month. Can anyone take a look at this trivial change? A commit references this bug: Author: arrowd Date: Fri Jan 3 12:54:15 UTC 2020 New revision: 356317 URL: https://svnweb.freebsd.org/changeset/base/356317 Log: mount_smbfs: Issue a warning when .nsmbrc section name contains lowercase characters. PR: 231656 Approved by: bapt MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D22289 Changes: head/contrib/smbfs/lib/smb/rcfile.c A commit references this bug: Author: bapt Date: Thu Jan 9 19:56:25 UTC 2020 New revision: 356565 URL: https://svnweb.freebsd.org/changeset/base/356565 Log: MFC r356317 (by arrowd): mount_smbfs: Issue a warning when .nsmbrc section name contains lowercase characters. PR: 231656 Approved by: bapt Differential Revision: https://reviews.freebsd.org/D22289 Changes: _U stable/12/ stable/12/contrib/smbfs/lib/smb/rcfile.c A commit references this bug: Author: bapt Date: Thu Jan 9 19:58:05 UTC 2020 New revision: 356566 URL: https://svnweb.freebsd.org/changeset/base/356566 Log: MFC r356317 (by arrowd): mount_smbfs: Issue a warning when .nsmbrc section name contains lowercase characters. PR: 231656 Approved by: bapt Differential Revision: https://reviews.freebsd.org/D22289 Changes: _U stable/11/ stable/11/contrib/smbfs/lib/smb/rcfile.c |