bbaumbach/samba-autobuild/.git
20 years agoadded netr_LogonControl() and netr_GetAnyDCName()
Andrew Tridgell [Tue, 2 Dec 2003 10:34:06 +0000 (10:34 +0000)]
added netr_LogonControl() and netr_GetAnyDCName()
(This used to be commit 17b2be4e859bd7f625214d7e7de9758b5ab5fb90)

20 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
(This used to be commit 0e5fdbc01bba7f1b000587d01a128c3bdbbbe03c)

20 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
(This used to be commit 63f46b223e16a3495b4a4a48c6489f1f0d7d84c4)

20 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
(This used to be commit b2ca00ebc57774000af2de6132c29db4c6daae28)

20 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
(This used to be commit aaf776a1c134d7b6112932f880e09ba497e8ebcf)

20 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!
(This used to be commit 2ee5540629e7922cd76d87ed53b70bf37b83e100)

20 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.
(This used to be commit f9377c860315a8a4f380d70ff97309d3ffdb5c26)

20 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.
(This used to be commit 13d073d805b3a5b9f6fbfff5dccf0bf37124d4c3)

20 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.
(This used to be commit 1732aae562927afc1ef4f30ef7787cf2d43063e2)

20 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
(This used to be commit 107307b4c69000d2025f4463c72ee38172c48ec5)

20 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
(This used to be commit c4c09e9413d3886e030e98739121bbae81f80ca5)

20 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
(This used to be commit 360d03bb56ec7d129ec0d62a701f4bf0ff3876af)

20 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
(This used to be commit 75ea276c147e2b4b0617eb0b77276d5fb5da2043)

20 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.
(This used to be commit 983c0e9683fa9666a6e055d1776ebeef8cd2e700)

20 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
(This used to be commit 3c7287c24e5970e5b7447ad042848505537c7d3b)

20 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
(This used to be commit 3dd978b12bb5571fba4e1839c0f7ee60cf729aa2)

20 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
(This used to be commit e6e09064646c347169852fa162c72fc0542c6d5c)

20 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
(This used to be commit b7d748f499f79415b444e7cebe7d8de7186fbc94)

20 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)
(This used to be commit c8ef04077413f44101ba071187554e65a8e1c8fc)

20 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
(This used to be commit 4fa3ad3ecbfd8f8663fcdfaba9a7db481e303f2b)

20 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
(This used to be commit 8c7a9446a0892a4f7722cced5019667f7a9fafdd)

20 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
(This used to be commit bb42107dccf3a384a4a5c029b4d2752e0898d7cb)

20 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
(This used to be commit 3d64eefb464d09fb6e84d6139f801887a278cf86)

20 years agoremoved more old code
Andrew Tridgell [Mon, 1 Dec 2003 00:38:30 +0000 (00:38 +0000)]
removed more old code
(This used to be commit fbccf58539827ef368f8a0be122e45edcd0f070e)

20 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
(This used to be commit 2955ce55ee3bd9a8702a446db3ace20c703c451f)

20 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
(This used to be commit 9b02b486ef5906516f8cad79dbff5e3dd54cde66)

20 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
(This used to be commit 829b87f30d5f4cc7174b716f3354982d84af4818)

20 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)
(This used to be commit a818439b5915fd70b8aa3d3045f658b3f59a6bea)

20 years agomore unused headers
Andrew Tridgell [Sun, 30 Nov 2003 11:45:08 +0000 (11:45 +0000)]
more unused headers
(This used to be commit 39b726d068dbd31efeb2c0dd8584425d1996f991)

20 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)
(This used to be commit 7f2ac326f9d6019ca72f3b70ad1cdbeff6c2c9a5)

20 years agoGetPrinterDataEx, SetPrinterDataEx, DeletePrinterDataEx.
Tim Potter [Fri, 28 Nov 2003 11:50:33 +0000 (11:50 +0000)]
GetPrinterDataEx, SetPrinterDataEx, DeletePrinterDataEx.
(This used to be commit e8367f57356bc3da78a6217158f9d639ba4ca5fa)

20 years agoAdd SetPrinterData, DeletePrinterData.
Tim Potter [Fri, 28 Nov 2003 10:34:58 +0000 (10:34 +0000)]
Add SetPrinterData, DeletePrinterData.
(This used to be commit ea534f82d0620cbda5a960e492ec2fc1702fe975)

