There's a closed pull request on the Samba Samba Github repository Python 3 porting patches part 1 https://github.com/samba-team/samba/pull/163 Description: I am still in progress of porting python selftest one by one, this is the job I've done so far. More PRs are coming soon.