[Samba] samba-tool domain provision stuck when using python3

Andrew Bartlett abartlet at samba.org
Sun Mar 10 23:55:32 UTC 2019


On Fri, 2019-03-08 at 11:37 +0800, adam_xu--- via samba wrote:
> Hello, everyone. 
>     I am testing  samba 4.10RC4's the compatibility with python3. I compiled samba 4.10rc4 successfully in CentOS7.6 with Python3.6.6. but when I run
> samba-tool domain provision --use-rfc2307 --interactive
> It stuck and did not give any error messages.
> then I enable debug
> samba-tool domain provision --use-rfc2307 --interactive -d7
> it throw info like:
> INFO: Current debug levels: all: 7 tdb: 7 printdrivers: 7 lanman: 7 smb: 7 rpc_parse: 7 rpc_srv: 7 rpc_cli: 7 passdb: 7 sam: 7 auth: 7 winbind: 7 vfs: 7 idmap: 7 quota: 7 acls: 7 locking: 7 msdfs: 7 dmapi: 7 registry: 7 scavenger: 7 dns: 7 ldb: 7 tevent: 7 auth_audit: 7 auth_json_audit: 7 kerberos: 7 drs_repl: 7 smb2: 7 smb2_credits: 7 dsdb_audit: 7 dsdb_json_audit: 7 dsdb_password_audit: 7 dsdb_password_json_audit: 7 dsdb_transaction_audit: 7 dsdb_transaction_json_audit: 7 dsdb_group_audit: 7 dsdb_group_json_audit: 7 
> and it didn't go on.

Thanks for letting us know.

I've filed https://bugzilla.samba.org/show_bug.cgi?id=13828 and 
prepared a merge request with a fix here: 
https://gitlab.com/samba-team/samba/merge_requests/288

I'm also happy to credit you by name if you like, just let me know
before this is merged and I'll amend the commit.

Thank you so much for testing Samba!

Andrew Bartlett

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba







More information about the samba mailing list