20 years agofixed some warnings
Andrew Tridgell [Fri, 28 Nov 2003 09:05:44 +0000 (09:05 +0000)]
fixed some warnings
(This used to be commit 1c2b8a93c50e3d5485732a2f06847166e883f939)

20 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.
(This used to be commit d5afe7c6a8651457da9438fcf0035c792701ac86)

20 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.
(This used to be commit 270c4fe389fb67ccbe0b9174267b40738ca43052)

20 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
(This used to be commit 86ab394806a5f9dfc20fabda071d72ca29703f62)

20 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)
(This used to be commit c8b8480244b4ab6204403dc65e92e4317b410a84)

20 years agoAdded EnumJobs, GetJob, SetJob RPCs.
Tim Potter [Fri, 28 Nov 2003 05:02:32 +0000 (05:02 +0000)]
Added EnumJobs, GetJob, SetJob RPCs.
(This used to be commit a06cbbbf1fa1e873bb13bc86d14694b2af791e22)

20 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)
(This used to be commit a2bdf0be0119023df3c2b9ea515ed355020f2625)

20 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.
(This used to be commit ccd9ddeed679baa6cbb05ac728b381b50420e00f)

20 years agoImplemented SetForm RPC.
Tim Potter [Thu, 27 Nov 2003 20:55:13 +0000 (20:55 +0000)]
Implemented SetForm RPC.
(This used to be commit bdb0dfc370b4deb9e7f5a381092538c3e502f191)

20 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.
(This used to be commit 10b31623fd421d341787d0769839ea5dca5ae7c0)

20 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 !
(This used to be commit e3d40e3da6e15407162c1d0a29d2cbe86842228e)

20 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.
(This used to be commit cf8cd4485261e861b16b98fb918758ff11282f1d)

20 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 :)
(This used to be commit f5821b2468a0c46d0e5590de59562926d746c349)

20 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
(This used to be commit 953ab587dc5a625d0fb557fdcac122a3b2ed0224)

20 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
(This used to be commit f9857e56850cabfac06534fb33ff7a7a04346a9b)

20 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
(This used to be commit a81f659e9e7d876b82fb7b5950b9fbfbf5478e03)

20 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
(This used to be commit 8fe4058711c12b8116982357723c36e862aa0bef)

20 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
(This used to be commit 8246e6ca0bd0eaa92de602db46a119d368e93391)

20 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
(This used to be commit 215852116c1fb8c0d8ef559155a3dd55346f0c31)

20 years agoImplemented EnumForms and GetForm.
Tim Potter [Wed, 26 Nov 2003 06:26:18 +0000 (06:26 +0000)]
Implemented EnumForms and GetForm.
(This used to be commit 822750592cffb175aa7afb268bc7cb47bbab47e4)

20 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
(This used to be commit 939d832e5eb49abf392cfee39631a157fc2168a4)

20 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
(This used to be commit 448dead14dc9db2c429c78f0eed303c4513f5a47)

20 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.
(This used to be commit 0deb9179f07dead11e2fff247efe9e3d0879da58)

20 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
(This used to be commit bb3bb5dc8d494afd077fa613d064767d7aad90cd)

20 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
(This used to be commit 00e0c14b76c9b001c7d7b6b18b2cb543a57fe082)

20 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
(This used to be commit 4abf5376b00f580eb69196e55a792cc7eb4c9880)

20 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
(This used to be commit abbc9993b8f7eb9f57e079db1d0b170d0b9aa443)

20 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
(This used to be commit c18c9b5585a3e5f7868562820c14f7cb529cdbcd)

20 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
(This used to be commit 3492f37b0bf14797514f1dc603f518bf5b801c3c)

20 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.
(This used to be commit 9274ef60b690c334d426dfa815fe472b2da19e2d)

20 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
(This used to be commit 7512b9ab1a8b3103f7a6c13f736353c46a26b668)

20 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
(This used to be commit 3433c4c71f20dde96d30e02a49bbe09a9ce6c036)

20 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
(This used to be commit 8a82050fd6f45bcdb31c2c365eaed5fc12599e4f)

20 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
(This used to be commit 39add481582609ddb9d0b3bae45fde3226ece481)

20 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)
(This used to be commit 8bce61b8af6351c72c0dd84dc61b49d8aeb1fbbd)

20 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.
(This used to be commit 0fedafd7a026c8a793a1478d8a989f0c930092b4)

20 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
(This used to be commit 570ad78525ffcc116842270b62ba41c86c2a018d)

20 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
(This used to be commit 420301969820ffaa0a87b091c7a79372c99cb658)

20 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
(This used to be commit 4a6034f2e37d1050364fc167f1b71b5c806dfdc9)

20 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
(This used to be commit 00f9b0e12061c175334f96805ca8333f28f74d91)

20 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 !
(This used to be commit f94bc079902d725b63155d8d2de5bf408c6e7335)

20 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()
(This used to be commit 6b262ca37ca3fc0e3210b4379b2d9e46e1a2d336)

20 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.
(This used to be commit 229a325c3cf0d4dc1e910ed32e1d7391040aeba1)

20 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.
(This used to be commit 152af383b8fdaa41be97356f9c55b9a5824edecf)

20 years agoRemoved unused variable.
Tim Potter [Sun, 23 Nov 2003 11:05:31 +0000 (11:05 +0000)]
Removed unused variable.
(This used to be commit 40ccaeefed1a3baea356254795c698794cb81384)

20 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.
(This used to be commit b4792b7b316f8cb665b5a698f348c7c033702934)

20 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.
(This used to be commit 7ae329e6630a07d29f83b6dd4572d26ab8a18c71)

20 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
(This used to be commit d8d17be290730670bad0fea91188d394160cb879)

20 years agoActually call right function name.
Tim Potter [Sun, 23 Nov 2003 06:54:18 +0000 (06:54 +0000)]
Actually call right function name.
(This used to be commit 634ea437201fbf61f3157a4b0ebabfcb15507166)

20 years agoCall enumkey for tridge.
Tim Potter [Sun, 23 Nov 2003 06:38:37 +0000 (06:38 +0000)]
Call enumkey for tridge.
(This used to be commit cc71bd2a903ba1f12f08758e885f1f07e61f7c86)

20 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.
(This used to be commit 8f154f8b9f0bb8d9c7915945d4a0b1c20a206999)

20 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.
(This used to be commit 1f56d4cd04840b350b098e698d369cd6b047cfe4)

20 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.
(This used to be commit 92bcad02587c3c1b31b523ee9fa46658a6cef9ff)

20 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.
(This used to be commit 64b2c67e479ddc754d18f752d347ba22a6d77682)

20 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
(This used to be commit 48276c768bc58aa531771e0172a7480ec94d3254)

20 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"
(This used to be commit f6bb118799887e8e29399343e377ba8e9f059f20)

20 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
(This used to be commit 1c980e6c4e89b24aa8fedf0b6684cd73f34b6c25)

20 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
(This used to be commit 9ea02c51d449095b7f17edb3fb82d3722cdd9c20)

20 years agofixed loadparm handling properly
Andrew Tridgell [Sun, 23 Nov 2003 02:11:55 +0000 (02:11 +0000)]
fixed loadparm handling properly
(This used to be commit 945ada7e7ec0f4b4df559bc171b9b18d30eff834)

20 years agonicer base type handling
Andrew Tridgell [Sun, 23 Nov 2003 02:00:40 +0000 (02:00 +0000)]
nicer base type handling
(This used to be commit e58384eb53b654768d2eb53c222529849674753c)

20 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.
(This used to be commit 04eb12b56c653f98801ab29411f47564ab32fa58)

20 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
(This used to be commit db6d7daaef4d51e3c463fe76eefa2b22ff71a546)

20 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
(This used to be commit f11f757c871dcb66813e44a3144df0f927108d8e)

20 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
(This used to be commit 9386326868f43dab95b5508ce0ca5a9c1160a2eb)

20 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.
(This used to be commit 60be15d306e7b65efdd27df02250c0264996ccf3)

20 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.
(This used to be commit 344a6e1682cc1afab24735e73d05cf15f6eb9816)

20 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
(This used to be commit c1b708708e262350d697829d444d0fb6a981a80f)

20 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!
(This used to be commit 60ced76160e4f4e2b511ebbeec31130c8ebcdd22)