Commit 7e682f7
committed
Fix warning messages when mounting to older servers
When mounting to older servers, such as Windows XP (or even Windows 7),
the limited error messages that can be passed back to user space can
get confusing since the default dialect has changed from SMB1 (CIFS) to
more secure SMB3 dialect. Log additional information when the user chooses
to use the default dialects and when the server does not support the
dialect requested.
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Acked-by: Pavel Shilovsky <pshilov@microsoft.com>1 parent e89ce1f commit 7e682f7
2 files changed
Lines changed: 27 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1223 | 1223 | | |
1224 | 1224 | | |
1225 | 1225 | | |
| 1226 | + | |
1226 | 1227 | | |
1227 | 1228 | | |
1228 | 1229 | | |
| |||
1874 | 1875 | | |
1875 | 1876 | | |
1876 | 1877 | | |
| 1878 | + | |
1877 | 1879 | | |
1878 | 1880 | | |
1879 | 1881 | | |
1880 | 1882 | | |
| 1883 | + | |
1881 | 1884 | | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
1882 | 1892 | | |
1883 | 1893 | | |
1884 | 1894 | | |
1885 | 1895 | | |
1886 | | - | |
| 1896 | + | |
1887 | 1897 | | |
1888 | 1898 | | |
| 1899 | + | |
1889 | 1900 | | |
1890 | 1901 | | |
1891 | 1902 | | |
1892 | 1903 | | |
1893 | 1904 | | |
1894 | 1905 | | |
| 1906 | + | |
1895 | 1907 | | |
1896 | 1908 | | |
1897 | 1909 | | |
| |||
1973 | 1985 | | |
1974 | 1986 | | |
1975 | 1987 | | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
1976 | 1996 | | |
1977 | 1997 | | |
1978 | 1998 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
517 | | - | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
518 | 523 | | |
519 | 524 | | |
520 | 525 | | |
| |||
0 commit comments