Capital letter in username prevents home folder access from Win 10 Client in 11.1-U4

Status
Not open for further replies.

Chris_S

Cadet
Joined
Apr 9, 2018
Messages
5
Hi there,

I am running FreeNAS 11.1-U4 and have successfully created shares that can be accessed from Windows 10 clients.

However, home folders of users that start with a capital letter cannot be accessed, exactly as described in the following two bug reports:

https://redmine.ixsystems.com/issues/16602
https://redmine.ixsystems.com/issues/11271

Specifically, creating two different test users, one being named "Test1" and another named "test2" will allow only "test2" to access his home folder from a Win10 client, whereas "Test1" will result in an insufficient rights error on the client.

The volume is configured to be case-insensitive, adding to my confusion as to why this problem should even exist.

Anyone has an idea what is going on? Unfortunately, the two bug reports above were dismissed without a solution.

I'm attaching my smb debug dump.

Kind regards,
Chris
 

Attachments

  • smbdebug_dump.txt
    31.4 KB · Views: 307

Chris_S

Cadet
Joined
Apr 9, 2018
Messages
5
Thank you for your interest in the subject! No, unfortunately the behavior persisted.

Initially, not setting a home folder for a new (capital-first-letter) user during setup, then re-opening the user and manually adding an all-lower-case home folder seemed to work around the problem. However, I ran into further issues with this approach (access right problems I cannot remember in detail) and therefore decided not to use FreeNAS' native home folder option.

Instead, based on anodos' answer to a similar post (see reference [1]), I am now manually creating individual subfolders in a separate "Users" folder and setting the access rights in a way that emulates home-folder behavior:
  • Creating a "Users" dataset and share, setting this root folder to be read-only
  • Creating a personal sub-dataset (Users/Username)
  • setting owner-user of this subset to the person whose folder this is supposed to be
  • setting the owner-group of this subset to an admin-group
  • Finally, from a Windows client logged in as an admin group member, removing the default "Everyone" permissions from that userfolder.
Ref [1]: https://forums.freenas.org/index.ph...home-directories-correctly.34638/#post-208070
 
Status
Not open for further replies.
Top