samba.git
16 years agor3511: teh PAC used 8byte alignment
Stefan Metzmacher [Wed, 3 Nov 2004 14:54:05 +0000 (14:54 +0000)]
r3511: teh PAC used 8byte alignment

metze
(This used to be commit 08b26ed7ec41f0575da79858ccd0bf0f9a27b2b2)

16 years agor3510: fix build on SuSE 9.1
Stefan Metzmacher [Wed, 3 Nov 2004 14:51:49 +0000 (14:51 +0000)]
r3510: fix build on SuSE 9.1

metze
(This used to be commit 9cc1ab4eb2d5dd42ca8261c4781dd0168954c069)

16 years agor3509: - comment out a unused var
Stefan Metzmacher [Wed, 3 Nov 2004 13:33:30 +0000 (13:33 +0000)]
r3509: - comment out a unused var

- fix a scalar vs pointer bug

metze
(This used to be commit 8e3f87b9e045d85888e6c34ea60fe16aa67f8686)

16 years agor3508: fix the build
Stefan Metzmacher [Wed, 3 Nov 2004 13:26:58 +0000 (13:26 +0000)]
r3508: fix the build

(tridge: please don't forget this file next time :-)

metze
(This used to be commit 5fec93013ea1ab237ee70feb9923d0913bf951c5)

16 years agor3507: - added deferred replies on sharing violation in pvfs open. The
Andrew Tridgell [Wed, 3 Nov 2004 10:09:48 +0000 (10:09 +0000)]
r3507: - added deferred replies on sharing violation in pvfs open. The
  deferred reply is short-circuited immediately when the file is
  closed by another user, allowing it to be opened by the waiting user.

- added a sane set of timeval manipulation routines

- converted all the events code and code that uses it to use struct
  timeval instead of time_t, which allows for microsecond resolution
  instead of 1 second resolution. This was needed for doing the pvfs
  deferred open code, and is why the patch is so big.
(This used to be commit 0d51511d408d91eb5f68a35e980e0875299b1831)

16 years agor3506: Test EnumPorts function.
Tim Potter [Wed, 3 Nov 2004 06:29:22 +0000 (06:29 +0000)]
r3506: Test EnumPorts function.
(This used to be commit 354068aae16b7e0c13416cfcdf9bdef5138dccc0)

16 years agor3505: #include dynconfig.h
Tim Potter [Wed, 3 Nov 2004 06:12:42 +0000 (06:12 +0000)]
r3505: #include dynconfig.h
(This used to be commit 336eba61e99cd96fe4abc8476b998d079fbb5770)

16 years agor3501: More work towards MGMT support in gepdump
Jelmer Vernooij [Wed, 3 Nov 2004 01:55:21 +0000 (01:55 +0000)]
r3501: More work towards MGMT support in gepdump
(This used to be commit adeb0cd26757078ffe0a4838417169a6e4a67f6f)

16 years agor3500: cleaned up the AS_USER/AS_GUEST stuff in the core smb packet processing
Andrew Tridgell [Wed, 3 Nov 2004 01:50:49 +0000 (01:50 +0000)]
r3500: cleaned up the AS_USER/AS_GUEST stuff in the core smb packet processing
(This used to be commit 8fa456afc9be113f292a1952119b533e4dc04fc1)

16 years agor3499: setting an out param for a non-pointer doesn't do anything (and
Andrew Tridgell [Wed, 3 Nov 2004 01:50:10 +0000 (01:50 +0000)]
r3499: setting an out param for a non-pointer doesn't do anything (and
generated a warning as it was being set to a ptr)
(This used to be commit ba81a48c9d837249765639f237f57f4cd2a32f70)

16 years agor3497: removed some include cruft, and split out librpc/gen_ndr/tables.h
Andrew Tridgell [Wed, 3 Nov 2004 00:38:05 +0000 (00:38 +0000)]
r3497: removed some include cruft, and split out librpc/gen_ndr/tables.h
(This used to be commit 7dd3a5a6dadb0edc4fad56deba84f24b1e6dd2bc)

16 years agor3494: got rid of include/rewrite.h, and split out the dynconfig.h header
Andrew Tridgell [Wed, 3 Nov 2004 00:17:12 +0000 (00:17 +0000)]
r3494: got rid of include/rewrite.h, and split out the dynconfig.h header
(This used to be commit 558de54ec6432a4ae90aa14a585f32c6cd03ced2)

16 years agor3493: fixed a bug in readx reply where the client specifies an invalid high
Andrew Tridgell [Tue, 2 Nov 2004 22:01:11 +0000 (22:01 +0000)]
r3493: fixed a bug in readx reply where the client specifies an invalid high
part of the maxcnt. This caused an allocation failure and server exit.

