[Samba] Can't get Win7 to mount

Mike Brown brown at mrvideo.vidiot.com
Wed Mar 5 14:14:52 UTC 2025


On Wed, Mar 05, 2025 at 11:04:55AM +0000, Rowland Penny via samba wrote:
> 
> Just to check, are both servers in the same subnet '192.168.1.x' ?

Yes.

> Can you connect with smbclient ?
> 
> Start with 'smbclient -NL 192.168.1.1'

mrvideo.ZROOT <27> smbclient -NL 192.168.1.1
Connection to 192.168.1.1 failed (Error NT_STATUS_HOST_UNREACHABLE)
mrvideo.ZROOT <28> ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=63 time=0.378 ms

Now this is really confusing.  I can run smbclient against 192.168.1.11
from 192.168.1.1 and it connects just fine.

I guess the host unreachable is not what I normally think of being unreachable.

> It might help to see the smb.conf files from both machines.

192.168.1.11:
Server role: ROLE_STANDALONE

# Global parameters
[global]
	log file = /var/log/samba/log.%m
	max log size = 50
	security = USER
	server string = Linux Samba Server
	workgroup = VIDIOT
	idmap config * : backend = tdb
	cups options = raw
	hosts allow = 127. 192.168.1.


[homes]
	browseable = No
	comment = Home Directories
	read only = No


[usenet]
	comment = Linux usenet area
	path = /WebDisk/share_download/usenet
	read only = No


[video]
	comment = Video Files Workspace
	path = /WebDisk/ftp/pub
	read only = No


[website]
	comment = Web Server HTML Area
	guest ok = Yes
	path = /WebDisk/http/htdocs/vidiot
	read only = No


[webdisk]
	comment = Web Server WebDisk Area
	guest ok = Yes
	path = /WebDisk
	read only = No


[tmp]
	comment = Temporary file space
	guest ok = Yes
	path = /WebDisk/tmp
	read only = No

192.168.1.1:
Server role: ROLE_STANDALONE

# Global parameters
[global]
	disable netbios = Yes  <-- also tried with this commented out
	printcap name = cups
	security = USER
	server string = Linux Samba Server
	workgroup = VIDIOT
	idmap config * : backend = tdb
	cups options = raw
	hosts allow = 127. 192.168.1.


[homes]
	browseable = No
	comment = Home Directories
	inherit acls = Yes
	read only = No
	valid users = %S %D%w%S


[usenet-new]
	comment = Linux usenet area
	path = /WebDisk/share_download/usenet
	read only = No


[printers]
	browseable = No
	comment = All Printers
	create mask = 0600
	path = /var/tmp
	printable = Yes


[print$]
	comment = Printer Drivers
	create mask = 0664
	directory mask = 0775
	force group = @printadmin
	path = /var/lib/samba/drivers
	write list = @printadmin root

MB
-- 
e-mail: vidiot at vidiot.com | vidiot at vidiot.net              /~\ The ASCII
        6082066843 at email.uscc.net (140 char limit)         \ / Ribbon Campaign
Visit - URL: http://vidiot.com/                             X  Against
             http://vidiot.net/                            / \ HTML Email
GEORDI: "Data, could you try being a little more positive..."
  DATA: "I hope we die quickly!" (Star Trek: Picard - 4/13/23)



More information about the samba mailing list