-
Notifications
You must be signed in to change notification settings - Fork 107
Update smb backup #2981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update smb backup #2981
Conversation
Switch SMB connection from outdated NetBIOS/SMB1 (port 139) to direct TCP (port 445) Enable is_direct_tcp=True in SMBConnection for proper SMB2/3 support Remove dependency on NetBIOS session setup Improve security and compatibility with modern Samba/Windows servers Allow raising min protocol in smb.conf to SMB2 or SMB3 Refactor port handling and logging accordingly This update modernizes the backup upload mechanism and removes reliance on deprecated SMB1.
LKuemmel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mit dieser Implementierung wird zunächst der Upload über SMB2/3 ausgeführt, danach SMB1. Je nach Konfiguration wird mind. eines davon fehlschlagen, dh der Benutzer erhält immer eine Fehlermeldung. Wie wäre es, die beiden Varianten in einer if-Abfrage auszuführen und sich beim ersten erfolgreichen hochladen zu merken, ob SMB1 oder SMB2/3 verwendet werden muss?
|
Danke für den Hinweis, habe ich korrigiert. |
LKuemmel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bitte auch noch die Dateien aus .idea und inspectionProfiles, die nicht zum PR gehören, aus dem PR entfernen.
Co-authored-by: LKuemmel <76958050+LKuemmel@users.noreply.github.com>
Co-authored-by: LKuemmel <76958050+LKuemmel@users.noreply.github.com>
Co-authored-by: LKuemmel <76958050+LKuemmel@users.noreply.github.com>
Co-authored-by: LKuemmel <76958050+LKuemmel@users.noreply.github.com>
Co-authored-by: LKuemmel <76958050+LKuemmel@users.noreply.github.com>
Co-authored-by: LKuemmel <76958050+LKuemmel@users.noreply.github.com>
Sleepwalker86
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
|
Was ist mit dem suggested change https://github.com/openWB/core/pull/2981/files#r2583942139? Nicht einverstanden oder vergessen? |
Sleepwalker86
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
akzeptiert
014b727 to
08c6b0d
Compare
Update Samba upload to modern SMB2/SMB3 connection
is_direct_tcp=Truein SMBConnection for proper SMB2/3 supportmin protocolin smb.conf to SMB2 or SMB3This update modernizes the backup upload mechanism and removes reliance on deprecated SMB1.