[Samba] Change in behaviour for the "%U" substitution in 4.10.8?

Rowland penny rpenny at samba.org
Fri Sep 6 08:31:46 UTC 2019

On 06/09/2019 09:11, gac via samba wrote:
> No problem - I've pastebin'ed it rather than include it, I don't know what this list's preferences are for config files. https://pastebin.com/70vTmWyL <https://pastebin.com/70vTmWyL>
> Note that there's a lot of lines in there - the config has been ported between several boxes and upgrades over at least the 6 years I've been with this company. The thing to remember is that whatever oddities live in there, it has worked until today...
> I did see that previous thread that you mentioned, but that poster doesn't seem to use variable substitution. I don't believe I have an issue with Time Machine functionality itself, only that Samba can't find my Time Machine directory because it is (unexpectedly) looking for the wrong path on the server so my Mac can't connect to the share. The same %U issue affects my standard [homes] share as well, so I don't think we have the same problem.
> Thanks!
You cannot use 'winbind use default domain = yes' with multiple DOMAINS.

You have:

idmap config SERVER : backend = tdb
idmap config SERVER : range = 60000-69999

(Incidentally, the 'tdb' would probably be better off being 'rid')


idmap config DOMAIN : backend = rid
idmap config DOMAIN : range = 1106000000-1106200000

Either remove the 'SERVER' lines and use 'winbind use default domain = 
yes', or remove 'winbind use default domain = yes' and use usernames in 
the format 'DOMAIN\username'


More information about the samba mailing list