ira/wip.git
18 years agoAdd script useful for finding checks for headers that are never used
Jelmer Vernooij [Tue, 2 Dec 2003 10:13:18 +0000 (10:13 +0000)]
Add script useful for finding checks for headers that are never used

18 years agoadded netr_GetDcName() - quite a useful call
Andrew Tridgell [Tue, 2 Dec 2003 10:08:26 +0000 (10:08 +0000)]
added netr_GetDcName() - quite a useful call

18 years agoadded netr_AccountSync(), another NT_STATUS_NOT_IMPLEMENTED call
Andrew Tridgell [Tue, 2 Dec 2003 10:04:10 +0000 (10:04 +0000)]
added netr_AccountSync(), another NT_STATUS_NOT_IMPLEMENTED call
according to w2k3

18 years agoadded netr_AccountDeltas(), which w2k3 gives
Andrew Tridgell [Tue, 2 Dec 2003 09:52:15 +0000 (09:52 +0000)]
added netr_AccountDeltas(), which w2k3 gives
"NT_STATUS_NOT_IMPLEMENTED" for

18 years agomake sure we can expand the critical versions structure without
Andrew Tridgell [Tue, 2 Dec 2003 09:16:53 +0000 (09:16 +0000)]
make sure we can expand the critical versions structure without
causing crashes in old modules. Thanks to metze for pointing this out!

18 years agonetr_DatabaseDeltas() now works. We ask for the deltas associated with
Andrew Tridgell [Tue, 2 Dec 2003 08:04:37 +0000 (08:04 +0000)]
netr_DatabaseDeltas() now works. We ask for the deltas associated with
the last two sequence numbers on each database.

18 years agoHide gcc error message if using a compiler that can't precompile headers.
Tim Potter [Tue, 2 Dec 2003 05:38:27 +0000 (05:38 +0000)]
Hide gcc error message if using a compiler that can't precompile headers.

18 years ago * made some field names more consistent, and worked out that
Andrew Tridgell [Tue, 2 Dec 2003 05:37:49 +0000 (05:37 +0000)]
  * made some field names more consistent, and worked out that
    unknown1 is profile_path

If we are going to use automatic backend database generation then we
are going to have to move to really consistent field names in all our
IDL. Thats the only way we are going to be able to automate it a
lot. That will take a couple of days to do when we get to it.

18 years agodon't pollute the structure name space so much
Andrew Tridgell [Tue, 2 Dec 2003 05:17:02 +0000 (05:17 +0000)]
don't pollute the structure name space so much

18 years agonetr_DatabaseSync() now works fully for databases 0, 1 and 2
Andrew Tridgell [Tue, 2 Dec 2003 04:59:18 +0000 (04:59 +0000)]
netr_DatabaseSync() now works fully for databases 0, 1 and 2

18 years agonetr_DatabaseSync() now works fully for database 0
Andrew Tridgell [Tue, 2 Dec 2003 04:33:57 +0000 (04:33 +0000)]
netr_DatabaseSync() now works fully for database 0

18 years agoinitial netlogon database sync partly works - needs some IDL tweaks
Andrew Tridgell [Tue, 2 Dec 2003 04:05:05 +0000 (04:05 +0000)]
initial netlogon database sync partly works - needs some IDL tweaks

18 years agoadded netr_DatabaseSync(). It doesn't work as I haven't done schannel
Andrew Tridgell [Tue, 2 Dec 2003 03:06:21 +0000 (03:06 +0000)]
added netr_DatabaseSync(). It doesn't work as I haven't done schannel
yet, but at least the request is understood by w2k3

Also modified pidl to allow multiple branches in a union to have the
same element. This is used in netlogon.

18 years agoanother big improvement in the credentials API. I think it now
Andrew Tridgell [Tue, 2 Dec 2003 02:15:33 +0000 (02:15 +0000)]
another big improvement in the credentials API. I think it now
actually makes sense, and as a nice side effect it matches the debug
output of the w2k3 netlogon.log

