New comment by noelpower on Samba Github repository https://github.com/samba-team/samba/pull/138#issuecomment-369888875 Comment: Some patches for some c-lib modules recently converted. In both cases string parameters are expected in python2 and python3 where I believe in python3 these api(s) need to accept 'bytes'.