1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Imported functions to work with CLDAP queries

This commit is contained in:
Игорь Чудов 2019-11-15 12:11:22 +04:00
parent b403e10935
commit d4af6616dd
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -19,6 +19,12 @@ from samba.dcerpc import misc
import samba.ndr
from samba.gp_parse.gp_pol import GPPolParser
# This is needed to query AD DOMAIN name from LDAP
# using cldap_netlogon (and to replace netads utility
# invocation helper).
from samba.dcerpc import netlogon
from samba.netcmd.common import netcmd_get_domain_infos_via_cldap
# Registry editing facilities are buggy. Use TDB module instead.
import tdb