18 years ago * netr_ServerPasswordSet() now works - the test suite changes the
Andrew Tridgell [Tue, 2 Dec 2003 00:31:54 +0000 (00:31 +0000)]
  * netr_ServerPasswordSet() now works - the test suite changes the
    machine account password.

  * neater handling on value() options in IDL. The auto-print code
    will now display the right value so you don't need to initialise
    it in your C code

18 years ago * another small API change in the credentials code
Andrew Tridgell [Mon, 1 Dec 2003 22:13:11 +0000 (22:13 +0000)]
 * another small API change in the credentials code

 * don't use static variables in the smbdes code

18 years agoneater credentials handling in netlogon client code
Andrew Tridgell [Mon, 1 Dec 2003 12:41:54 +0000 (12:41 +0000)]
neater credentials handling in netlogon client code

18 years agofixed NTLMSSP_SIGN_VERSION (which I broke earlier today)
Andrew Tridgell [Mon, 1 Dec 2003 10:07:24 +0000 (10:07 +0000)]
fixed NTLMSSP_SIGN_VERSION (which I broke earlier today)

18 years agoadded netr_LogonSamLogon() and test code
Andrew Tridgell [Mon, 1 Dec 2003 09:28:10 +0000 (09:28 +0000)]
added netr_LogonSamLogon() and test code

18 years agoadded netr_ServerAuthenticate() and test code
Andrew Tridgell [Mon, 1 Dec 2003 04:13:43 +0000 (04:13 +0000)]
added netr_ServerAuthenticate() and test code

I would like the netlogon test suite to eventually do a new domain
join using a fake workstation name, then remove itself afterwards, but
for now I'm assuming we are already joined to the domain when the
testsuite runs. This means you need to use the Samba3 net command to
do a join before running RPC-NETLOGON

18 years agoadded netr_ServerReqChallenge and cleaned up byte array printing
Andrew Tridgell [Mon, 1 Dec 2003 03:19:43 +0000 (03:19 +0000)]
added netr_ServerReqChallenge and cleaned up byte array printing

18 years agostarted adding netlogon IDL and test suite
Andrew Tridgell [Mon, 1 Dec 2003 01:41:38 +0000 (01:41 +0000)]
started adding netlogon IDL and test suite

18 years agoremoved more old code
Andrew Tridgell [Mon, 1 Dec 2003 00:38:30 +0000 (00:38 +0000)]
removed more old code

18 years agogot rid of more group mapping code
Andrew Tridgell [Mon, 1 Dec 2003 00:29:13 +0000 (00:29 +0000)]
got rid of more group mapping code

18 years ago * got rid of UNISTR2 and everything that depends on it
Andrew Tridgell [Mon, 1 Dec 2003 00:17:30 +0000 (00:17 +0000)]
  * got rid of UNISTR2 and everything that depends on it

  * removed a bunch of code that needs to be rewritten using the new
    interfaces

18 years ago * removed a bunch of unused code
Andrew Tridgell [Sun, 30 Nov 2003 23:40:04 +0000 (23:40 +0000)]
 * removed a bunch of unused code

 * made some functions static

18 years agoAdded EnumPrinterDriver, GetPrinterDriver (still in progress)
Tim Potter [Sun, 30 Nov 2003 11:57:40 +0000 (11:57 +0000)]
Added EnumPrinterDriver, GetPrinterDriver (still in progress)

18 years agomore unused headers
Andrew Tridgell [Sun, 30 Nov 2003 11:45:08 +0000 (11:45 +0000)]
more unused headers

