Skip to content

Conversation

@dmfrey
Copy link
Contributor

@dmfrey dmfrey commented Oct 28, 2025

This PR upgrades the jcifs library from 2.1.40 to 3.0.0, which supports modern Samba server connections, athentication, etc, while retains backwards compatibility with SMB1 (which, is mostly no longer supported by Windows).

closes #10533

@cppwfs cppwfs added this to the 7.0.0-RC2 milestone Oct 31, 2025
Copy link
Contributor

@cppwfs cppwfs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thank you for your contribution!

Copy link
Member

@artembilan artembilan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently this new version was published just after our RC 😂: https://central.sonatype.com/artifact/org.codelibs/jcifs

this is great catch , Dan!

please, consider to revise our SMB doc to be sure that we mention proper packages.
Also, what’s-new chapter deserves a section for such an SMB module change.
After merging this next week for (surprise!) RC2, we also would need to mention package change in the migration guide. Not you already: just a reminder for myself and the team.

thank you for another great contribution , Dan!

@cppwfs cppwfs added in: smb type: dependency-upgrade Pull requests that update a dependency file type: refactoring labels Nov 3, 2025
@dmfrey
Copy link
Contributor Author

dmfrey commented Nov 4, 2025

@artembilan I updated the smb.adoc file. I found a few of the old packages. Is there another area that also needs to be updated?

Copy link
Member

@artembilan artembilan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great!
Please , also mention this version and package migration in the whats-new.adoc.
See other sections there for inspiration.

Copy link
Member

@artembilan artembilan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good, Dan.
Thank you!

I’ll merge tomorrow with some minor clean up.
Which is:

  1. One sentence per line in docs
  2. Just SMB Changes for the title is enough. pay attention that every word (but articles and conjunctions) in the title has to be capitalized
  3. The commit message has to be comprehensive and thing by itself. I mean I’ll put your description from issue and PR into the final commit message. It is not always possible to follow the link from commit history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: smb type: dependency-upgrade Pull requests that update a dependency file type: refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JCifs version 2.1.40 is out of date and no longer maintained, migrate to JCifs 3.0.0

3 participants