Marco Gaiarin via samba ha scritto il 03/11/20 alle 16:22:> Mandi! Piviul via samba > In chel di` si favelave... > >> smb ports parameter; in effect in man smb.conf I can read: This parameter is >> not available when Samba listens on port 445. There is no way yo have the >> client name? All %m, %M, %I contains ip address... > > No and yes. > > > No, because effectively SMB2+ does not pass anymore host name; > > Yes, because in AD now you have DNS, and so a simple (back) resolving > against the DC DNS will do the trick.in effect I have solved the problem of the client name taking the client name from the ip address. Someone knows why %J variable substitution is performed before the print command variable substitution? In your opinion I have to open a bug report? Piviul
Piviul
2020-Nov-16 10:34 UTC
[Samba] samba binary repository for debian [WAS: variable substitution]
Piviul via samba ha scritto il 04/11/20 alle 14:15:> [...] > Someone knows why %J variable substitution is performed before the print > command variable substitution?I've found that on debian bullseye (samba version 4.12.5) the %J macro is expanded correctly so I argue that it's a bug solved on recent samba version. Do you know a samba binary repository for debian buster that have samba 4.9.5, to upgrade samba without upgrading all distribution packages or upgrading samba from backports? Thank you very much Piviul
Rowland penny
2020-Nov-16 11:25 UTC
[Samba] samba binary repository for debian [WAS: variable substitution]
On 16/11/2020 10:34, Piviul via samba wrote:> Piviul via samba ha scritto il 04/11/20 alle 14:15: >> [...] >> Someone knows why %J variable substitution is performed before the >> print command variable substitution? > I've found that on debian bullseye (samba version 4.12.5) the %J macro > is expanded correctly so I argue that it's a bug solved on recent > samba version. > > Do you know a samba binary repository for debian buster that have > samba 4.9.5, to upgrade samba without upgrading all distribution > packages or upgrading samba from backports? > > Thank you very much > > Piviul >have a look here: http://apt.van-belle.nl/ Rowland