18 years agogot rid of a bunch of unused header files (now replaced with IDL
Andrew Tridgell [Sun, 30 Nov 2003 11:39:03 +0000 (11:39 +0000)]
got rid of a bunch of unused header files (now replaced with IDL
generated headers)

18 years agoGetPrinterDataEx, SetPrinterDataEx, DeletePrinterDataEx.
Tim Potter [Fri, 28 Nov 2003 11:50:33 +0000 (11:50 +0000)]
GetPrinterDataEx, SetPrinterDataEx, DeletePrinterDataEx.

18 years agoAdd SetPrinterData, DeletePrinterData.
Tim Potter [Fri, 28 Nov 2003 10:34:58 +0000 (10:34 +0000)]
Add SetPrinterData, DeletePrinterData.

18 years agofixed some warnings
Andrew Tridgell [Fri, 28 Nov 2003 09:05:44 +0000 (09:05 +0000)]
fixed some warnings

18 years agothe beginnings of an automated tool for working out IDL properties of
Andrew Tridgell [Fri, 28 Nov 2003 08:51:09 +0000 (08:51 +0000)]
the beginnings of an automated tool for working out IDL properties of
a pipe. I'm not sure how possible this will be without lots of human
intervention, but its an interesting thing to try.

18 years agoFix bug in EnumPrinterData test.
Tim Potter [Fri, 28 Nov 2003 06:39:06 +0000 (06:39 +0000)]
Fix bug in EnumPrinterData test.

Implement GetPrinterData RPC.

18 years agomake sure there is at least one valid interface in an IDL file
Andrew Tridgell [Fri, 28 Nov 2003 05:32:40 +0000 (05:32 +0000)]
make sure there is at least one valid interface in an IDL file

18 years ago * added a bunch of placeholder IDL files
Andrew Tridgell [Fri, 28 Nov 2003 05:20:11 +0000 (05:20 +0000)]
 * added a bunch of placeholder IDL files

 * allow for an interface to list its endpoints in the IDL file, so we
   can automatically make the server listen on the right pipes, and
   can scan pipes more easily (I don't take advantage of this yet,
   just putting the infrastructure in place)

18 years agoAdded EnumJobs, GetJob, SetJob RPCs.
Tim Potter [Fri, 28 Nov 2003 05:02:32 +0000 (05:02 +0000)]
Added EnumJobs, GetJob, SetJob RPCs.

18 years ago * support multiple interfaces in one IDL file in pidl
Andrew Tridgell [Fri, 28 Nov 2003 03:47:45 +0000 (03:47 +0000)]
 * support multiple interfaces in one IDL file in pidl

 * make far more generated functions static

 * get rid of gen_rpc, and include the client calls in ndr_*.c

 * added placeholder IDL for a number of intefaces (dcom, wzcsvc, browser etc)

18 years agoadded auto-generation of the IDL interface tables. This makes two less
Andrew Tridgell [Fri, 28 Nov 2003 00:48:05 +0000 (00:48 +0000)]
added auto-generation of the IDL interface tables. This makes two less
places that need to be edited when someone adds a new IDL file.

18 years agoImplemented SetForm RPC.
Tim Potter [Thu, 27 Nov 2003 20:55:13 +0000 (20:55 +0000)]
Implemented SetForm RPC.

18 years agoAdd DeleteForm, start cleaning up tests.
Tim Potter [Thu, 27 Nov 2003 09:50:25 +0000 (09:50 +0000)]
Add DeleteForm, start cleaning up tests.

18 years agomore epmapper and mgmt magic
Andrew Tridgell [Thu, 27 Nov 2003 07:28:46 +0000 (07:28 +0000)]
more epmapper and mgmt magic

protocol 0x1f is interesting - its ncacn_http !

18 years agoImplemented AddForm RPC. The mystery of the useless_ptr has been
Tim Potter [Thu, 27 Nov 2003 06:15:06 +0000 (06:15 +0000)]
Implemented AddForm RPC.  The mystery of the useless_ptr has been
solved.  It was a pointer in a union member.

RPC-SPOOLSS tests a bit messy and could do with a cleanup.

18 years agoadded an rpc scanner. This prints messages like this:
Andrew Tridgell [Thu, 27 Nov 2003 05:34:28 +0000 (05:34 +0000)]
added an rpc scanner. This prints messages like this:

        uuid 82273fdc-e32a-18c3-3f78-827929dc23ea  version 0x0000:0x0000  'eventlog'
        24 calls available
        WARNING: local IDL defines 4 calls

when all the WARNINGs are gone then we know we have all the calls :)

18 years agouse EPMAPPER_PORT constant instead of 135
Andrew Tridgell [Thu, 27 Nov 2003 04:04:31 +0000 (04:04 +0000)]
use EPMAPPER_PORT constant instead of 135

18 years agoa couple of tidyups
Andrew Tridgell [Thu, 27 Nov 2003 04:02:15 +0000 (04:02 +0000)]
a couple of tidyups

 * don't try to map the epmapper uuid !

 * some preliminary support for alter context pdus

18 years agoswitched to WERROR return codes in the management IDL
Andrew Tridgell [Thu, 27 Nov 2003 04:01:18 +0000 (04:01 +0000)]
switched to WERROR return codes in the management IDL

18 years agoadded -m for 'max protocol' as a standard option
Andrew Tridgell [Thu, 27 Nov 2003 04:00:21 +0000 (04:00 +0000)]
added -m for 'max protocol' as a standard option

18 years agofixed default port handling pointed out by Tom Jansen
Andrew Tridgell [Wed, 26 Nov 2003 21:57:29 +0000 (21:57 +0000)]
fixed default port handling pointed out by Tom Jansen

18 years agoby default sign RPC over TCP but not RPC over SMB. I will add command line control...
Andrew Tridgell [Wed, 26 Nov 2003 12:29:08 +0000 (12:29 +0000)]
by default sign RPC over TCP but not RPC over SMB. I will add command line control soon

18 years agoImplemented EnumForms and GetForm.
Tim Potter [Wed, 26 Nov 2003 06:26:18 +0000 (06:26 +0000)]
Implemented EnumForms and GetForm.

18 years agoadded a link to opengroup PDU definitions
Andrew Tridgell [Wed, 26 Nov 2003 04:32:39 +0000 (04:32 +0000)]
added a link to opengroup PDU definitions

18 years agoshow an error when the epmapper fails to find an interface
Andrew Tridgell [Wed, 26 Nov 2003 04:32:04 +0000 (04:32 +0000)]
show an error when the epmapper fails to find an interface

18 years agoAdd bind nak to dcerpc_payload.
Tim Potter [Wed, 26 Nov 2003 04:23:24 +0000 (04:23 +0000)]
Add bind nak to dcerpc_payload.

18 years agotransfer syntax V2 isn't as magic as I thought
Andrew Tridgell [Wed, 26 Nov 2003 03:43:04 +0000 (03:43 +0000)]
transfer syntax V2 isn't as magic as I thought

18 years agouse the IDL defined NDR version number
Andrew Tridgell [Wed, 26 Nov 2003 03:41:06 +0000 (03:41 +0000)]
use the IDL defined NDR version number

18 years agoadded auto-determination of the DCERPC over TCP port number by asking
Andrew Tridgell [Wed, 26 Nov 2003 03:36:17 +0000 (03:36 +0000)]
added auto-determination of the DCERPC over TCP port number by asking
the servers endpoint mapper

18 years agofixed some memory leaks in the dcerpc use of ntlmssp signing
Andrew Tridgell [Wed, 26 Nov 2003 02:08:41 +0000 (02:08 +0000)]
fixed some memory leaks in the dcerpc use of ntlmssp signing

18 years agosigned DCERPC over TCP now works !
Andrew Tridgell [Wed, 26 Nov 2003 01:16:41 +0000 (01:16 +0000)]
signed DCERPC over TCP now works !

 * moved ntlmssp code into libcli/auth/, and updated to latest ntlmssp
   code from samba3 (thanks Andrew! the new interface is great)

 * added signing/ntlmssp support in the dcerpc code

 * added a dcerpc_auth.c module for the various dcerpc auth mechanisms

18 years agoadded some paranoid checking for enums
Andrew Tridgell [Wed, 26 Nov 2003 01:13:00 +0000 (01:13 +0000)]
added some paranoid checking for enums

18 years agoSpoolss functions return WERROR not NTSTATUS.
Tim Potter [Tue, 25 Nov 2003 11:24:49 +0000 (11:24 +0000)]
Spoolss functions return WERROR not NTSTATUS.

Start writing idl for forms RPCs.

18 years agoCVS: ----------------------------------------------------------------------
Jelmer Vernooij [Tue, 25 Nov 2003 03:15:26 +0000 (03:15 +0000)]
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:  Makefile.in configure.in include/includes.h include/ntvfs.h
CVS:  include/smb.h lib/iconv.c lib/module.c ntvfs/ntvfs_base.c
CVS:  ntvfs/cifs/vfs_cifs.c ntvfs/ipc/vfs_ipc.c
CVS:  ntvfs/posix/vfs_posix.c ntvfs/print/vfs_print.c
CVS:  ntvfs/reference/vfs_ref.c ntvfs/simple/vfs_simple.c
CVS:  passdb/pdb_interface.c
CVS: Added Files:
CVS:  include/module.h
CVS: ----------------------------------------------------------------------
Update to the modules system. Fixed:
 - get rid of smb_probe_module
 - merge older updates from 3.0
 - introduced register_subsystem() and register_backend() functions
 - adapt ntvfs and charset to use new register functions
 - made smb_load_modules() work recursively (e.g. 'preload modules = /usr/lib/samba')
 - got rid of some old remains

