[Samba] DFS on samba 4.22 vs. MacOS

Tamas Papp t.papp at spectral.hu
Thu Oct 9 09:19:02 UTC 2025


hi All,


After upgrading a samba server with DFS feature enabled, MacOS 15 
clients are not able to connect to shares via the DFS links. Currently, 
I don't have any other MacOS version to test it.

Downgrade fixes the problem.


Details:

** Error message on MacOS: *

The operation can’t be completed because the original item for 
“LauncherConfig” can’t be found.


** samba config:*

$ testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)

SUGGESTION: You may want to use 'sync machine password to keytab' 
parameter instead of 'kerberos method'.

Server role: ROLE_DOMAIN_MEMBER

Press enter to see a dump of your service definitions

# Global parameters
[global]
     kerberos method = secrets and keytab
     log file = /var/log/samba/log.%m
     logging = file
     map to guest = Bad User
     max log size = 1000
     obey pam restrictions = Yes
     pam password change = Yes
     panic action = /usr/share/samba/panic-action %d
     passwd chat = *Enter\snew\s*\spassword:* %n\n 
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
     passwd program = /usr/bin/passwd %u
     realm = <REDACTED>
     security = ADS
     server role = standalone server
     server string = %h server (Samba, Ubuntu)
     template homedir = /home/%U@%D
     template shell = /bin/bash
     unix password sync = Yes
     winbind offline logon = Yes
     winbind refresh tickets = Yes
     workgroup = <REDACTED>
     idmap config * : range = 10000-999999
     idmap config <redacted> : backend = rid
     idmap config <redacted> : range = 2000000-2999999
     idmap config * : backend = tdb


[dfs]
     comment = DFS
     guest ok = Yes
     msdfs root = Yes
     path = /data/dfs


** OS:* Ubuntu Jammy

** Samba version*: 2:4.22.4+dfsg-1~~mjt+ubt24


Any idea, what's wrong?


Thanks,


-- 
*Tamás Papp*
IT Manager
Spectral Studios <https://spectral.hu>


More information about the samba mailing list