Re: [PATCH][SMB3 client] add dynamic trace point for session setup password expired failures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 26, 2024 at 11:48 AM Steve French <smfrench@xxxxxxxxx> wrote:
>
> There are cases where services need to remount (or change their
> credentials files) when keys have expired, but it can be helpful
> to have a dynamic trace point to make it easier to notify the
> service to refresh the storage account key.
>
> Here is sample output, one from mount with bad password, one
> from a reconnect where the password has been changed or expired
> and reconnect fails (requiring remount with new storage account key)
>
>        TASK-PID     CPU#  |||||  TIMESTAMP  FUNCTION
>           | |         |   |||||     |         |
>
>   mount.cifs-11362  [000] .....  6000.241620: smb3_key_expired:
>     rc=-13 user=testpassu conn_id=0x2 server=localhost addr=127.0.0.1:445
>   kworker/4:0-8458  [004] .....  6044.892283: smb3_key_expired:
>     rc=-13 user=testpassu conn_id=0x3 server=localhost addr=127.0.0.1:445
>
> See attached patch
>
> --
> Thanks,
>
> Steve

Looks good to me.

-- 
Regards,
Shyam





[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux