[Bug 1586707] Re: Failure mounting cifs volumes pam_mount
Changing the value of "winbind expand groups" to 1 works for me (on Kubuntu 16.04). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586707 Title: Failure mounting cifs volumes pam_mount To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1586707/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1586707] Re: Failure mounting cifs volumes pam_mount
The value of "winbind expand groups" is 1 for me. However, PAM still refuses to mount. I resolved this by changing the primary group of each user in Active Directory to match the value of "sgrp", so apparently the attribute still only works if it's the primary group of the user. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586707 Title: Failure mounting cifs volumes pam_mount To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1586707/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1586707] Re: Failure mounting cifs volumes pam_mount
In fact the problem is solved using the "winbind expand groups" parameter in /etc/samba/smb.conf with the value of 1 (winbind expand groups = 1) . This was the default in earlier versions of samba, and was changed to 0 (winbind expand groups = 0) from version 4.2.x. I appreciate the contribution ! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586707 Title: Failure mounting cifs volumes pam_mount To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1586707/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1586707] Re: Failure mounting cifs volumes pam_mount
** Changed in: samba (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586707 Title: Failure mounting cifs volumes pam_mount To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1586707/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1586707] Re: Failure mounting cifs volumes pam_mount
I confirm that this bug occurs on Ubuntu 16.04 as well. A workaround is to omit the "sgrp" attribute which sometimes causes a 10-second hang per mount for local users (with no permission for volume) when logging in. With 10 volumes to mount... yikes! My configuration: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586707 Title: Failure mounting cifs volumes pam_mount To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1586707/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1586707] Re: Failure mounting cifs volumes pam_mount
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: samba (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586707 Title: Failure mounting cifs volumes pam_mount To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1586707/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1586707] Re: Failure mounting cifs volumes pam_mount
** Description changed: Since version " 2: 4.3.8 + dfsg - 0ubuntu0.14.04.2 " current " 2: 4.3.9 + dfsg - 0ubuntu1 " that cifs volumes with " SGRP " attribute in pam_mount are not mounted . In fact the volume is only mounted when the volume access permission group is the primary group that is logged in, otherwise the volume is not mounted. For example: If the share has only limited access to " administrators " and the user's primary group for this , so the volume is mounted . But even if the user belongs to the Administrators group , just not being the primary user group ( in Active Directory usually the primary group by default is " Domain Users " ) , the same share is not mounted. - Distros : Ubuntu 04.14 or higher. + Distros : Ubuntu 14.04 or higher. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586707 Title: Failure mounting cifs volumes pam_mount To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1586707/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs