2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2010-03-17 14:15:46 +03:00
bld.SAMBA_PIDL_LIST('PIDL',
2019-09-23 07:32:38 +03:00
'''drsuapi.idl epmapper.idl
2019-06-26 01:01:16 +03:00
eventlog.idl
2019-09-23 07:47:48 +03:00
browser.idl dssetup.idl frsapi.idl
2019-09-23 07:58:35 +03:00
spoolss.idl
2019-10-31 06:28:28 +03:00
dnsserver.idl
2019-09-23 08:08:56 +03:00
samr.idl srvsvc.idl winreg.idl
2019-06-26 01:01:16 +03:00
mgmt.idl netlogon.idl
svcctl.idl wkssvc.idl eventlog6.idl backupkey.idl
2019-10-31 06:28:28 +03:00
witness.idl clusapi.idl
mdssvc.idl''',
2011-02-02 20:51:45 +03:00
options='--header --ndr-parser --samba3-ndr-server --server --client --python',
2010-05-03 19:28:23 +04:00
output_dir='../gen_ndr')
2010-03-17 14:17:15 +03:00
2019-10-31 06:28:28 +03:00
# The interface names here are not the same as the IDL name, so the
# auto-genration of the fuzzer fails to link
bld.SAMBA_PIDL_LIST('PIDL',
'''echo.idl
fsrvp.idl
lsa.idl
winspool.idl''',
options='--header --ndr-parser --samba3-ndr-server --server --client --python',
output_dir='../gen_ndr',
generate_fuzzers=False)
2019-09-23 07:39:11 +03:00
# Services that we only have a client for
2019-09-23 07:31:07 +03:00
bld.SAMBA_PIDL_LIST('PIDL',
'''atsvc.idl''',
options='--header --ndr-parser --client --python',
output_dir='../gen_ndr')
2019-09-23 07:39:11 +03:00
# Services that we only have a server in the source3 style
2019-09-23 07:32:38 +03:00
bld.SAMBA_PIDL_LIST('PIDL',
2019-10-31 06:28:28 +03:00
'''initshutdown.idl ntsvcs.idl''',
2019-09-23 07:32:38 +03:00
options='--header --ndr-parser --client --python --samba3-ndr-server',
output_dir='../gen_ndr')
2019-10-31 06:28:28 +03:00
# The interface names here are not the same as the IDL name, so the
# auto-genration of the fuzzer fails to link
bld.SAMBA_PIDL_LIST('PIDL',
'''dfs.idl''',
options='--header --ndr-parser --client --python --samba3-ndr-server',
output_dir='../gen_ndr',
generate_fuzzers=False)
# Services that we only have a server in the source4 style.
2019-09-23 07:40:47 +03:00
bld.SAMBA_PIDL_LIST('PIDL',
'''unixinfo.idl''',
options='--header --ndr-parser --client --python --server',
output_dir='../gen_ndr')
2019-09-23 07:39:11 +03:00
# DCOM stuff
2019-10-31 06:28:28 +03:00
# The interface names here are not the same as the IDL name, so the
# auto-genration of the fuzzer fails to link
2019-09-23 07:37:31 +03:00
bld.SAMBA_PIDL_LIST('PIDL',
2019-09-23 08:08:56 +03:00
'''oxidresolver.idl remact.idl''',
2019-09-23 07:37:31 +03:00
options='--header --ndr-parser --client',
2019-10-31 06:28:28 +03:00
output_dir='../gen_ndr',
generate_fuzzers=False)
2019-09-23 07:37:31 +03:00
2019-10-31 06:28:28 +03:00
# The interface names here are not the same as the IDL name, so the
# auto-genration of the fuzzer fails to link
2010-03-17 14:17:15 +03:00
bld.SAMBA_PIDL_LIST('PIDL',
'wmi.idl dcom.idl',
2012-02-08 06:00:29 +04:00
options='--header --ndr-parser --server --client --dcom-proxy --com-header',
2019-10-31 06:28:28 +03:00
output_dir='../gen_ndr',
generate_fuzzers=False)
2010-03-17 13:48:26 +03:00
2019-06-26 01:01:16 +03:00
# DCE/RPC protocols which Samba does not implement a client or server
2019-12-13 05:34:34 +03:00
# 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
2010-09-17 11:03:54 +04:00
2018-04-16 04:49:54 +03:00
bld.SAMBA_PIDL_LIST('PIDL',
2019-06-26 01:01:16 +03:00
'''
audiosrv.idl
2019-12-13 05:34:34 +03:00
dbgidl.idl
dsbackup.idl
2019-06-26 01:01:16 +03:00
efs.idl
frstrans.idl
2019-06-26 07:09:30 +03:00
frsrpc.idl
2019-06-26 01:01:16 +03:00
keysvc.idl
msgsvc.idl
2019-12-13 05:34:34 +03:00
orpc.idl
2019-06-26 01:01:16 +03:00
policyagent.idl
2019-09-23 07:57:48 +03:00
rot.idl
2019-06-26 01:01:16 +03:00
scerpc.idl
trkwks.idl
2019-09-23 07:58:35 +03:00
w32time.idl
2019-12-13 05:56:55 +03:00
winstation.idl
2019-06-26 01:01:16 +03:00
wzcsvc.idl
''',
options='--header --ndr-parser',
2019-12-13 05:34:34 +03:00
generate_fuzzers=False,
2018-04-16 04:49:54 +03:00
output_dir='../gen_ndr')
2019-06-26 01:01:16 +03:00
# Non-DCE/RPC protocols encoded in IDL for Samba or helper IDLs for
# DCE/RPC protocols (eg defining constands or structures but not
# functions)
2010-09-17 11:03:54 +04:00
bld.SAMBA_PIDL_LIST('PIDL',
2016-09-15 14:36:35 +03:00
'''
2019-06-26 01:01:16 +03:00
bkupblobs.idl
2016-09-15 14:36:35 +03:00
cab.idl
2019-06-26 01:01:16 +03:00
file_id.idl
fscc.idl
fsrvp_state.idl
named_pipe_auth.idl
negoex.idl
notify.idl
ntprinting.idl
printcap.idl
rap.idl
schannel.idl
smb2_lease_struct.idl
2016-09-15 14:36:35 +03:00
''',
2010-04-29 03:22:12 +04:00
options='--header --ndr-parser',
2010-05-03 19:28:23 +04:00
output_dir='../gen_ndr')
2011-02-12 23:18:29 +03:00
2019-10-31 06:28:28 +03:00
# The interface names here are not the same as the IDL name, so the
# auto-genration of the fuzzer fails to link
bld.SAMBA_PIDL_LIST('PIDL',
'''
ioctl.idl
nfs4acl.idl
quota.idl
''',
options='--header --ndr-parser',
output_dir='../gen_ndr',
generate_fuzzers=False)
2019-06-26 01:01:16 +03:00
# Non-DCE/RPC protocls with Python bindings
# (for structures or constants)
2011-02-12 23:18:29 +03:00
bld.SAMBA_PIDL_LIST('PIDL',
2019-06-26 01:01:16 +03:00
'''
auth.idl
dcerpc.idl
dfsblobs.idl
dns.idl
dnsp.idl
drsblobs.idl
idmap.idl
krb5pac.idl
messaging.idl
misc.idl
nbt.idl
ntlmssp.idl
preg.idl
security.idl
server_id.idl
smb_acl.idl
xattr.idl
''',
2019-06-25 06:41:40 +03:00
options='--header --ndr-parser --python',
2011-02-12 23:18:29 +03:00
output_dir='../gen_ndr')
2014-05-08 04:17:32 +04:00
2019-11-04 01:51:11 +03:00
bld.SAMBA_PIDL_LIST('PIDL',
'''
windows_event_ids.idl
''',
options='--header --ndr-parser --python',
output_dir='../gen_ndr',
generate_tables=False)
2014-05-08 04:17:32 +04:00
bld.SAMBA_PIDL_LIST('PIDL',
'winbind.idl',
options='--header --ndr-parser --samba3-ndr-server --client --python',
output_dir='../gen_ndr')
2018-12-13 00:17:44 +03:00