Things that still need work:
 - Did I break tankFS? I don't think so, but I can't test it here :-(
 - Add 'postload modules = ' (for modules that need to be loaded after fork() in smbd, if applicable)
 - Convert RPC, auth, passdb, etc to use new register_{subsystem,backend}() functions
 - Accept wildcards in 'preload modules' option, instead of loading recursively

18 years agoUpdate to the modules system. Fixed:
Jelmer Vernooij [Tue, 25 Nov 2003 02:09:40 +0000 (02:09 +0000)]
Update to the modules system. Fixed:
 - get rid of smb_probe_module
 - merge older updates from 3.0
 - introduced register_subsystem() and register_backend() functions
 - adapt ntvfs and charset to use new register functions
 - made smb_load_modules() work recursively (e.g. 'preload modules = /usr/lib/samba')
 - got rid of some old remains

Things that still need work:
 - Did I break tankFS? I don't think so, but I can't test it here :-(
 - Add 'postload modules = ' (for modules that need to be loaded after fork() in smbd, if applicable)
 - Convert RPC, auth, passdb, etc to use new register_{subsystem,backend}() functions
 - Accept wildcards in 'preload modules' option, instead of loading recursively

18 years ago * fixed byte order in epmapper parsing
Andrew Tridgell [Mon, 24 Nov 2003 13:19:00 +0000 (13:19 +0000)]
 * fixed byte order in epmapper parsing

 * allow rpc transport to be specified on command line in smbtorture

18 years agoinitial implementation of dcerpc over tcp. RPC-EPMAPPER works, now to
Andrew Tridgell [Mon, 24 Nov 2003 12:40:47 +0000 (12:40 +0000)]
initial implementation of dcerpc over tcp. RPC-EPMAPPER works, now to
add epm_Map calls and support the rest of the pipes

18 years ago * prepared the dcerpc subsystem for adding the RPC over TCP transport
Andrew Tridgell [Mon, 24 Nov 2003 11:45:33 +0000 (11:45 +0000)]
 * prepared the dcerpc subsystem for adding the RPC over TCP transport

 * fixed a uninitialised variable bug in pidl (found by valgrind)

18 years agoremoved the STFS specific flags in the Makefile.
Andrew Tridgell [Mon, 24 Nov 2003 10:37:24 +0000 (10:37 +0000)]
removed the STFS specific flags in the Makefile.

Jim, we are going to need to redo the STFS backend as a module, as
otherwise maintaining it outside of the samba.org tree will become too
awkward.

18 years agoadded tests for epm_Map endpointer map calls
Andrew Tridgell [Mon, 24 Nov 2003 10:15:17 +0000 (10:15 +0000)]
added tests for epm_Map endpointer map calls

18 years agogive far more detail in the EPMAPPER results
Andrew Tridgell [Mon, 24 Nov 2003 05:28:10 +0000 (05:28 +0000)]
give far more detail in the EPMAPPER results

18 years agomake sure we don't try to update a constant
Andrew Tridgell [Mon, 24 Nov 2003 03:31:03 +0000 (03:31 +0000)]
make sure we don't try to update a constant

18 years agoadded tests for the remaining calls on the rpc management interface
Andrew Tridgell [Mon, 24 Nov 2003 03:21:49 +0000 (03:21 +0000)]
added tests for the remaining calls on the rpc management interface

18 years agoadded the dcerpc remote management interfaces as mgmt.idl, and wrote a
Andrew Tridgell [Mon, 24 Nov 2003 01:24:29 +0000 (01:24 +0000)]
added the dcerpc remote management interfaces as mgmt.idl, and wrote a
test suite. The test suite dumps all of the interfaces available on
all pipes. There sure are a lot more interfaces on w2k3 than w2k !

18 years ago * better diagnostics in ndrdump
Andrew Tridgell [Sun, 23 Nov 2003 21:51:24 +0000 (21:51 +0000)]
 * better diagnostics in ndrdump

 * added samr_Connect2()

18 years agoadded a tool called 'ndrdump' that allows you to dump NDR data
Andrew Tridgell [Sun, 23 Nov 2003 13:44:19 +0000 (13:44 +0000)]
added a tool called 'ndrdump' that allows you to dump NDR data
according to the current IDL taking the data from a file. In
combination with a little hack to ethereal to extract data this is a
quite powerful IDL development tool.

18 years agoModify WINREG test program to recursively enumerate keys in all known
Tim Potter [Sun, 23 Nov 2003 11:57:15 +0000 (11:57 +0000)]
Modify WINREG test program to recursively enumerate keys in all known
hives.  Limit the recursion depth to ensure the test doesn't run too long.

18 years agoRemoved unused variable.
Tim Potter [Sun, 23 Nov 2003 11:05:31 +0000 (11:05 +0000)]
Removed unused variable.

18 years agoCheck NT_STATUS code from dcerpc call function before checking the
Tim Potter [Sun, 23 Nov 2003 10:51:39 +0000 (10:51 +0000)]
Check NT_STATUS code from dcerpc call function before checking the
WERROR code.

18 years agoAdd a strlen_m_term() function for returning the length of a string
Tim Potter [Sun, 23 Nov 2003 10:50:52 +0000 (10:50 +0000)]
Add a strlen_m_term() function for returning the length of a string
including the termination.  Using value(strlen_m((r->name)+1)*2) gives
the wrong answer for the NULL string.

18 years agofixed the handling of value() attributes on scalars in IDL that
Andrew Tridgell [Sun, 23 Nov 2003 07:14:17 +0000 (07:14 +0000)]
fixed the handling of value() attributes on scalars in IDL that
reference other elements of the same structure

18 years agoActually call right function name.
Tim Potter [Sun, 23 Nov 2003 06:54:18 +0000 (06:54 +0000)]
Actually call right function name.

18 years agoCall enumkey for tridge.
Tim Potter [Sun, 23 Nov 2003 06:38:37 +0000 (06:38 +0000)]
Call enumkey for tridge.

18 years agoString termination fix.
Tim Potter [Sun, 23 Nov 2003 06:31:10 +0000 (06:31 +0000)]
String termination fix.

Re-arrange winreg tests - currently it's failing with an input validation
error on tridge's test pull/push test code.

18 years agoStrings in the winreg pipe are terminated.
Tim Potter [Sun, 23 Nov 2003 06:29:11 +0000 (06:29 +0000)]
Strings in the winreg pipe are terminated.

18 years agoooh, this is fun!
Andrew Tridgell [Sun, 23 Nov 2003 06:28:12 +0000 (06:28 +0000)]
ooh, this is fun!

I have recoded the core dcerpc packet structures (all the PDUs etc) in
terms of IDL, which means we now use pidl to generate all the code for
handling the most basic dcerpc packets. This is not normally possible
as it isn't completely valid NDR, but pidl has a number of extensions
that make it quite easy.

This also means we get the server side dcerpc
marshalling/unmarshalling code for free.

18 years agosave about 35% of the time for "make idl" by processing multiple IDL
Andrew Tridgell [Sun, 23 Nov 2003 03:42:20 +0000 (03:42 +0000)]
save about 35% of the time for "make idl" by processing multiple IDL
files at once, which means less perl startup time.

18 years agoget rid of some more unused headers
Andrew Tridgell [Sun, 23 Nov 2003 03:10:50 +0000 (03:10 +0000)]
get rid of some more unused headers

18 years agoby using a single proto.h we gain another factor of 4 in the speed of
Andrew Tridgell [Sun, 23 Nov 2003 03:03:27 +0000 (03:03 +0000)]
by using a single proto.h we gain another factor of 4 in the speed of
"make proto"

18 years agofinal bit of tidyup and speedup
Andrew Tridgell [Sun, 23 Nov 2003 02:44:23 +0000 (02:44 +0000)]
final bit of tidyup and speedup

18 years agomuch faster inner loop and neater code
Andrew Tridgell [Sun, 23 Nov 2003 02:33:46 +0000 (02:33 +0000)]
much faster inner loop and neater code

18 years agofixed loadparm handling properly
Andrew Tridgell [Sun, 23 Nov 2003 02:11:55 +0000 (02:11 +0000)]
fixed loadparm handling properly

18 years agonicer base type handling
Andrew Tridgell [Sun, 23 Nov 2003 02:00:40 +0000 (02:00 +0000)]
nicer base type handling

18 years agoreduced the number of magic types we need in mkproto.pl
Andrew Tridgell [Sun, 23 Nov 2003 01:53:54 +0000 (01:53 +0000)]
reduced the number of magic types we need in mkproto.pl

In general I prefer "struct foo" to just "foo" for most
structures. There are exceptions.

18 years agowe don't need awk now
Andrew Tridgell [Sun, 23 Nov 2003 01:31:40 +0000 (01:31 +0000)]
we don't need awk now

18 years agoget rid of our awk scripts
Andrew Tridgell [Sun, 23 Nov 2003 01:30:58 +0000 (01:30 +0000)]
get rid of our awk scripts

18 years agochanged to perl for mkproto, patch from vance
Andrew Tridgell [Sun, 23 Nov 2003 01:29:42 +0000 (01:29 +0000)]
changed to perl for mkproto, patch from vance

18 years agoadded support for enumerated types in IDL files. This makes unions
Andrew Tridgell [Sat, 22 Nov 2003 22:53:08 +0000 (22:53 +0000)]
added support for enumerated types in IDL files. This makes unions
easier to work with.

18 years agoadded support for 'const' in IDL files. This makes it easy to define
Andrew Tridgell [Sat, 22 Nov 2003 22:09:10 +0000 (22:09 +0000)]
added support for 'const' in IDL files. This makes it easy to define
symbolic names for bitfields etc.

18 years agoadded the beginnings of an IDL validator, to give clearer errors when
Andrew Tridgell [Sat, 22 Nov 2003 12:25:20 +0000 (12:25 +0000)]
added the beginnings of an IDL validator, to give clearer errors when
IDL is not valid

18 years ago * fixed null terminated string handling
Andrew Tridgell [Sat, 22 Nov 2003 11:49:22 +0000 (11:49 +0000)]
 * fixed null terminated string handling

 * fixed nested relative offsets in push functions

the spoolss torture test now passes!

18 years ago * fixed handling of relative subcontext unions
Andrew Tridgell [Sat, 22 Nov 2003 10:37:00 +0000 (10:37 +0000)]
 * fixed handling of relative subcontext unions

 * fixed GetPrinter in spoolss after OpenPrinter