Skip to content

Commit

Permalink
resolve all dfs referrals instead of 1
Browse files Browse the repository at this point in the history
  • Loading branch information
ruaabse committed Oct 7, 2024
1 parent 8024c97 commit 8869f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/jcifs/smb/SmbTransportImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,7 @@ private void checkReferral ( Response resp, String path, RequestWithPath req ) t
DfsReferralData dr = null;
if ( !getContext().getConfig().isDfsDisabled() ) {
try {
dr = getDfsReferrals(getContext(), path, req.getServer(), req.getDomain(), 1);
dr = getDfsReferrals(getContext(), path, req.getServer(), req.getDomain(), 0);
}
catch ( CIFSException e ) {
throw new SmbException("Failed to get DFS referral", e);
Expand Down

0 comments on commit 8869f93

Please sign in to comment.