Bug 14857 - smbstatus reporting multiple lines of same connection
Summary: smbstatus reporting multiple lines of same connection
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: 4.15.0
Hardware: All All
: P5 minor (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-07 14:55 UTC by Peter Eriksson
Modified: 2021-10-07 14:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Eriksson 2021-10-07 14:55:29 UTC
We have a Windows client running a script regularily that for some reason causes smbstatus to generate an ever increasing lines of output even thought there seems to be only one active connection. It's a bit annoying....

 
# /liu/bin/smbstatus -p | egrep sccm_sqlsa|sort | uniq -c
 214 97735   sccm_sqlsa   sccm_sqlsa-gid 2001:6b0:17:2300::58:32 (ipv6:2001:6b0:17:2300::58:32:61701) SMB3_11           -                    AES-128-CMAC         

# /liu/bin/smbstatus -S | egrep 97735 | sort|wc -l
     216

# smbstatus -S | egrep 97735 | head 
source       97735   2001:6b0:17:2300::58:32 Thu Oct  7 05:30:06 2021 CEST    -            AES-128-CMAC
source       97735   2001:6b0:17:2300::58:32 Thu Oct  7 12:50:06 2021 CEST    -            AES-128-CMAC
source       97735   2001:6b0:17:2300::58:32 Thu Oct  7 13:00:06 2021 CEST    -            AES-128-CMAC
source       97735   2001:6b0:17:2300::58:32 Thu Oct  7 11:45:06 2021 CEST    -            AES-128-CMAC
source       97735   2001:6b0:17:2300::58:32 Thu Oct  7 07:00:07 2021 CEST    -            AES-128-CMAC
source       97735   2001:6b0:17:2300::58:32 Thu Oct  7 07:50:06 2021 CEST    -            AES-128-CMAC
source       97735   2001:6b0:17:2300::58:32 Thu Oct  7 00:50:06 2021 CEST    -            AES-128-CMAC
source       97735   2001:6b0:17:2300::58:32 Thu Oct  7 06:15:06 2021 CEST    -            AES-128-CMAC
source       97735   2001:6b0:17:2300::58:32 Thu Oct  7 10:50:06 2021 CEST    -            AES-128-CMAC
source       97735   2001:6b0:17:2300::58:32 Thu Oct  7 03:55:06 2021 CEST    -            AES-128-CMAC


# netstat -anW | egrep 58:32
tcp6       0      0 2001:6b0:17:2400::8:39.445                    2001:6b0:17:2300::58:32.61701                 ESTABLISHED