Winfried
2017-Mar-21 17:18 UTC
[Samba] Can connect and work with Samba share from Windows host, but "net view" returns "System error 6118"
Hello I'm running Samba 3.6.6 on a Debian appliance on a private LAN. Here's the host's /etc/samba/smb.conf: =============[global] workgroup = WORKGROUP netbios name = LINUX security = user map to guest = Bad User ;default user = nobody hosts allow = 127.0.0.1 192.168.0.0/24 hosts deny = 0.0.0.0/0 log level = 2 wins support = yes local master = yes preferred master = yes [myshare] path = /usr/share/myshare guest ok = yes writeable=yes browseable=yes force create mode = 0644 create mask = 0664 security mask = 0664 force security mode = 0664 ============= I can connect and read/write just fine from a remote Windows 7 host using the "net use z: \\linux\myshare" command, but the "net view" command returns the following error: "System error 6118 has occurred. The list of servers for this workgroup is not currently available". Any idea why Windows' Network Neighborhood is empty? Thank you. -- View this message in context: http://samba.2283325.n4.nabble.com/Can-connect-and-work-with-Samba-share-from-Windows-host-but-net-view-returns-System-error-6118-tp4716444.html Sent from the Samba - General mailing list archive at Nabble.com.
Rowland Penny
2017-Mar-21 17:53 UTC
[Samba] Can connect and work with Samba share from Windows host, but "net view" returns "System error 6118"
On Tue, 21 Mar 2017 10:18:31 -0700 (PDT) Winfried via samba <samba at lists.samba.org> wrote:> > I can connect and read/write just fine from a remote Windows 7 host > using the "net use z: \\linux\myshare" command, but the "net view" > command returns the following error: "System error 6118 has occurred. > The list of servers for this workgroup is not currently available". > > Any idea why Windows' Network Neighborhood is empty? >Two thoughts, are they in the same workgroup ? or is a firewall in the way ? Rowland
Winfried
2017-Mar-22 00:29 UTC
[Samba] Can connect and work with Samba share from Windows host, but "net view" returns "System error 6118"
Samba - General mailing list wrote> On Tue, 21 Mar 2017 10:18:31 -0700 (PDT) > Winfried via samba <> samba at .samba> > wrote: > >> >> I can connect and read/write just fine from a remote Windows 7 host >> using the "net use z: \\linux\myshare" command, but the "net view" >> command returns the following error: "System error 6118 has occurred. >> The list of servers for this workgroup is not currently available". >> >> Any idea why Windows' Network Neighborhood is empty? >> > > Two thoughts, are they in the same workgroup ? or is a firewall in the > way ? > > Rowland > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/sambaThanks for the tip. The workgroup name was OK. It looks like the trick was to those lines to smb.conf: wins support = yes local master = yes preferred master = yes ;Add those two lines domain master = yes os level = 255 There's another Samba host on the LAN, whose smb.conf contains none of those items, so I guess the first host wins the election every time. There is indeed a firewall on the Windows host that blocked incoming UDP 137-138, although for some reason, it wasn't a problem: After simply making this change to smb.conf, "net view" started working even while the firewall still blocked incoming UDP packets. Black magic. Thank you. -- View this message in context: http://samba.2283325.n4.nabble.com/Can-connect-and-work-with-Samba-share-from-Windows-host-but-net-view-returns-System-error-6118-tp4716444p4716458.html Sent from the Samba - General mailing list archive at Nabble.com.
Apparently Analagous Threads
- [3.6.6] Possible to allow password-free read/write access?
- permission problems trying to access subdirectories of a samba share
- permission problems trying to access subdirectories of a samba share
- Two Linux PC
- permission problems trying to access subdirectories of a samba share