[Samba] variable substitution

Marco Gaiarin gaio at sv.lnf.it
Tue Nov 3 15:22:57 UTC 2020


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.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the samba mailing list