mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
python: Set parameter types for CreateTrustedDomainRelax()
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
9e5fc81564
commit
decacb0e7e
@ -16,7 +16,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
from samba.dcerpc import lsa, drsblobs
|
||||
from samba.dcerpc import lsa, drsblobs, misc
|
||||
from samba.ndr import ndr_pack
|
||||
from samba import NTSTATUSError, arcfour_encrypt, string_to_byte_array
|
||||
from samba.ntstatus import (
|
||||
@ -66,7 +66,14 @@ def OpenPolicyFallback(
|
||||
return out_version, out_rev_info, policy
|
||||
|
||||
|
||||
def CreateTrustedDomainRelax(lsaconn, policy, trust_info, mask, in_blob, out_blob):
|
||||
def CreateTrustedDomainRelax(
|
||||
lsaconn: lsa.lsarpc,
|
||||
policy: misc.policy_handle,
|
||||
trust_info: lsa.TrustDomainInfoInfoEx,
|
||||
mask: int,
|
||||
in_blob: drsblobs.trustAuthInOutBlob,
|
||||
out_blob: drsblobs.trustAuthInOutBlob
|
||||
):
|
||||
|
||||
def generate_AuthInfoInternal(session_key, incoming=None, outgoing=None):
|
||||
confounder = [0] * 512
|
||||
|
Loading…
x
Reference in New Issue
Block a user