<table><tr><td style="">madcatx updated this revision to Diff 21040.<br />madcatx edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-7l2l6lkpixcichl/" rel="noreferrer">(Show Details)</a><br />madcatx added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8387" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Detect versions of libsmbclient libraries that are considered broken and apply the workaround only for those.</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">There appears to be an issue with libsmbclient 4.7 that returns nonsensical EEXIST error code when a user has not authenticated themselves to access password-protected shares. This patch attempts to work around the issue by treating EEXIST as another case of "invalid login credentials". <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">This may cause some misbehavior in cases where EEXIST is a correct error code</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">The workaround tries to detect broken versions of libsmbclient and enables itself only when such a version is found</span>.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D8387?vs=21028&id=21040" rel="noreferrer">https://phabricator.kde.org/D8387?vs=21028&id=21040</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8387" rel="noreferrer">https://phabricator.kde.org/D8387</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>smb/kio_smb.cpp<br />
smb/kio_smb.h<br />
smb/kio_smb_browse.cpp</div></div></div><br /><div><strong>To: </strong>madcatx, ngraham, davidedmundson, elvisangelaccio, Frameworks<br /><strong>Cc: </strong>graesslin, z3ntu<br /></div>