[Samba] Samba video streaming problem

Jeremy Allison jra at samba.org
Mon May 23 18:56:02 UTC 2022


On Sat, May 21, 2022 at 04:49:36AM +0700, Budi Janto via samba wrote:
>Hi,
>
>
>I installed Samba in FreeBSD as server to serving video streaming.
>
># freebsd-version
>13.0-RELEASE-p11
>
># pkg info | grep samba
>samba413-4.13.17_1             Free SMB/CIFS and AD/DC server and 
>client for Unix
>
>Video storage use ZFS file system.
>
># zfs list
>NAME   USED  AVAIL     REFER  MOUNTPOINT
>pool  4.91T  2.11T     4.91T  /mnt/video
>
>And smb4.conf pointing to that directory, here is my smb4.conf:
>
># cat /usr/local/etc/smb4.conf
>[global]
>bind interfaces only = Yes
>directory name cache size = 0
>disable spoolss = Yes
>dns proxy = No
>interfaces = 127.0.0.1 192.168.0.10 192.168.9.10
>load printers = No
>local master = Yes
>log file = /var/log/samba4/log.smbd
>log level = 3
>map to guest = Bad User
>max log size = 500
>netbios name = SERVER
>os level = 255
>preferred master = Yes
>printcap name = /dev/null
>printing = bsd
>security = User
>server role = standalone server
>server string = SERVER %v
>use sendfile = Yes
>workgroup = MYGROUP
>
>[data]
>guest ok = Yes
>path = /mnt/video
>
>The problem is that after 2 hours (average time) the video stream is 
>running, my player can't play the video anymore. Can't seem to find 
>the video path or maybe it's disconnected from the server 
>(Apparently). From log.smbd I try to include some snippets:

Can you get a wireshark capture trace between client and
server around the disconnection time ? It will be very hard
to diagnose this without more data, sorry.



More information about the samba mailing list