[Bug 430036] New: Can't browse computers using smb:/ ( NT_STATUS_BAD_NETWORK_NAME ; ERRCMD - 1)
https://bugzilla.novell.com/show_bug.cgi?id=430036 User zajec5@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=430036#c104965 Summary: Can't browse computers using smb:/ (NT_STATUS_BAD_NETWORK_NAME ; ERRCMD - 1) Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: zajec5@gmail.com QAContact: samba-maintainers@SuSE.de Found By: --- I am in LAN with Windows machines and printer. My problem is I can not browse shared directories. 1) If I open "smb:/" in Konqueror it is fine - I can see "Workgroup" workgroup. 2) If I click "Workgroup", address changes to "smb://workgroup/" and it's still fine - I can see three computers (including myself) in workgroup. 3) If I click "Toshiba" (or "Magda") which is machine with XP, I get connection error for address "smb://toshiba/" (or smb://magda/). However if I ask toshiba's owner for IP and then type it (smb://192.168.0.17/) then I can browse shared dirs on toshiba! The same happens for "magda" machine. So it seems that openSUSE has some problem about resolving machines names into IP. I found bug #104965, then opened 137, 138, 139 and 445 ports (UDP+TCP) in firewall but it doesn't help. I also found "smbtree" command which may give more info about issue: sony:~ # smbtree Password: WORKGROUP \\TOSHIBA cli_start_connection: failed to connect to TOSHIBA<20> (0.0.0.0). Error NT_STATUS_BAD_NETWORK_NAME \\SONY Samba 3.2.3-0.1-1882-SUSE-SL11.0 \\SONY\IPC$ IPC Service (Samba 3.2.3-0.1-1882-SUSE-SL11.0) \\SONY\shared shared \\MAGDA MAGDA cli_start_connection: failed to connect to MAGDA<20> (0.0.0.0). Error NT_STATUS_BAD_NETWORK_NAME As you can see smbtree can get shared dirs only on SONY which is my machine. Is there something I missed? Or is this valid bug report? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=430036
User zajec5@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c1
--- Comment #1 from Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=430036
User zajec5@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c2
--- Comment #2 from Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=430036
User jmcdonough@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c3
James McDonough
https://bugzilla.novell.com/show_bug.cgi?id=430036
User jmcdonough@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c4
--- Comment #4 from James McDonough
https://bugzilla.novell.com/show_bug.cgi?id=430036
Yang Bo
https://bugzilla.novell.com/show_bug.cgi?id=430036
User boyang@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c5
Yang Bo
https://bugzilla.novell.com/show_bug.cgi?id=430036
User zajec5@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c6
Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=430036
User boyang@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c7
Yang Bo
https://bugzilla.novell.com/show_bug.cgi?id=430036
User zajec5@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c8
--- Comment #8 from Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=430036
User zajec5@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c9
--- Comment #9 from Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=430036
User zajec5@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c10
--- Comment #10 from Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=430036
User zajec5@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c11
Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=430036
User zajec5@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c12
--- Comment #12 from Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=430036
User boyang@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c13
Yang Bo
https://bugzilla.novell.com/show_bug.cgi?id=430036
User zajec5@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c14
--- Comment #14 from Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=430036
User zajec5@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c15
--- Comment #15 from Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=430036
User zajec5@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c16
Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=430036
User boyang@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c17
--- Comment #17 from Yang Bo
Wow, I disabled firewall on SONY and now it works! It's weird for me as I configured firewall (using YaST2) to open 137, 138, 139:
# egrep "^FW_SERVICES_EXT" /etc/sysconfig/SuSEfirewall2 FW_SERVICES_EXT_TCP="137:139 50000:50020 microsoft-ds" FW_SERVICES_EXT_UDP="137:139 445 50000:50020" FW_SERVICES_EXT_IP="" FW_SERVICES_EXT_RPC=""
(configuration was done in YaST2, I didn't touch /etc/sysconfig/SuSEfirewall2 manually). Is this possible that SUSEfirewall2 doesn't open these ports because of some bug? Or did I mess something in configuration?
emm...... It is hard to say. But I think the most probable reason would be improper iptable rules. Ok. I'll check the rules in comment #16. :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=430036
User boyang@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c18
--- Comment #18 from Yang Bo
https://bugzilla.novell.com/show_bug.cgi?id=430036
User zajec5@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c19
--- Comment #19 from Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=430036
User boyang@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430036#c20
Yang Bo
participants (1)
-
bugzilla_noreply@novell.com