[Samba] parse_dfs_path_strict: can't parse hostname from path \10.0.1.107

Kevin Hilton kevhilton at gmail.com
Thu Sep 19 02:51:41 UTC 2024



> From: Rowland Penny <rpenny at samba.org <mailto:rpenny at samba.org>>
> Subject: Re: [Samba] parse_dfs_path_strict: can't parse hostname from path \10.0.1.107
> Date: September 15, 2024 at 3:27:58 AM CDT
> To: samba at lists.samba.org <mailto:samba at lists.samba.org>
> Reply-To: "samba at lists.samba.org <mailto:samba at lists.samba.org>" <samba at lists.samba.org <mailto:samba at lists.samba.org>>
> 
> 
> On Sat, 14 Sep 2024 00:31:50 -0500
> Kevin Hilton via samba <samba at lists.samba.org <mailto:samba at lists.samba.org>> wrote:
> 
>> Running samba version 4.21.0 on arch linux
>> 
>> Within last several days I’m getting this error when trying to
>> connect via MacOs from Finder with server just specified as
>> smb://10.0.1.107.
>> 
> 
> Try it as it should be: smb://10.0.1.107/sharename
> 
> If I try to connect to a computer using smbclient, it helpfully prints
> this:
> 
> \\computer_name: Not enough '\' characters in service
> 
> Rowland
> 

I’m getting this error upon immediately starting the smb.service in arch linux so I get this error upon starting the service.

Here is my smb.conf file (it’s pretty basic and hasn’t really changed for a really long time:

[global]

# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
   workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
   server string = Arch-TM-SMB
   server role = standalone server

   hosts allow = 10.0.1. 127. 192.168.8. 10.6.210. 10.0.1.0/23 10.1.0.0/23, 10.0.40.0/24 10.99.210.0/30

   log file = /var/log/samba/%m.log

   max log size = 50

   dns proxy = no

   server multi channel support = yes
   syslog = 1

   log level = 3
   deadtime = 60
   netbios name = archTM-Xen
   create mask = 0644
   directory mask = 2755
   force create mode = 0644
   force directory mode = 2755
   #server min protocol = SMB2_02
   smb encrypt = desired
   load printers = no
   printing = bsd
   printcap name = /dev/null
   disable spoolss = yes
   show add printer wizard = no
   delete veto files = true

   #Following was added based on recommendations here: https://wiki.samba.org/index.php/Configure_Samba_to_Work_Better_with_Mac_OS_X
   #min protocol = SMB2
   #vfs objects = catia fruit streams_xattr
   vfs objects = fruit streams_xattr recycle
   #ea support = yes
   fruit:metadata = stream
   fruit:model = MacSamba
   fruit:veto_appledouble = no
   fruit:posix_rename = yes
   #fruit:zero_file_id = yes
   fruit:nfs_aces = no
   fruit:wipe_intentionally_left_blank_rfork = yes
   fruit:delete_empty_adfiles = yes

[TimeMachine]
   comment = Time Machine SMB shares
   vfs objects = fruit streams_xattr recycle
   #vfs objects = catia fruit streams_xattr
   fruit:time machine = yes
   path = /mnt/timemachine
   valid users = kevdog @timemachine
   force user = kevdog
   force group = +timemachine
   public = no
   writeable = yes

I’m using MacOS finder as client and have tried to mount the smb shares via smb://10.0.1.107 (which used to work) and also smb://10.0.1.107/TimeMachine

Both fail.  


More information about the samba mailing list