Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

parse_dfs_path error when trying to connect via SMB

Featured Replies

brand new array running 6.11.5.  just tried to start it up for the first time.  when a client tries to connect (tried SMB on both a macbook and windows machine), it fails and i see the following error in the unraid logs:

 

 

Jan  7 17:38:25 nas2  smbd[13920]: [2023/01/07 20:38:25.224219,  0] ../../source3/smbd/msdfs.c:170(parse_dfs_path)
Jan  7 17:38:25 nas2  smbd[13920]:   parse_dfs_path: can't parse hostname from path nas2.lan.local
Jan  7 17:38:25 nas2  smbd[13920]: [2023/01/07 20:38:25.224252,  0] ../../source3/smbd/msdfs.c:180(parse_dfs_path)
Jan  7 17:38:25 nas2  smbd[13920]:   parse_dfs_path: trying to convert nas2.lan.local to a local path

 

it almost sounds like DNS but there's a static entry for both the ip and hostname in my router and unraid seems to resolve it properly:

Quote

 

root@nas2:~# dig nas2.lan.local
    
    ; <<>> DiG 9.18.9 <<>> nas2.lan.local
    ;; global options: +cmd
    ;; Got answer:
    ;; WARNING: .local is reserved for Multicast DNS
    ;; You are currently testing what happens when an mDNS query is leaked to DNS
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14305
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 512
    ;; QUESTION SECTION:
    ;nas2.lan.local.                        IN      A
    
    ;; ANSWER SECTION:
    nas2.lan.local.         3600    IN      A       172.16.1.227
    
    ;; Query time: 0 msec
    ;; SERVER: 172.16.1.1#53(172.16.1.1) (UDP)
    ;; WHEN: Sat Jan 07 20:30:56 EST 2023
    ;; MSG SIZE  rcvd: 59

 

 

there doesn't seem to be much in the internet about this other than the C header file itself but i can't figure out what it's doing

Edited by oliver

  • 2 months later...

I'm experiencing the same thing (albeit on a different, newer rc version, 6.12.0-rc2), except it's having trouble with an IP, indicating to me it's likely not any kind of external DNS effects. Logs are constantly filled with this, ~4 lines/min.

Apr  3 10:39:15 Arc-Stor smbd[22085]: [2023/04/03 10:39:15.384658,  0] ../../source3/smbd/msdfs.c:170(parse_dfs_path)
Apr  3 10:39:15 Arc-Stor smbd[22085]:   parse_dfs_path: can't parse hostname from path 10.0.100.150
Apr  3 10:39:15 Arc-Stor smbd[22085]: [2023/04/03 10:39:15.384689,  0] ../../source3/smbd/msdfs.c:180(parse_dfs_path)
Apr  3 10:39:15 Arc-Stor smbd[22085]:   parse_dfs_path: trying to convert 10.0.100.150 to a local path

 

Diags attached.

arc-stor-diagnostics-20230403-1041.zip

  • 2 weeks later...

Same Problem here with unRaid 6.11.5.

My Debian cant connect anymore, but it show that line in the logs.

  • 3 months later...

Same here.

  • 1 year later...

The same issue occurs on version 7.0.0-beta.2, where macOS is unable to connect to SMB either via domain name or IP.

 

Sep 19 13:46:51 SZC-UnraidNAS smbd[4181202]: [2024/09/19 13:46:51.383649,  0] ../../source3/smbd/msdfs.c:107(parse_dfs_path_strict)
Sep 19 13:46:51 SZC-UnraidNAS smbd[4181202]:   parse_dfs_path_strict: can't parse hostname from path \100.64.0.18

 

I think I’ve found a temporary solution:

I tried setting the server name to my domain in Settings/Identification, such as nas.example.com. After restarting Unraid, I was able to connect to smb://nas.example.com/ through Finder on macOS successfully.

Even so, I still don’t understand why I can’t connect via IP.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.