Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Samba 4 not allowing Windows 10 to access shares

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
billydv
l33t
l33t
User avatar
Posts: 911
Joined: Fri Dec 22, 2006 1:03 pm
Location: Mount Vernon, NY

Samba 4 not allowing Windows 10 to access shares

  • Quote

Post by billydv » Tue Sep 27, 2016 12:41 pm

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
Top
UberLord
Retired Dev
Retired Dev
User avatar
Posts: 6838
Joined: Thu Sep 18, 2003 10:26 am
Location: Blighty
Contact:
Contact UberLord
Website

  • Quote

Post by UberLord » Tue Sep 27, 2016 6:54 pm

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
Top
Logicien
Veteran
Veteran
User avatar
Posts: 1555
Joined: Fri Sep 16, 2005 8:04 am
Location: Montréal

  • Quote

Post by Logicien » Tue Sep 27, 2016 7:16 pm

Try to use the IP address of your Gentoo shares in Windows explorer address bar instead of the listed hostname.
Paul
Top
Cyker
Veteran
Veteran
Posts: 1746
Joined: Thu Jun 15, 2006 7:43 pm

  • Quote

Post by Cyker » Tue Sep 27, 2016 7:24 pm

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.
Top
hdcg
Tux's lil' helper
Tux's lil' helper
Posts: 122
Joined: Sun Apr 07, 2013 8:30 am

  • Quote

Post by hdcg » Tue Sep 27, 2016 7:56 pm

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
Top
gerdesj
l33t
l33t
User avatar
Posts: 622
Joined: Thu Sep 29, 2005 1:44 pm
Location: Yeovil, Somerset, UK
Contact:
Contact gerdesj
Website

Re: Samba 4 not allowing Windows 10 to access shares

  • Quote

Post by gerdesj » Wed Oct 05, 2016 12:00 am

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.
Top
Fitzcarraldo
Advocate
Advocate
User avatar
Posts: 2057
Joined: Sat Aug 30, 2008 9:49 pm
Location: United Kingdom
Contact:
Contact Fitzcarraldo
Website

  • Quote

Post by Fitzcarraldo » Wed Oct 05, 2016 1:45 am

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: Select all

# 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: Select all

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

Code: Select all

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 systemd-utils[udev] elogind KDE on both.

My blog
Top
Post Reply

7 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic