Ronnie Sahlberg 50630b3f1a cifs: Do not use the original cruid when following DFS links for multiuser mounts
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=213565

cruid should only be used for the initial mount and after this we should use the current
users credentials.
Ignore the original cruid mount argument when creating a new context for a multiuser mount
following a DFS link.

Fixes: 24e0a1eff9e2 ("cifs: switch to new mount api")
Cc: stable@vger.kernel.org # 5.11+
Reported-by: Xiaoli Feng <xifeng@redhat.com>
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
2021-07-14 10:06:33 -05:00
..
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-07-09 13:03:36 -05:00
2021-06-20 21:28:17 -05:00
2020-06-01 00:10:18 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2020-08-02 18:00:25 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2021-06-20 21:28:17 -05:00
2019-01-24 09:37:33 -06:00
2021-04-25 16:28:23 -05:00
2021-06-20 21:28:17 -05:00