There's a closed pull request on the Samba Samba Github repository Some py2 p3 bulk compat changes https://github.com/samba-team/samba/pull/171 Description: This patchset rolls up * some patches from the WIP branch mentioned in #161 * #166 * #170 and some additional small changes.