samba-tool: Python routine to find writable/ldap-capable DC