[Bug 1764778] Re: Problems with SSSD + pam mount

2018-04-26 Thread Andreas Hasenack
Adding a cifs-utils task. It's closer to the problem. But the bug might be in the kernel bit. ** Also affects: cifs-utils (Ubuntu) Importance: Undecided Status: New ** Changed in: libpam-mount (Ubuntu) Status: Incomplete => Invalid ** Changed in: sssd (Ubuntu) Status: Inc

Re: [Bug 1764778] Re: Problems with SSSD + pam mount

2018-04-25 Thread Andreas Hasenack
Can you try setting vers=1.0 in the mount options? On Wed, Apr 25, 2018, 04:41 Paul-Georg Majev <1764...@bugs.launchpad.net> wrote: > First of all: Thank you very much for investing so much time into > getting to the bottom of this problem! We are very grateful for it and > relieved, that the err

[Bug 1764778] Re: Problems with SSSD + pam mount

2018-04-24 Thread Andreas Hasenack
I'm wondering if this is not related to https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1572132 I see less files when I mount the share with smb3. In particular, ~/.config/dconf/user is missing when using smb3: --- home-list-smb3.txt 2018-04-24 21:43:54.727520865 + +++ home-list-smb1.tx

[Bug 1764778] Re: Problems with SSSD + pam mount

2018-04-24 Thread Andreas Hasenack
Ok, the problem is caused by the change in minimum protocol version. In xenial, smb 1.0 is the default, but in bionic it's 3.0. In the working xenial case, when I force protocol version 3.0 via "vers=3.0" in the pam_mount config, I get the same error as in bionic. The troubleshooting continues!

[Bug 1764778] Re: Problems with SSSD + pam mount

2018-04-24 Thread Andreas Hasenack
I was able to reproduce this with a bionic desktop and a home-mounted cifs share. Same setup but with xenial, and with the same user against the same windows server, worked just fine. -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to libpam-mo

[Bug 1764778] Re: Problems with SSSD + pam mount

2018-04-24 Thread Andreas Hasenack
Can you please paste me the output of "mount -t cifs" on a system where this problem isn't happening? Also, please paste the exact versions of cifs-utils in both cases and the running kernel. As for a minimal reproducing case I'm trying to find, does this fail for you as one of these regular user

[Bug 1764778] Re: Problems with SSSD + pam mount

2018-04-24 Thread Andreas Hasenack
I setup a watch on the dconf directory, and can confirm the rename happens just as in your error log message when I use dconf: andreas@nsnx:~$ inotifywait -m /home/andreas/.config/dconf/ Setting up watches. Watches established. (run in another terminal: dconf write /org/gnome/rhythmbox/player/vol

[Bug 1764778] Re: Problems with SSSD + pam mount

2018-04-23 Thread Andreas Hasenack
Do you have apparmor DENIED errors in your dmesg output? Or other maybe relevant messages there that match the timing of the "g_rename() failed" error? -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to libpam-mount in Ubuntu. https://bugs.laun

[Bug 1764778] Re: Problems with SSSD + pam mount

2018-04-23 Thread Andreas Hasenack
This permission denied error looks relevant: Apr 23 09:50:12 CLIENT gnome-shell[3975]: failed to commit changes to dconf: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code2: Failed to rename file “/home/USER/.config/dconf/user.ZHTTHZ” to “/home/USER/.config/dconf/user”:

[Bug 1764778] Re: Problems with SSSD + pam mount

2018-04-20 Thread Andreas Hasenack
Thanks for the feedback. I haven't tried the sssd gpo controls myself yet, and I see you have them set at "permissive", which tells me it would not be preventing users from changing things. But let's say there is a bug in that area, would the GPO controls be able to cause what you are seeing? Can

[Bug 1764778] Re: Problems with SSSD + pam mount

2018-04-19 Thread Andreas Hasenack
Why do you think it's related to pam_mount? Are the mount points mounted read-only? Can you show the output of "sudo mount -t cifs"? ** Changed in: sssd (Ubuntu) Status: New => Incomplete ** Changed in: libpam-mount (Ubuntu) Status: New => Incomplete -- You received this bug noti