[Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share

2018-04-24 Thread Andreas Hasenack
I'm seeing files (ok, one file) disappear from a share when it's mounted
with vers=3.0. But it's not a top-level share, it's just
"c:\Shares\jsmith" on a windows 2016 server:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1764778/comments/15

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1572132

Title:
  SMB driver (SMBv2) does not show all files when mounting a windows top
  level share

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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.txt  2018-04-24 21:47:30.003049993 +
@@ -255,6 +255,7 @@
 ./.config/compiz-1/compizconfig/config
 ./.config/compiz-1/compizconfig/done_upgrades
 ./.config/dconf
+./.config/dconf/user
 ./.config/evolution
 ./.config/evolution/sources
 ./.config/evolution/sources/birthdays.source

With smb3, ~/.config/dconf shows up as empty:
jsmith@xenial-desktop:~/.config/dconf$ l
total 8.0K
drwx-- 2 jsmith domain users 4.0K Apr 24 21:59 .
drwx-- 2 jsmith domain users 4.0K Apr 24 21:12 ..

But is it?
jsmith@xenial-desktop:~/.config/dconf$ touch user
touch: cannot touch 'user': No such file or directory

Other files can be created just fine:
jsmith@xenial-desktop:~/.config/dconf$ touch bla
jsmith@xenial-desktop:~/.config/dconf$ l
total 8.0K
drwx-- 2 jsmith domain users 4.0K Apr 24 21:59 .
drwx-- 2 jsmith domain users 4.0K Apr 24 21:12 ..
-rwxr-xr-x 1 jsmith domain users0 Apr 24 21:59 bla
jsmith@xenial-desktop:~/.config/dconf$ 

Intriguing.

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to libpam-mount in Ubuntu.
https://bugs.launchpad.net/bugs/1764778

Title:
  Problems with SSSD + pam mount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/1764778/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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!

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to libpam-mount in Ubuntu.
https://bugs.launchpad.net/bugs/1764778

Title:
  Problems with SSSD + pam mount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/1764778/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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-mount in Ubuntu.
https://bugs.launchpad.net/bugs/1764778

Title:
  Problems with SSSD + pam mount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/1764778/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 users (just a random dconf setting, harmless
enough, to play with)

dconf write /org/gnome/rhythmbox/player/volume 1.0

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to libpam-mount in Ubuntu.
https://bugs.launchpad.net/bugs/1764778

Title:
  Problems with SSSD + pam mount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/1764778/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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/volume
1.0)

/home/andreas/.config/dconf/ OPEN user
/home/andreas/.config/dconf/ CREATE user.3S6GHZ
/home/andreas/.config/dconf/ OPEN user.3S6GHZ
/home/andreas/.config/dconf/ MODIFY user.3S6GHZ
/home/andreas/.config/dconf/ CLOSE_WRITE,CLOSE user.3S6GHZ
/home/andreas/.config/dconf/ MOVED_FROM user.3S6GHZ
/home/andreas/.config/dconf/ MOVED_TO user
/home/andreas/.config/dconf/ CLOSE_NOWRITE,CLOSE user

I'm about to try that on a cifs mount. I also checked the documentation
for rename(2) (the system call that g_rename() is a wrapper for, see
https://developer.gnome.org/glib/stable/glib-File-
Utilities.html#g-rename), and there is a scenario where it would fail
due to the filesystem not allowing it:

   EPERM or EACCES
(...) ; or the filesystem containing pathname does not support renaming of the 
type requested.


I cooked up a quick C rename.c program but it worked just fine in my cifs 
mount, so the investigation continues.

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to libpam-mount in Ubuntu.
https://bugs.launchpad.net/bugs/1764778

Title:
  Problems with SSSD + pam mount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/1764778/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1761737] Re: [bionic] samba PANIC, INTERNAL ERROR: Signal 11

2018-04-24 Thread Andreas Hasenack
For the release team: this fixes a crash bug, but in a not very common
scenario: domain was joined via sssd and not samba's net join command,
and the config tells samba to look first at the secrets database which
is only populated via net join.

The MP at
https://code.launchpad.net/~ahasenack/ubuntu/+source/samba/+git/samba/+merge/343614
has a simple test case.

There is no need to respin isos because of this, but if it happens for
some other reason, it would be cool if this could get in. Otherwise, I
can transform it into an SRU for bionic once CC is opened for
development.

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1761737

Title:
  [bionic] samba PANIC, INTERNAL ERROR: Signal 11

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/1761737/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs