From 8daa83a594a2e98f39d764422bfbdbc62c9efd44 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 19:20:00 +0200 Subject: Adding upstream version 2:4.20.0+dfsg. Signed-off-by: Daniel Baumann --- librpc/idl/wscript_build | 164 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 librpc/idl/wscript_build (limited to 'librpc/idl/wscript_build') diff --git a/librpc/idl/wscript_build b/librpc/idl/wscript_build new file mode 100644 index 0000000..f3781fa --- /dev/null +++ b/librpc/idl/wscript_build @@ -0,0 +1,164 @@ +#!/usr/bin/env python + +bld.SAMBA_PIDL_LIST('PIDL', + '''drsuapi.idl epmapper.idl + eventlog.idl + browser.idl dssetup.idl frsapi.idl + spoolss.idl + dnsserver.idl + samr.idl srvsvc.idl winreg.idl + mgmt.idl netlogon.idl + svcctl.idl wkssvc.idl eventlog6.idl backupkey.idl + witness.idl clusapi.idl + mdssvc.idl''', + options='--header --ndr-parser --server-compat --server --client --python', + output_dir='../gen_ndr') + +# The interface names here are not the same as the IDL name, so the +# auto-generation of the fuzzer fails to link +bld.SAMBA_PIDL_LIST('PIDL', + '''echo.idl + fsrvp.idl + lsa.idl + winspool.idl''', + options='--header --ndr-parser --server-compat --server --client --python', + output_dir='../gen_ndr', + generate_fuzzers=False) + +# Services that we only have a client for +bld.SAMBA_PIDL_LIST('PIDL', + '''atsvc.idl gkdi.idl''', + options='--header --ndr-parser --client --python', + output_dir='../gen_ndr') + +# Services that we only have a server in the source3 style +bld.SAMBA_PIDL_LIST('PIDL', + '''initshutdown.idl ntsvcs.idl''', + options='--header --ndr-parser --client --python --server-compat', + output_dir='../gen_ndr') + +# The interface names here are not the same as the IDL name, so the +# auto-generation of the fuzzer fails to link +bld.SAMBA_PIDL_LIST('PIDL', + '''dfs.idl''', + options='--header --ndr-parser --client --python --server-compat', + output_dir='../gen_ndr', + generate_fuzzers=False) + +# Services that we only have a server in the source4 style. + +bld.SAMBA_PIDL_LIST('PIDL', + '''unixinfo.idl''', + options='--header --ndr-parser --client --python --server', + output_dir='../gen_ndr') + +# DCE/RPC protocols which Samba does not implement a client or server +# for. We don't generate a fuzzer for these as they are unreachable +# +# Do not include IDL with public structures in this list as we want to +# fuzz those + +bld.SAMBA_PIDL_LIST('PIDL', + ''' + audiosrv.idl + dbgidl.idl + dsbackup.idl + efs.idl + frstrans.idl + frsrpc.idl + keysvc.idl + msgsvc.idl + orpc.idl + policyagent.idl + rot.idl + scerpc.idl + trkwks.idl + w32time.idl + winstation.idl + wzcsvc.idl + ''', + options='--header --ndr-parser', + generate_fuzzers=False, + output_dir='../gen_ndr') + +# Non-DCE/RPC protocols encoded in IDL for Samba or helper IDLs for +# DCE/RPC protocols (eg defining constants or structures but not +# functions) +bld.SAMBA_PIDL_LIST('PIDL', + ''' + bkupblobs.idl + cab.idl + file_id.idl + fscc.idl + fsrvp_state.idl + named_pipe_auth.idl + negoex.idl + notify.idl + ntprinting.idl + ODJ.idl + printcap.idl + rap.idl + schannel.idl + smb2_lease_struct.idl + ''', + options='--header --ndr-parser', + output_dir='../gen_ndr') + +# The interface names here are not the same as the IDL name, so the +# auto-generation of the fuzzer fails to link + +bld.SAMBA_PIDL_LIST('PIDL', + ''' + ioctl.idl + nfs4acl.idl + quota.idl + wsp_data.idl + wsp.idl + ''', + options='--header --ndr-parser', + output_dir='../gen_ndr', + generate_fuzzers=False) + +# Non-DCE/RPC protocols with Python bindings +# (for structures or constants) + +bld.SAMBA_PIDL_LIST('PIDL', + ''' + auth.idl + claims.idl + dcerpc.idl + dfsblobs.idl + dns.idl + dnsp.idl + drsblobs.idl + gmsa.idl + idmap.idl + krb5pac.idl + krb5ccache.idl + messaging.idl + misc.idl + nbt.idl + ntlmssp.idl + preg.idl + security.idl + server_id.idl + smb_acl.idl + xattr.idl + smb3posix.idl + ''', + options='--header --ndr-parser --python', + output_dir='../gen_ndr') + +bld.SAMBA_PIDL_LIST('PIDL', + ''' + windows_event_ids.idl + conditional_ace.idl + ''', + options='--header --ndr-parser --python', + output_dir='../gen_ndr', + generate_tables=False) + +bld.SAMBA_PIDL_LIST('PIDL', + 'winbind.idl', + options='--header --ndr-parser --server-compat --client --python', + output_dir='../gen_ndr') -- cgit v1.2.3