Subject Re: Firebird 2.5.x or 3.0.x on an ext4 Samba4 or Samba4.1 partition
If is not shared and accessible from samba then it should be ok 

Only when it is visible on the samba share it can lead to corruptions by users that will try to write to it dirrectly by passing the firebird server