patlkli schrieb:
LinusNichtTorvalds schrieb:
Max-Ulrich Farber schrieb:
Die Option "Hinzufügen" (manuelles Hinzufügen weiterer Freigaben) funktionierte nicht, auch nicht mit der IP statt des Rechnernamens (Bug?)
Egal was ich da eingeben (auch wenn ich "Sasdsadmnalksdksandaskln" als Host angebe, es passsiert NICHTS. Kann ich also Bestätigen. Außerdem wäre es schön, wenn eine Fehlermeldung erscheint, falls das Hinzufügen fehl schlägt.
Könntest du dafür mal eine Debug-Ausgabe herzeigen?
Klar. Ich habe es jetzt mit der Eingabe von //localhost/freigabe
(die Freigabe existiert 100%ig) probiert, da im Moment kein anderer SMB-Rechner am Netz ist (gestern klappte es auch micht anderen nicht-localhost-Freigaben nicht). Grafisch zeigte meine Eingabe keinerlei Effekte. Ich finde, es sollte wenigstens eine Fehlermeldung erscheinen, falls die Freigabe nicht gefunden wird oder sowas...
Version:
linus@dell-laptop:~$ pyNeighborhood --version pyNeighborhood 0.5.1-rc1
Debug:
Debug: Starting Browsing Engine... Debug: Found Master Browser: 192.168.2.100 Debug: DELL-LAPTOP <20> Debug: WORKGROUP <1e> Debug: Master Browser 192.168.2.100 has Workgroup WORKGROUP Debug: Querying Host 192.168.2.100... Debug: ...looking up Hostname & IP... Debug: DELL-LAPTOP <20> Debug: WORKGROUP <1e> Debug: ... Workgroup = WORKGROUP, Hostname = dell-laptop.speedport.ip, Name = DELL-LAPTOP... Debug: ...done Debug: Found workgroup: WORKGROUP Debug: Scanning host DELL-LAPTOP for shares... Debug: Scanning for Shares: 192.168.2.100 Debug: Running Command '['/usr/bin/smbclient', '-N', '-L', u'192.168.2.100']' Debug: Found share: (1, u'print$', 1, None, None, None, None, u'Printer Drivers', None, 0, 0) Debug: Found share: (2, u'freigabe', 1, None, None, None, None, u'', None, 0, 0) ==== WORKGROUP TABLE ==== (1, u'WORKGROUP', u'0', 1, 0) ==== HOSTS TABLE ==== (1, u'DELL-LAPTOP', u'192.168.2.100', u'dell-laptop.speedport.ip', 1, None, u'0:0', 1, 0) ==== SHARES TABLE ==== (1, u'print$', 1, None, None, None, None, u'Printer Drivers', u'0:0:0', 1, 0) (2, u'freigabe', 1, None, None, None, None, u'', u'0:0:1', 1, 0) Debug: Hostname » localhost, IP » 127.0.0.1 Debug: DELL-LAPTOP <20> Debug: WORKGROUP <1e> Debug: Querying Host 127.0.0.1... Debug: ...looking up Hostname & IP... Debug: DELL-LAPTOP <20> Debug: WORKGROUP <1e> Debug: ... Workgroup = WORKGROUP, Hostname = localhost, Name = DELL-LAPTOP... Debug: ...done Debug: Scanning for Shares: 127.0.0.1 Debug: Running Command '['/usr/bin/smbclient', '-N', '-L', '127.0.0.1']'
Trace:
In browsing.py at Line 43: Starting Browsing Engine... In browsing.py at Line 51: Found Master Browser: 192.168.2.100 In nmblookup.py at Line 51: DELL-LAPTOP <20> In nmblookup.py at Line 51: WORKGROUP <1e> In browsing.py at Line 53: Master Browser 192.168.2.100 has Workgroup WORKGROUP In nmblookup.py at Line 120: Querying Host 192.168.2.100... In nmblookup.py at Line 132: ...looking up Hostname & IP... In nmblookup.py at Line 51: DELL-LAPTOP <20> In nmblookup.py at Line 51: WORKGROUP <1e> In nmblookup.py at Line 142: ... Workgroup = WORKGROUP, Hostname = dell-laptop.speedport.ip, Name = DELL-LAPTOP... In nmblookup.py at Line 146: ...done In browsing.py at Line 59: Found workgroup: WORKGROUP In browsing.py at Line 62: Scanning host DELL-LAPTOP for shares... In smbclient.py at Line 30: Scanning for Shares: 192.168.2.100 In smbclient.py at Line 40, the command '['/usr/bin/smbclient', '-N', '-L', u'192.168.2.100']' returns: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.0] Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.0] Anonymous login successful Sharename Type Comment --------- ---- ------- print$ Disk Printer Drivers IPC$ IPC IPC Service (dell-laptop server (Samba, Ubuntu)) Epson-Stylus-SX100 Printer Epson Stylus SX100 freigabe Disk Anonymous login successful Server Comment --------- ------- DELL-LAPTOP dell-laptop server (Samba, Ubuntu) Workgroup Master --------- ------- WORKGROUP DELL-LAPTOP In browsing.py at Line 66: Found share: (1, u'print$', 1, None, None, None, None, u'Printer Drivers', None, 0, 0) In browsing.py at Line 66: Found share: (2, u'freigabe', 1, None, None, None, None, u'', None, 0, 0) In addwindow.py at Line 106: Hostname » localhost, IP » 127.0.0.1 In nmblookup.py at Line 51: DELL-LAPTOP <20> In nmblookup.py at Line 51: WORKGROUP <1e> In nmblookup.py at Line 120: Querying Host 127.0.0.1... In nmblookup.py at Line 132: ...looking up Hostname & IP... In nmblookup.py at Line 51: DELL-LAPTOP <20> In nmblookup.py at Line 51: WORKGROUP <1e> In nmblookup.py at Line 142: ... Workgroup = WORKGROUP, Hostname = localhost, Name = DELL-LAPTOP... In nmblookup.py at Line 146: ...done In smbclient.py at Line 30: Scanning for Shares: 127.0.0.1 In smbclient.py at Line 40, the command '['/usr/bin/smbclient', '-N', '-L', '127.0.0.1']' returns: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.0] Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.0] Anonymous login successful Sharename Type Comment --------- ---- ------- print$ Disk Printer Drivers IPC$ IPC IPC Service (dell-laptop server (Samba, Ubuntu)) Epson-Stylus-SX100 Printer Epson Stylus SX100 freigabe Disk Anonymous login successful Server Comment --------- ------- DELL-LAPTOP dell-laptop server (Samba, Ubuntu) Workgroup Master --------- ------- WORKGROUP DELL-LAPTOP
LG Linus