CIFS file systems mount as root and not as user in 4.12.14-lp150.12.48-default kernel

I have multiple OpenSUSE 15.0 systems - the Samba host is on 4.12.14-lp150.12.48-default and the guest that are on 4.12.14-lp150.12.48-default have this error in the journalctl log has this error

kernel: CIFS VFS: error -95 on ioctl to get interface list

and the CIFS file system mount as root and not as user.

if I reboot to the 4.12.14-lp150.12.45-default kernel - the CIFS file systems mount as user and not root.

Anyone else seeing this - I can create files that show up on the host correctly as user but show as root on the mounted file system - ironically user can delete files on the mounted CIFS file system even though they show owner as root and no access to guests (chmod of 600).

I have gone back to .45 on systems that need CIFS file systems mounted. the issues is not in SMB service but in the 48 kernel.

If others see this I will open a bugzilla.

If you can reliably connect the problem with the latest kernel, then it’s best to file a bug report anyway.

This post
https://forums.opensuse.org/showthread.php/535038-Samba-help-urgently-needed?p=2895040#post2895040
in another thread might be relevant to your problem.

Bug 1126354](https://bugzilla.opensuse.org/show_bug.cgi?id=1126354) - 4.12.14-lp150.12.48-default error -95 on CIFS mount

Thanks for reporting, and for posting back the bug report link.

The fix for to allow the user to be the owner is set -o ver=1.0.
setting defaults to 3.0 and 2.0 both ignore forceuid and forcegid - not needed when ver=1.0.

The new kernel forces ver=3.0 if you do not set it - the older kernels forced 1.0.