Commit a8fce7c
smb: client: improve error message when creating SMB session
When failing to create a new SMB session with 'sec=krb5' for example,
the following error message isn't very useful
CIFS: VFS: \\srv Send error in SessSetup = -126
Improve it by printing the following instead on dmesg
CIFS: VFS: \\srv failed to create a new SMB session with Kerberos: -126
Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Cc: Pierguido Lambri <plambri@redhat.com>
Reviewed-by: David Howells <dhowells@redhat.com>
Cc: linux-cifs@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>1 parent 855982a commit a8fce7c
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4238 | 4238 | | |
4239 | 4239 | | |
4240 | 4240 | | |
| 4241 | + | |
4241 | 4242 | | |
4242 | 4243 | | |
| 4244 | + | |
4243 | 4245 | | |
4244 | 4246 | | |
4245 | 4247 | | |
| |||
4325 | 4327 | | |
4326 | 4328 | | |
4327 | 4329 | | |
4328 | | - | |
| 4330 | + | |
| 4331 | + | |
| 4332 | + | |
| 4333 | + | |
4329 | 4334 | | |
4330 | 4335 | | |
4331 | 4336 | | |
| |||
0 commit comments