CIFS file owners and groups
by varontron from LinuxQuestions.org on (#598VR)
Using Ubuntu 16.04 and a NAS device protected by Active Directory. I can mount and access all files via `cifs` in read-only mode, as desired.
As expected, all user and group ownership on the mounted volume are either attributed to `root` when unspecified, or to the specified linux user in the `fstab` config.
Is there any way to preserve (and "stat") original user and group attributes of the files in this mounted context?
The only information I have found is related to preserving this information in file creation or copy contexts, which a) do not apply, b) assume this information is available in the first place, and c) are not necessarily related to Ubuntu.
I tried installing and configuring `sssd` but I'm a bit out of my depth without more information.
Is this capability totally dependent on the NAS software and configuration, or on Active Directory configuration?


As expected, all user and group ownership on the mounted volume are either attributed to `root` when unspecified, or to the specified linux user in the `fstab` config.
Is there any way to preserve (and "stat") original user and group attributes of the files in this mounted context?
The only information I have found is related to preserving this information in file creation or copy contexts, which a) do not apply, b) assume this information is available in the first place, and c) are not necessarily related to Ubuntu.
I tried installing and configuring `sssd` but I'm a bit out of my depth without more information.
Is this capability totally dependent on the NAS software and configuration, or on Active Directory configuration?