s4:librpc: provide py_schannel bindings
authorStefan Metzmacher <metze@samba.org>
Thu, 12 Nov 2020 09:34:38 +0000 (10:34 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 23 Apr 2024 16:16:45 +0000 (18:16 +0200)
This will be used in the dcerpc.raw_protocol test.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14356

Signed-off-by: Stefan Metzmacher <metze@samba.org>
librpc/idl/wscript_build
source4/librpc/wscript_build

index f3781fa9fd8213c5b9d9e78478cbc822eb66ed3f..c7d6413b47fd687e60e2234566c71e4ef1fc598f 100644 (file)
@@ -98,7 +98,6 @@ bld.SAMBA_PIDL_LIST('PIDL',
                     ODJ.idl
                     printcap.idl
                     rap.idl
-                    schannel.idl
                     smb2_lease_struct.idl
                     ''',
                     options='--header --ndr-parser',
@@ -135,6 +134,7 @@ bld.SAMBA_PIDL_LIST('PIDL',
                     idmap.idl
                     krb5pac.idl
                     krb5ccache.idl
+                    schannel.idl
                     messaging.idl
                     misc.idl
                     nbt.idl
index 7cc12cf6ac6213673e38aa5ef3947b897bd6a532..d8c414f820bcafb4165df24c1a57899ac40b8ec9 100644 (file)
@@ -282,6 +282,13 @@ bld.SAMBA_PYTHON('python_gmsa',
         cflags_end=gen_cflags
         )
 
+bld.SAMBA_PYTHON('python_schannel',
+        source='../../librpc/gen_ndr/py_schannel.c',
+        deps='NDR_SCHANNEL %s %s' % (pytalloc_util, pyrpc_util),
+        realname='samba/dcerpc/schannel.so',
+        cflags_end=gen_cflags
+        )
+
 bld.SAMBA_PYTHON('python_netlogon',
         source='../../librpc/gen_ndr/py_netlogon.c',
         deps='RPC_NDR_NETLOGON %s %s' % (pytalloc_util, pyrpc_util),