Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba 4 not allowing Windows 10 to access shares
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
billydv
l33t
l33t


Joined: 22 Dec 2006
Posts: 911
Location: Mount Vernon, NY

PostPosted: Tue Sep 27, 2016 12:41 pm    Post subject: Samba 4 not allowing Windows 10 to access shares Reply with quote

I believe sometime around a month ago I began to have issues where Windows 10 computers were no longer able to access my Gentoo samba shares. My gentoo box is listed by host name in Windows explorer computer browser but clicking it fails to let you get in. A 2nd gentoo vm that I have running on a Windows 10 host can see the gentoo samba shares. Anyone have any clue as to what is happening?
_________________
Billy DeVincentis
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Tue Sep 27, 2016 6:54 pm    Post subject: Reply with quote

My Windows 10 machines can see my Samba share fine still. And I've not changed my Samba config in ages.
I'm running Samba-3.6.25nb4 on a NetBSD-7 server though.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Tue Sep 27, 2016 7:16 pm    Post subject: Reply with quote

Try to use the IP address of your Gentoo shares in Windows explorer address bar instead of the listed hostname.
_________________
Paul
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Tue Sep 27, 2016 7:24 pm    Post subject: Reply with quote

Windows 10 does some weird shit with SMB/CIFS; I have seen a lot of people having trouble connecting XP machines to printers shared on Windows 10, even on systems where the printer share was perfectly fine before the system was 'upgraded' to Windows 10.
Back to top
View user's profile Send private message
hdcg
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2013
Posts: 120

PostPosted: Tue Sep 27, 2016 7:56 pm    Post subject: Reply with quote

I am running Windows 10 with Samba 4 without any problem.

However I was hit by https://bugs.gentoo.org/show_bug.cgi?id=592502. This bug affected people in several flavors. For me Samba 4's ldap service crashed while the remaining services where running on.

The corresponding tevent update happened at beginning of September. If you have tevent version 0.9.30 installed I would suggest to mask it and go back to version 0.9.29.

Best Regards,
Holger
Back to top
View user's profile Send private message
gerdesj
l33t
l33t


Joined: 29 Sep 2005
Posts: 621
Location: Yeovil, Somerset, UK

PostPosted: Wed Oct 05, 2016 12:00 am    Post subject: Re: Samba 4 not allowing Windows 10 to access shares Reply with quote

billydv wrote:
I believe sometime around a month ago I began to have issues where Windows 10 computers were no longer able to access my Gentoo samba shares. My gentoo box is listed by host name in Windows explorer computer browser but clicking it fails to let you get in. A 2nd gentoo vm that I have running on a Windows 10 host can see the gentoo samba shares. Anyone have any clue as to what is happening?


********* mmmmmmm hhhhhhhhnnnnnnn *********** nope can't read your machine's config. /etc/samba/smb.conf please, along with Samba version. Obfuscate it if necessary.
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Wed Oct 05, 2016 1:45 am    Post subject: Reply with quote

I'm currently using Samba 4.2.11 on my laptop running Gentoo Stable Branch and can browse SMB/CIFS shares on Windows 10 machines on my home network, and those Windows 10 machines can browse shares on my laptop. I am not using WINS, AD, LDAP etc., just NETBIOS in a Windows workgroup (like most home users).

If you're using a firewall on your Gentoo box, have you configured it to allow CIFS traffic? For example, if you were using the Uncomplicated Fire Wall you should have:

Code:
# ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing)
New profiles: skip

To                         Action      From
--                         ------      ----
137,138/udp (CIFS)         ALLOW IN    Anywhere
139,445/tcp (CIFS)         ALLOW IN    Anywhere
137,138/udp (CIFS (v6))    ALLOW IN    Anywhere (v6)
139,445/tcp (CIFS (v6))    ALLOW IN    Anywhere (v6)


Furthermore, in addition to posting the listing of /etc/samba/smb.conf requested by gerdesj, please also post the output of the commands given below, all entered on your Gentoo box.

Code:
smbtree


plus the following three commands for the Gentoo box, then for the Windows 10 box:

Code:
nmblookup <netbios name>
nmblookup -A <IP address>
nslookup <hostname>

_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum