on non-Linux systems like AIX for example bind() fails due to wrong assignment of sa_socklen. Patch will follow.
This bug was referenced in samba master:
Created attachment 16754 [details]
patch for 4.15
Pushed to autobuild-v4-15-test.
This bug was referenced in samba v4-15-test:
Pushed to v4-15-test.
Closing out bug report.
This bug was referenced in samba v4-15-stable (Release samba-4.15.0rc4):