[Samba] Showing used SMB version on server side

Marc Muehlfeld mmuehlfeld at samba.org
Wed Nov 19 09:56:16 MST 2014


Am 18.11.2014 um 22:51 schrieb Dan Mons:
> I set my log files to include protocol versions:
> 
>         log file = /var/log/samba/log_%m_%a_%R
> 
> From the man pages:
> 
> %m - netbios name
> %a - machine architecture (note that MacOSX10.8 sometimes reports
> "Samba", sometimes "OSX", 10.9 and 10.10 report "Vista")
> %R - protocol level
> 
> Which results in logs like these:
> 
> log_wend-wiretap01_Samba_NT1
> log_wend-wiretap01_Samba_UNKNOWN
> log_wend-wiretap01_UNKNOWN_UNKNOWN
> log_wend-wws98673_Vista_SMB2_10
> log_wend-wws98741_Vista_SMB2_10
> log_wend-wws98748_Vista_SMB2_10
> log_workstation_CIFSFS_NT1
> log_workstation_Vista_SMB2_10
> log_workstation_Vista_SMB3_00



Funny idea ;-)


Regards,
Marc



More information about the samba mailing list