mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
scripting: Move samba.provision.descriptor to samba.descriptor
This will allow dbcheck to import it, without a cirucular dependency via samba.provision importing dbcheck. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
e81a97dd6f
commit
352aff8ed7
@ -76,7 +76,7 @@ from samba.provision.backend import (
|
||||
LDBBackend,
|
||||
OpenLDAPBackend,
|
||||
)
|
||||
from samba.provision.descriptor import (
|
||||
from samba.descriptor import (
|
||||
get_empty_descriptor,
|
||||
get_config_descriptor,
|
||||
get_config_partitions_descriptor,
|
||||
|
@ -36,7 +36,7 @@ from samba.dsdb import (
|
||||
DS_DOMAIN_FUNCTION_2003,
|
||||
DS_DOMAIN_FUNCTION_2008_R2
|
||||
)
|
||||
from samba.provision.descriptor import (
|
||||
from samba.descriptor import (
|
||||
get_domain_descriptor,
|
||||
get_domain_delete_protected1_descriptor,
|
||||
get_domain_delete_protected2_descriptor,
|
||||
|
@ -46,7 +46,7 @@ from ldb import (SCOPE_SUBTREE, SCOPE_BASE,
|
||||
MessageElement, Message, Dn, LdbError)
|
||||
from samba import param, dsdb, Ldb
|
||||
from samba.common import confirm
|
||||
from samba.provision.descriptor import get_wellknown_sds, get_empty_descriptor
|
||||
from samba.descriptor import get_wellknown_sds, get_empty_descriptor
|
||||
from samba.provision import (find_provision_key_parameters,
|
||||
ProvisioningError, get_last_provision_usn,
|
||||
get_max_usn, update_provision_usn, setup_path)
|
||||
|
Loading…
Reference in New Issue
Block a user