]> www.infradead.org Git - users/jedix/linux-maple.git/commit
smb: fix secondary channel creation issue with kerberos by populating hostname when...
authorBharath SM <bharathsm@microsoft.com>
Mon, 17 Mar 2025 10:27:27 +0000 (15:57 +0530)
committerSteve French <stfrench@microsoft.com>
Wed, 18 Jun 2025 18:27:45 +0000 (13:27 -0500)
commit306cb65bb0cb243389fcbd0a66907d5bdea07d1e
treec62e2c2601142b749a3c44711c0a8b04892129fb
parente04c78d86a9699d136910cfc0bdcf01087e3267e
smb: fix secondary channel creation issue with kerberos by populating hostname when adding channels

When mounting a share with kerberos authentication with multichannel
support, share mounts correctly, but fails to create secondary
channels. This occurs because the hostname is not populated when
adding the channels. The hostname is necessary for the userspace
cifs.upcall program to retrieve the required credentials and pass
it back to kernel, without hostname secondary channels fails
establish.

Cc: stable@vger.kernel.org
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Bharath SM <bharathsm@microsoft.com>
Reported-by: xfuren <xfuren@gmail.com>
Link: https://bugzilla.samba.org/show_bug.cgi?id=15824
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/sess.c