The patch d/patches/fix-1584485.patch got reintroduced in 2:4.5.4+dfsg-1ubuntu1 for zesty and it's what causes the problem.
Previously introduced in https://launchpad.net/ubuntu/+source/samba/2:4.3.11+dfsg-0ubuntu0.14.04.2 to fix said bug, it was quickly reverted in https://launchpad.net/ubuntu/+source/samba/2:4.3.11+dfsg-0ubuntu0.14.04.3.
We either need to revert that patch again, or make the static linking work properly.
The patch d/patches/ fix-1584485. patch got reintroduced in 2:4.5.4+ dfsg-1ubuntu1 for zesty and it's what causes the problem.
Previously introduced in https:/ /launchpad. net/ubuntu/ +source/ samba/2: 4.3.11+ dfsg-0ubuntu0. 14.04.2 to fix said bug, it was quickly reverted in https:/ /launchpad. net/ubuntu/ +source/ samba/2: 4.3.11+ dfsg-0ubuntu0. 14.04.3.
We either need to revert that patch again, or make the static linking work properly.