mirror of
https://github.com/samba-team/samba.git
synced 2025-01-28 17:47:29 +03:00
r7339: only check for dfs proxy referrals when the server supports dfs
(This used to be commit 9e93244fa5bd06b142a980d4090fa8f95afc983a)
This commit is contained in:
parent
74a98c6072
commit
7344cc3ba4
@ -161,7 +161,7 @@ static struct cli_state *do_connect( const char *server, const char *share,
|
||||
here before trying to connect to the original share.
|
||||
check_dfs_proxy() will fail if it is a normal share. */
|
||||
|
||||
if ( cli_check_msdfs_proxy( c, sharename, newserver, newshare ) ) {
|
||||
if ( (c->capabilities & CAP_DFS) && cli_check_msdfs_proxy( c, sharename, newserver, newshare ) ) {
|
||||
cli_shutdown(c);
|
||||
return do_connect( newserver, newshare, False );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user