Note: we need to go back over all the places in the core smb_server
that can cause allocation failures based on user input and fix them to
instead produce a SMB error.

Thanks to Susan for finding this bug.
(This used to be commit 4aed1b7921a3bfef460f8602467ac0dca9561032)

16 years agor3490: All tests work against NT4 now
Jelmer Vernooij [Tue, 2 Nov 2004 19:52:51 +0000 (19:52 +0000)]
r3490: All tests work against NT4 now
(This used to be commit 640e3a8ce865a72b171bdf15c8cf5afc2987a5d3)

16 years agor3489: Add a couple more DCOM tests (Both OxidResolver and RemoteActivation are
Jelmer Vernooij [Tue, 2 Nov 2004 17:38:11 +0000 (17:38 +0000)]
r3489: Add a couple more DCOM tests (Both OxidResolver and RemoteActivation are
completely covered now)
(This used to be commit 06048d0dac60ae04a677786c0bd3df4f516d8034)

16 years agor3488: Start using RemoteActivation
Jelmer Vernooij [Tue, 2 Nov 2004 17:09:06 +0000 (17:09 +0000)]
r3488: Start using RemoteActivation
(This used to be commit b4e81ffc648d30c4c501b168d5e2e562941648ac)

16 years agor3487: RemoteActivation works! The only odd bit is that I get either a
Jelmer Vernooij [Tue, 2 Nov 2004 15:32:58 +0000 (15:32 +0000)]
r3487: RemoteActivation works! The only odd bit is that I get either a
NT_STATUS_BUFFER_TOO_SMALL or a NT_STATUS_NET_WRITE_FAULT if I try other user accounts. Must've got something to do with the auth padding...
(This used to be commit f6f3d312bf43354564a9b0816edc3a13b520192d)

16 years agor3486: Add RemoteActivation server
Jelmer Vernooij [Tue, 2 Nov 2004 14:52:45 +0000 (14:52 +0000)]
r3486: Add RemoteActivation server
(This used to be commit 0987a5fdd6425a85823f57fe5b596bb6c404bce8)

16 years agor3484: - add support for conformant string arrays at the end of a struct
Stefan Metzmacher [Tue, 2 Nov 2004 13:46:39 +0000 (13:46 +0000)]
r3484: - add support for conformant string arrays at the end of a struct

- add support for strings where the length excludes the NULLTERM

metze
(This used to be commit 8251d8b3e5af351972aa41aed63f7a7d2640910e)

16 years agor3483: IRIX 6.4 now builds
Andrew Tridgell [Tue, 2 Nov 2004 12:55:38 +0000 (12:55 +0000)]
r3483: IRIX 6.4 now builds
(This used to be commit 5d1a687ce42b2ca829dc1d82d3465e79ef0ef37c)

16 years agor3482: fixed a warning and an error from the IRIX 6.4 build
Andrew Tridgell [Tue, 2 Nov 2004 12:43:25 +0000 (12:43 +0000)]
r3482: fixed a warning and an error from the IRIX 6.4 build
(This used to be commit 8ec3cf8b2ba149b7d6a15689e9b77685c6da3179)

16 years agor3481: split out client.h and events.h
Andrew Tridgell [Tue, 2 Nov 2004 12:15:17 +0000 (12:15 +0000)]
r3481: split out client.h and events.h
(This used to be commit c6f486574470a311e0d336c026103f131451e21e)

16 years agor3480: moved some signal defines into include/system
Andrew Tridgell [Tue, 2 Nov 2004 11:53:44 +0000 (11:53 +0000)]
r3480: moved some signal defines into include/system
(This used to be commit a954e707ef5b23af84ef8f622336e36379c4a373)

16 years agor3478: split out some more pieces of includes.h
Andrew Tridgell [Tue, 2 Nov 2004 11:42:35 +0000 (11:42 +0000)]
r3478: split out some more pieces of includes.h
(This used to be commit 8e9212ecfc61c509f686363d8ec412ce54bc1c8d)

16 years agor3477: add '--with-disable-ext-lib=LIB' option to be able to disable
Stefan Metzmacher [Tue, 2 Nov 2004 11:31:58 +0000 (11:31 +0000)]
r3477: add '--with-disable-ext-lib=LIB' option to be able to disable
the usage of external libraries.

(works currently only with the pkg-config detected libs)

metze
(This used to be commit 2640f2f57a4d56e07d946d7bb48d2a0ea110d06e)

16 years agor3476: fixed some const warnings
Andrew Tridgell [Tue, 2 Nov 2004 11:17:06 +0000 (11:17 +0000)]
r3476: fixed some const warnings
(This used to be commit 7dc58dc01e19b342df76dcc14ee28ff37a8f9ace)

16 years agor3475: don't pass a ptr to an enum as a ptr to an int (bug found by tcc)
Andrew Tridgell [Tue, 2 Nov 2004 11:16:34 +0000 (11:16 +0000)]
r3475: don't pass a ptr to an enum as a ptr to an int (bug found by tcc)
(This used to be commit a7e5bde6befa8da8fc7447b295d9177126f74964)

16 years agor3474: Add conversion functions for the time_t type.
Tim Potter [Tue, 2 Nov 2004 11:06:00 +0000 (11:06 +0000)]
r3474: Add conversion functions for the time_t type.
(This used to be commit caa563faaa264c41afdb60d64dc9566fcd31518e)

16 years agor3473: Add LIBCRYPTO_OBJS to python extensions.
Tim Potter [Tue, 2 Nov 2004 11:05:25 +0000 (11:05 +0000)]
r3473: Add LIBCRYPTO_OBJS to python extensions.
(This used to be commit f9038ee62f623ea07ca4c320b979e876464dcc96)

16 years agor3472: fixed build of reg_backend_gconf
Andrew Tridgell [Tue, 2 Nov 2004 10:13:26 +0000 (10:13 +0000)]
r3472: fixed build of reg_backend_gconf
(This used to be commit d8a4af5282a1a3002def250f4857469ffb84d183)

16 years agor3471: split out capabilities code from lib/system.c - should fix IRIX 6.5 build
Andrew Tridgell [Tue, 2 Nov 2004 09:59:19 +0000 (09:59 +0000)]
r3471: split out capabilities code from lib/system.c - should fix IRIX 6.5 build
(This used to be commit 34ffcd38a5544173aca85fbcec2f7ebfd5ec1f25)

16 years agor3470: removed some unused functions (should fix the build on IRIX 6.4)
Andrew Tridgell [Tue, 2 Nov 2004 09:55:57 +0000 (09:55 +0000)]
r3470: removed some unused functions (should fix the build on IRIX 6.4)
(This used to be commit b4c727a8dd74c9603a58c019d4be8b423209e04d)

16 years agor3468: split out dcerpc_server.h
Andrew Tridgell [Tue, 2 Nov 2004 07:42:47 +0000 (07:42 +0000)]
r3468: split out dcerpc_server.h
(This used to be commit 729e0026e4408f74f140375537d4fe48c1fc3242)

16 years agor3467: fix the build
Stefan Metzmacher [Tue, 2 Nov 2004 07:29:10 +0000 (07:29 +0000)]
r3467: fix the build

metze
(This used to be commit 324b84d4606b51b24d21db471530dca8c5e5f7ce)

16 years agor3466: split out request.h, signing.h, and smb_server.h
Andrew Tridgell [Tue, 2 Nov 2004 07:18:24 +0000 (07:18 +0000)]
r3466: split out request.h, signing.h, and smb_server.h
(This used to be commit 7c4e6ebf05790dd6e29896dd316db0fff613aa4e)

16 years agor3465: fix SMB_SUBSYSTEM_NOPROTO()
Stefan Metzmacher [Tue, 2 Nov 2004 07:15:37 +0000 (07:15 +0000)]
r3465: fix SMB_SUBSYSTEM_NOPROTO()

metze
(This used to be commit e12595a750ea3f5ccc1ca8e628b707c0753394d7)

16 years agor3464: split out registry.h, rap.h and ldap_server.h
Andrew Tridgell [Tue, 2 Nov 2004 06:52:59 +0000 (06:52 +0000)]
r3464: split out registry.h, rap.h and ldap_server.h
(This used to be commit 70d2090f6bf2c7e0caf1e9c020f330de88871f8e)

16 years agor3463: separated out some more headers (asn_1.h, messages.h, dlinklist.h and ioctl.h)
Andrew Tridgell [Tue, 2 Nov 2004 06:42:15 +0000 (06:42 +0000)]
r3463: separated out some more headers (asn_1.h, messages.h, dlinklist.h and ioctl.h)
(This used to be commit b97e395c814762024336c1cf4d7c25be8da5813a)

16 years agor3462: separate out the crypto includes
Andrew Tridgell [Tue, 2 Nov 2004 06:14:15 +0000 (06:14 +0000)]
r3462: separate out the crypto includes
(This used to be commit 3f75117db921e493bb77a5dc14b8ce91a6288f30)

16 years agor3461: another place where "open" was used as a structure element
Andrew Tridgell [Tue, 2 Nov 2004 04:51:57 +0000 (04:51 +0000)]
r3461: another place where "open" was used as a structure element
(This used to be commit 1087ea830e7aead86d54a1836512e88554afc919)

16 years agor3460: Add LIBNDR_GEN_OBJS and LIBNETIF_OBJS to swig objs.
Tim Potter [Tue, 2 Nov 2004 04:26:48 +0000 (04:26 +0000)]
r3460: Add LIBNDR_GEN_OBJS and LIBNETIF_OBJS to swig objs.
(This used to be commit f4c04fcf8f185b966c4ceb455aef4e9e54a98897)

16 years agor3459: Fix cut&paste error in copyright header.
Tim Potter [Tue, 2 Nov 2004 04:22:57 +0000 (04:22 +0000)]
r3459: Fix cut&paste error in copyright header.
(This used to be commit 922ea35a4b6ea02e888a98aee241f1b9f6fca420)

16 years agor3458: more solaris portability fixes, the main one being that we can't use a
Andrew Tridgell [Tue, 2 Nov 2004 04:17:30 +0000 (04:17 +0000)]
r3458: more solaris portability fixes, the main one being that we can't use a
structure element called "open" as its a macro on solaris.
(This used to be commit 4e92e15c4e396b1d8cd211192888fea68c2cf0f9)

16 years agor3457: s_addr is a macro on solaris, so we can't use it in structure names. arrgh.
Andrew Tridgell [Tue, 2 Nov 2004 03:58:27 +0000 (03:58 +0000)]
r3457: s_addr is a macro on solaris, so we can't use it in structure names. arrgh.
(This used to be commit 7842b23d01c53009259a2461600bd01159cecebf)

16 years agor3456: Add appropriate #includes to fix Python extensions build.
Tim Potter [Tue, 2 Nov 2004 03:47:24 +0000 (03:47 +0000)]
r3456: Add appropriate #includes to fix Python extensions build.
(This used to be commit 7e94d5bd3dd7b7055e9b70496207713f94446f98)

16 years agor3455: some more portability fixes. We nearly compile on solaris again now.
Andrew Tridgell [Tue, 2 Nov 2004 03:44:52 +0000 (03:44 +0000)]
r3455: some more portability fixes. We nearly compile on solaris again now.
(This used to be commit 4f33247f1ca60416415a61a7afac43c9dc8a61fd)

16 years agor3454: moved a few more things out if includes.h into the include/system/ include...
Andrew Tridgell [Tue, 2 Nov 2004 03:13:06 +0000 (03:13 +0000)]
r3454: moved a few more things out if includes.h into the include/system/ include files.

this brings us down to about 11k lines of headers included with
includes.h, while still retaining the speed of building with pch
(This used to be commit 10188869ef072309ca580b8b933e172571fcdda7)

16 years agor3453: - split out the auth and popt includes
Andrew Tridgell [Tue, 2 Nov 2004 02:57:18 +0000 (02:57 +0000)]
r3453: - split out the auth and popt includes

- tidied up some of the system includes

- moved a few more structures back from misc.idl to netlogon.idl and samr.idl now that pidl
  knows about inter-IDL dependencies
(This used to be commit 7b7477ac42d96faac1b0ff361525d2c63cedfc64)

16 years agor3450: portability fixes
Andrew Tridgell [Tue, 2 Nov 2004 02:01:04 +0000 (02:01 +0000)]
r3450: portability fixes

 - fix rep_inet_ntoa() for IRIX
 - lib/signal.c needs system/wait.h
 - some systems define a macro "accept", which breaks the lib/socket/ structures.
   use fn_ as a prefix for the structure elements to avoid the problem
(This used to be commit ced1a0fcdc8d8e47755ce4391c19f8b12862eb60)

16 years agor3449: more include file reduction
Andrew Tridgell [Tue, 2 Nov 2004 01:42:45 +0000 (01:42 +0000)]
r3449: more include file reduction

the ldb part isn't ideal, I will have to think of a better solution
(This used to be commit 6b1f86aea8427a8e957b1aeb0ec2f507297f07cb)

16 years agor3448: some systems don't have stdint.h
Andrew Tridgell [Tue, 2 Nov 2004 00:30:45 +0000 (00:30 +0000)]
r3448: some systems don't have stdint.h
(This used to be commit 8afc2b3bc19c627f7b970ee6ce0480039ed5d3cb)

16 years agor3447: more include/system/XXX.h include files
Andrew Tridgell [Tue, 2 Nov 2004 00:24:21 +0000 (00:24 +0000)]
r3447: more include/system/XXX.h include files
(This used to be commit 264ce9181089922547e8f6f67116f2d7277a5105)

16 years agor3446: created include/system/iconv.h and include/system/shmem.h
Andrew Tridgell [Mon, 1 Nov 2004 23:45:40 +0000 (23:45 +0000)]
r3446: created include/system/iconv.h and include/system/shmem.h
(This used to be commit 70055fb1f499cd40e996e56c7ba9ef8d2267b421)

16 years agor3445: made the gtk tooks use minimal includes. This approximately halves the
Andrew Tridgell [Mon, 1 Nov 2004 23:37:12 +0000 (23:37 +0000)]
r3445: made the gtk tooks use minimal includes. This approximately halves the
total include lines in compiling C files in Samba (the .gch file is
now 5M instead of 12M)

This also gets rid of the silly gtk compile warning for non-gtk code
(This used to be commit 8ebd20cf551c8c1fad98ec723d91873fa202b85a)

16 years agor3444: Don't use random data as endpoint if no default endpoint is known and no
Jelmer Vernooij [Mon, 1 Nov 2004 23:35:15 +0000 (23:35 +0000)]
r3444: Don't use random data as endpoint if no default endpoint is known and no
endpoint was specified for ncacn_np.
(This used to be commit 5f47bf1187fbd07fd8eb88da2a1fea2b0e9addf8)

16 years agor3443: the next stage in the include files re-organisation.
Andrew Tridgell [Mon, 1 Nov 2004 22:48:25 +0000 (22:48 +0000)]
r3443: the next stage in the include files re-organisation.

I have created the include/system/ directory, which will contain the
wrappers for the system includes for logical subsystems. So far I have
created include/system/kerberos.h and include/system/network.h, which
contain all the system includes for kerberos code and networking code.
These are the included in subsystems that need kerberos or networking
respectively.

Note that this method avoids the mess of #ifdef HAVE_XXX_H in every C
file, instead each C module includes the include/system/XXX.h file for
the logical system support it needs, and the details are kept isolated
in include/system/

This patch also creates a "struct ipv4_addr" which replaces "struct
in_addr" in our code. That avoids every C file needing to import all
the system networking headers.
(This used to be commit 2e25c71853f8996f73755277e448e7d670810349)

16 years agor3442: Add support for the "call_as" and "local" attributes.
Jelmer Vernooij [Mon, 1 Nov 2004 21:10:46 +0000 (21:10 +0000)]
r3442: Add support for the "call_as" and "local" attributes.
(This used to be commit 8e25117103b0339441bc6328176ed34034005528)

16 years agor3441: some include file cleanups and general housekeeping
Andrew Tridgell [Mon, 1 Nov 2004 20:21:54 +0000 (20:21 +0000)]
r3441: some include file cleanups and general housekeeping
(This used to be commit 73ea8ee6c268371d05cf74160f2ad451dd2ae699)

16 years agor3440: Add support for "coclass" to the pidl parser - the idl keyword that
Jelmer Vernooij [Mon, 1 Nov 2004 20:00:02 +0000 (20:00 +0000)]
r3440: Add support for "coclass" to the pidl parser - the idl keyword that
describes a COM class.  A coclass is the implementation of one or more
interfaces. It has a UUID referred to as it's CLSID (Class ID).

Also adding an example coclass called "CoffeeMachine". You can give
it a string (or a cup, whatever you like ;-) and it will fill it with
"COFFEE" (kind of the like the echo pipe is for regular RPC). CoffeeMachine's
Windows implementation already works, a torture test for Samba will follow
soon.
(This used to be commit 05dd840b6ffba0d38d98e2e80d856e2f2b5d877c)

16 years agor3435: Remove accidentally committed line...
Jelmer Vernooij [Mon, 1 Nov 2004 15:08:09 +0000 (15:08 +0000)]
r3435: Remove accidentally committed line...
(This used to be commit 93377e6090b42552eb1f804ccef995bbd0c8c531)

16 years agor3434: Fix memleak
Volker Lendecke [Mon, 1 Nov 2004 13:12:09 +0000 (13:12 +0000)]
r3434: Fix memleak
(This used to be commit 0a12cc4cadf7c1e97282a0d8ab2f486536987a77)

16 years agor3433: Use .mk file for librpc/
Jelmer Vernooij [Mon, 1 Nov 2004 12:57:51 +0000 (12:57 +0000)]
r3433: Use .mk file for librpc/
(This used to be commit c1f345eefdce3f6fc9e3a526543b2b9a6441e566)

16 years agor3432: Support WERROR's in arguments (not just as return type). Some of
Jelmer Vernooij [Mon, 1 Nov 2004 12:40:43 +0000 (12:40 +0000)]
r3432: Support WERROR's in arguments (not just as return type). Some of
the DCOM calls are wrappers around several local calls, so you get things like:

WERROR foobar ( [in] int num_ifaces,
   [in,size_is(num_ifaces)] IID *ifaces,
   [out,size_is(num_ifaces)] WERROR *results);
(This used to be commit 0873bf2cbe3589988e518cf68ad4d14343b9240b)

16 years agor3431: Allow optional semicolon after interface definitions
Jelmer Vernooij [Mon, 1 Nov 2004 12:26:59 +0000 (12:26 +0000)]
r3431: Allow optional semicolon after interface definitions
(This used to be commit edbd789abb505accd3e72863d13acd2603d991f6)

16 years agor3430: Add tests for EnumPrinterDataEx, SetPrinterDataEx (doesn't work),
Tim Potter [Mon, 1 Nov 2004 11:51:35 +0000 (11:51 +0000)]
r3430: Add tests for EnumPrinterDataEx, SetPrinterDataEx (doesn't work),
EnumPrinterDrivers.
(This used to be commit fe381c3ebc64a7d067832c7d2aebeb35b1f3923b)

16 years agor3429: Fix IDL for EnumPrinterDataEx()
Tim Potter [Mon, 1 Nov 2004 11:34:54 +0000 (11:34 +0000)]
r3429: Fix IDL for EnumPrinterDataEx()
(This used to be commit da7ec2ae68112697e95b502f9ae093a4f504abe9)

16 years agor3428: switched to using minimal includes for the auto-generated RPC code.
Andrew Tridgell [Mon, 1 Nov 2004 10:30:34 +0000 (10:30 +0000)]
r3428: switched to using minimal includes for the auto-generated RPC code.

The thing that finally convinced me that minimal includes was worth
pursuing for rpc was a compiler (tcc) that failed to build Samba due
to reaching internal limits of the size of include files. Also the
fact that includes.h.gch was 16MB, which really seems excessive. This
patch brings it back to 12M, which is still too large, but
better. Note that this patch speeds up compile times for both the pch
and non-pch case.

This change also includes the addition iof a "depends()" option in our
IDL files, allowing you to specify that one IDL file depends on
another. This capability was needed for the auto-includes generation.
(This used to be commit b8f5fa8ac8e8725f3d321004f0aedf4246fc6b49)

16 years agor3427: split the openx logic out from the other open mapping code
Andrew Tridgell [Mon, 1 Nov 2004 10:02:24 +0000 (10:02 +0000)]
r3427: split the openx logic out from the other open mapping code
(This used to be commit 8d71ed9271a6ee43b9a3c28724b95714b5d2e56d)

16 years agor3426: removed 2 unused files, and some unused variables
Andrew Tridgell [Mon, 1 Nov 2004 05:56:26 +0000 (05:56 +0000)]
r3426: removed 2 unused files, and some unused variables
(This used to be commit dd0618d5950ca052b57715cb8451af23e4622049)

16 years agor3425: got rid of a bunch of cruft from rewrite.h
Andrew Tridgell [Mon, 1 Nov 2004 05:46:52 +0000 (05:46 +0000)]
r3425: got rid of a bunch of cruft from rewrite.h
(This used to be commit 3f902f8d851d32fa81d89ed61bfda6edaea00984)

16 years agor3424: don't run mkproto.pl on pidl generated code, instead rely on pidl generating the
Andrew Tridgell [Mon, 1 Nov 2004 05:26:28 +0000 (05:26 +0000)]
r3424: don't run mkproto.pl on pidl generated code, instead rely on pidl generating the
prototypes itself
(This used to be commit e694aeefe7c725d417abdd3c48d16ff1d932c223)

16 years agor3423: auto-generate prototypes for all external functions in pidl
Andrew Tridgell [Mon, 1 Nov 2004 05:25:05 +0000 (05:25 +0000)]
r3423: auto-generate prototypes for all external functions in pidl
(This used to be commit 009488dfe55f5219b24c30222b1a8bf411a7e939)

16 years agor3422: allow for subsystems that don't get included in the list of auto-prototype...
Andrew Tridgell [Mon, 1 Nov 2004 05:23:54 +0000 (05:23 +0000)]
r3422: allow for subsystems that don't get included in the list of auto-prototype objects, using
SMB_SUBSYSTEM_NOPROTO()
(This used to be commit e6b69183de785641144f9abb1853cab73c70073e)

16 years agor3421: got rid of some unused code
Andrew Tridgell [Mon, 1 Nov 2004 05:22:44 +0000 (05:22 +0000)]
r3421: got rid of some unused code
(This used to be commit 0333f417a86a54a328ca9bd908076f9fe8405dc7)

16 years agor3419: moved the libcli/raw structures into libcli/raw/libcliraw.h
Andrew Tridgell [Mon, 1 Nov 2004 01:03:22 +0000 (01:03 +0000)]
r3419: moved the libcli/raw structures into libcli/raw/libcliraw.h
and made them private
(This used to be commit 386ac565c452ede1d74e06acb401ca9db99d3ff3)

16 years agor3418: added BASE-NTDENY1 and BASE-NTDENY2 to the lists of tests that pvfs passes
Andrew Tridgell [Mon, 1 Nov 2004 00:40:33 +0000 (00:40 +0000)]
r3418: added BASE-NTDENY1 and BASE-NTDENY2 to the lists of tests that pvfs passes
(This used to be commit 6a6f2aea1082fa42d33fd58c92f03c790cdfed9e)

16 years agor3416: Typos
Jelmer Vernooij [Sun, 31 Oct 2004 20:57:19 +0000 (20:57 +0000)]
r3416: Typos
(This used to be commit 52d924501a08c2e37eabfd779dec406d38e7eaaf)

16 years agor3415: Add support for parsing a Request file before a Reply file so we can
Jelmer Vernooij [Sun, 31 Oct 2004 19:07:28 +0000 (19:07 +0000)]
r3415: Add support for parsing a Request file before a Reply file so we can
use ndrdump for replies that depend on variables from requests
(This used to be commit 5d83de4c64fbbd6775ba6d42c430ef2cba11be4f)

16 years agor3414: RemoteActivation torture test
Jelmer Vernooij [Sun, 31 Oct 2004 18:40:08 +0000 (18:40 +0000)]
r3414: RemoteActivation torture test
(This used to be commit bcb89806fe45db50988f241db51989d90aa2289c)

16 years agor3413: RemoteActivation updates and fixes
Jelmer Vernooij [Sun, 31 Oct 2004 18:37:59 +0000 (18:37 +0000)]
r3413: RemoteActivation updates and fixes
Add torture test for RemoteActivation
The request is now send correctly and we get back a valid response
from Windows but r->in.Interfaces is set to 0 somewhere while parsing
the response...
(This used to be commit cabec03422f0c7140b56b2d5c4ec8ca663b406fc)

16 years agor3412: Add NCACN_SPX and NCADG_IPX transports
Jelmer Vernooij [Sun, 31 Oct 2004 18:35:47 +0000 (18:35 +0000)]
r3412: Add NCACN_SPX and NCADG_IPX transports
(This used to be commit ff2f2b4273ce9a49599b385d32fbbd5e8f0d4c23)

16 years agor3411: Ignore some autogenerated files.
Tim Potter [Sun, 31 Oct 2004 11:35:31 +0000 (11:35 +0000)]
r3411: Ignore some autogenerated files.
(This used to be commit f6428f2d01a4bd8d4acadf96e33957371cdb2021)

16 years agor3410: Handle conversion of DATA_BLOBs and pointers to DATA_BLOBs from python.
Tim Potter [Sun, 31 Oct 2004 11:33:40 +0000 (11:33 +0000)]
r3410: Handle conversion of DATA_BLOBs and pointers to DATA_BLOBs from python.
(This used to be commit 12e037dbe3d497aff2415c0a22fab20a7932ab7a)

16 years agor3406: Don't throw a werror exception for WERR_NO_MORE_ITEMS and WERR_MORE_DATA.
Tim Potter [Sun, 31 Oct 2004 05:46:18 +0000 (05:46 +0000)]
r3406: Don't throw a werror exception for WERR_NO_MORE_ITEMS and WERR_MORE_DATA.
(This used to be commit deaa5159f41a8841d75801b441e7bd5cf2636870)

16 years agor3405: Test EnumPrinterData and GetPrinterData.
Tim Potter [Sun, 31 Oct 2004 05:45:52 +0000 (05:45 +0000)]
r3405: Test EnumPrinterData and GetPrinterData.
(This used to be commit a4facee8602cfb9b2599e0068dd42933ed94655e)

16 years agor3404: Rename name of DATA_BLOB in GetPrinterData()
Tim Potter [Sun, 31 Oct 2004 05:45:05 +0000 (05:45 +0000)]
r3404: Rename name of DATA_BLOB in GetPrinterData()
(This used to be commit f06ecd81dd79d8294125ab0549ccbdbbb0ddd8d5)

16 years agor3403: Add test for operations on print server handle.
Tim Potter [Sun, 31 Oct 2004 04:41:57 +0000 (04:41 +0000)]
r3403: Add test for operations on print server handle.

Add tests for EnumJobs, GetJob.

Oops - forgot to EnumPrinters at level2.
(This used to be commit 930d57964b69fda59f473914ac4633984f259c86)

16 years agor3402: Fix idl for spoolss_JobInfo1.
Tim Potter [Sun, 31 Oct 2004 04:37:35 +0000 (04:37 +0000)]
r3402: Fix idl for spoolss_JobInfo1.
(This used to be commit e5fe971dc557fa75d86c4b713ca4ceb10fd0c560)

16 years agor3401: Fix IDL for SetForm RPC.
Tim Potter [Sun, 31 Oct 2004 03:54:20 +0000 (03:54 +0000)]
r3401: Fix IDL for SetForm RPC.
(This used to be commit 206f3de297c397c8894f9855ea8571c68823e1fc)

16 years agor3400: - allow callers to control the flags2 field in raw packets
Andrew Tridgell [Sun, 31 Oct 2004 03:26:30 +0000 (03:26 +0000)]
r3400: - allow callers to control the flags2 field in raw packets

- added testing of the FLAGS2_READ_PERMIT_EXECUTE bit in the ntdeny tests
(This used to be commit adf4a682705871186f3b77ea6d417942445fc5d3)

16 years agor3397: Fix IDL for ComplexPing and SimplePing, including tests
Jelmer Vernooij [Sun, 31 Oct 2004 01:21:14 +0000 (01:21 +0000)]
r3397: Fix IDL for ComplexPing and SimplePing, including tests
(This used to be commit cf976a6feb980b1e5116d24371fa6109092c9314)

16 years agor3396: Rename form_name -> formname. This time, check smbtorture builds before
Tim Potter [Sat, 30 Oct 2004 23:35:34 +0000 (23:35 +0000)]
r3396: Rename form_name -> formname.  This time, check smbtorture builds before
committing.  (-:
(This used to be commit c776232d0130638a85cc8ce75e4bbef75952e856)

16 years agor3395: added support for "string32" type, to fix the fixed width string
Andrew Tridgell [Sat, 30 Oct 2004 23:19:09 +0000 (23:19 +0000)]
r3395: added support for "string32" type, to fix the fixed width string
problem that tim found.
(This used to be commit 2cf35cb4d2513a7be46065e12c6fd1e2b90f4b8a)

16 years agor3394: Give the user a clue why we are blasting them with the usage brick.
Andrew Bartlett [Sat, 30 Oct 2004 22:10:14 +0000 (22:10 +0000)]
r3394: Give the user a clue why we are blasting them with the usage brick.

Andrew Bartlett
(This used to be commit d967569c569a1f8f41efface7c62d233401451f3)

16 years agor3393: added test_rpc.sh. The idea is that this script will test all the
Andrew Tridgell [Sat, 30 Oct 2004 11:53:36 +0000 (11:53 +0000)]
r3393: added test_rpc.sh. The idea is that this script will test all the
RPC-* tests that are expected to pass against Samba4. Currently only
RPC-SCHANNEL and RPC-ECHO are in that list, but as we get more working
this test will allow us to ensure that they stay working.
(This used to be commit d49dfd406ffe57139d8a4679b806c875e7f194ec)

16 years agor3392: fixed schannel over ncalrpc
Andrew Tridgell [Sat, 30 Oct 2004 11:48:08 +0000 (11:48 +0000)]
r3392: fixed schannel over ncalrpc
(This used to be commit 0b93be9f5f89ef17f94e8e98c3a405495e04e235)

16 years agor3391: fixed some memory leaks in the schannel code
Andrew Tridgell [Sat, 30 Oct 2004 11:37:17 +0000 (11:37 +0000)]
r3391: fixed some memory leaks in the schannel code
(This used to be commit eb3366d3667ddddf7ab5eae5d1fbc5de86c41072)

16 years agor3390: fixed schannel server side support. RPC-SCHANNEL now works against Samba4.
Andrew Tridgell [Sat, 30 Oct 2004 11:07:28 +0000 (11:07 +0000)]
r3390: fixed schannel server side support. RPC-SCHANNEL now works against Samba4.
(This used to be commit 01f5c1c72d9fc8f21029adc586154b0c54f76c9e)

16 years agor3389: fixed schannel client side code. RPC-SCHANNEL now works against w2k3
Andrew Tridgell [Sat, 30 Oct 2004 10:51:18 +0000 (10:51 +0000)]
r3389: fixed schannel client side code. RPC-SCHANNEL now works against w2k3
again. The problem was that the sig_size method didn't get added in
the gensec conversion.
(This used to be commit a49b61173dbadbf4efb0fbcfaba67da393913639)

16 years agor3388: when doing schannel use a anonymous session setup (as the machine acct
Andrew Tridgell [Sat, 30 Oct 2004 09:23:39 +0000 (09:23 +0000)]
r3388: when doing schannel use a anonymous session setup (as the machine acct
isn't allowed to login on a share)
(This used to be commit 8c0be60d8d59863f0bcdd17012dce923c139ce09)