I tested the packages from the PPA 
(ppa:ahasenack/samba-rebuild-proposed-enabled)
on Ubuntu 22.04 (samba 2:4.15.13+dfsg-0ubuntu1.7 → rebuilt packages).

Result:
- %U substitution in "config file" works again as expected.
- Per-user smb.conf (/etc/samba/users/%U.conf) is correctly loaded.
- Also tested log file = /var/log/samba/log.%m, variable expansion works again.
  and  tested log file = /var/log/samba/log.%I, variable expansion works again.
- No regressions observed in our production setup (but no longterm test yet)

Conclusion:
The fix works. Please proceed with SRU to jammy-proposed/updates.

Many thanks for the prompt response and for providing a working solution
so quickly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2120811

Title:
  config file = /etc/samba/users/%U.conf  variables like %U empty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/2120811/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to