Skip to content
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

SMB Backup: Dateien werde nicht abgelegt #1186

Closed
Saharel001 opened this issue Oct 20, 2023 · 3 comments
Closed

SMB Backup: Dateien werde nicht abgelegt #1186

Saharel001 opened this issue Oct 20, 2023 · 3 comments

Comments

@Saharel001
Copy link
Contributor

Saharel001 commented Oct 20, 2023

Hallo zusammen, dass samba Modul scheint noch nicht so ganz zu funktionieren.
Ich habe einen Share auf einen QNAP angegeben, User, Passwort. Leider bleibt das Share leer.

Probiert habe ich:
//IP/Share/Folder
//IP/Share
\\IP\Share\Folder
\\IP\Share

Leider fehlt hier ein Wikieintrag zu.

Auf der openwb unter http://IP/openWB/data/backup/ wird immer eine frische Datei erzeugt.
Da das Modul wenig bis keine Logs ausspuckt bis auf das eine, kann ich es nur beschreiben.
SMB.SMBConnection:104} - {INFO:cloud backup} - Authentication with remote machine "SERVER" for user "xxx" will be using NTLM v2 authentication (with extended security)
Hier verwundert mich der Name meiner "remote maschine". Wurde hier eventuell die IP ignoriert.
QNAP protokoliert keinerlei Verbindungsversuche von meiner openwb

Die Verbindung via Explorer ist kein Problem, Schreibrechte hat der User auch:
image

@Saharel001
Copy link
Contributor Author

Ich habe den Fehler gefunden, in der Initialisierung der SMB Verbindung ist der Name 'server' hard gecoded ;) Außerdem wurde nicht nach https://pysmb.readthedocs.io/en/latest/api/smb_SMBConnection.html gearbeitet.

Werde es beheben und nen PR stellen.

@Saharel001
Copy link
Contributor Author

PR steht: #1187

@Saharel001
Copy link
Contributor Author

durch PR erledigt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant