1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

2573 Commits

Author SHA1 Message Date
Andrew Tridgell
73ea8ee6c2 r3441: some include file cleanups and general housekeeping 2007-10-10 13:05:11 -05:00
Jelmer Vernooij
05dd840b6f 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.
2007-10-10 13:05:11 -05:00
Jelmer Vernooij
93377e6090 r3435: Remove accidentally committed line... 2007-10-10 13:05:10 -05:00
Volker Lendecke
0a12cc4cad r3434: Fix memleak 2007-10-10 13:05:10 -05:00
Jelmer Vernooij
c1f345eefd r3433: Use .mk file for librpc/ 2007-10-10 13:05:10 -05:00
Jelmer Vernooij
0873bf2cbe 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);
2007-10-10 13:05:10 -05:00
Jelmer Vernooij
edbd789abb r3431: Allow optional semicolon after interface definitions 2007-10-10 13:05:10 -05:00
Tim Potter
fe381c3ebc r3430: Add tests for EnumPrinterDataEx, SetPrinterDataEx (doesn't work),
EnumPrinterDrivers.
2007-10-10 13:05:10 -05:00
Tim Potter
da7ec2ae68 r3429: Fix IDL for EnumPrinterDataEx() 2007-10-10 13:05:10 -05:00
Andrew Tridgell
b8f5fa8ac8 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.
2007-10-10 13:05:09 -05:00
Andrew Tridgell
8d71ed9271 r3427: split the openx logic out from the other open mapping code 2007-10-10 13:05:08 -05:00
Andrew Tridgell
dd0618d595 r3426: removed 2 unused files, and some unused variables 2007-10-10 13:05:08 -05:00
Andrew Tridgell
3f902f8d85 r3425: got rid of a bunch of cruft from rewrite.h 2007-10-10 13:05:08 -05:00
Andrew Tridgell
e694aeefe7 r3424: don't run mkproto.pl on pidl generated code, instead rely on pidl generating the
prototypes itself
2007-10-10 13:05:08 -05:00
Andrew Tridgell
009488dfe5 r3423: auto-generate prototypes for all external functions in pidl 2007-10-10 13:05:08 -05:00
Andrew Tridgell
e6b69183de r3422: allow for subsystems that don't get included in the list of auto-prototype objects, using
SMB_SUBSYSTEM_NOPROTO()
2007-10-10 13:05:08 -05:00
Andrew Tridgell
0333f417a8 r3421: got rid of some unused code 2007-10-10 13:05:08 -05:00
Andrew Tridgell
386ac565c4 r3419: moved the libcli/raw structures into libcli/raw/libcliraw.h
and made them private
2007-10-10 13:05:07 -05:00
Andrew Tridgell
6a6f2aea10 r3418: added BASE-NTDENY1 and BASE-NTDENY2 to the lists of tests that pvfs passes 2007-10-10 13:05:07 -05:00
Jelmer Vernooij
52d924501a r3416: Typos 2007-10-10 13:05:07 -05:00
Jelmer Vernooij
5d83de4c64 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
2007-10-10 13:05:07 -05:00
Jelmer Vernooij
bcb89806fe r3414: RemoteActivation torture test 2007-10-10 13:05:07 -05:00
Jelmer Vernooij
cabec03422 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...
2007-10-10 13:05:07 -05:00
Jelmer Vernooij
ff2f2b4273 r3412: Add NCACN_SPX and NCADG_IPX transports 2007-10-10 13:05:07 -05:00
Tim Potter
f6428f2d01 r3411: Ignore some autogenerated files. 2007-10-10 13:05:06 -05:00
Tim Potter
12e037dbe3 r3410: Handle conversion of DATA_BLOBs and pointers to DATA_BLOBs from python. 2007-10-10 13:05:06 -05:00
Tim Potter
deaa5159f4 r3406: Don't throw a werror exception for WERR_NO_MORE_ITEMS and WERR_MORE_DATA. 2007-10-10 13:05:06 -05:00
Tim Potter
a4facee860 r3405: Test EnumPrinterData and GetPrinterData. 2007-10-10 13:05:06 -05:00
Tim Potter
f06ecd81dd r3404: Rename name of DATA_BLOB in GetPrinterData() 2007-10-10 13:05:06 -05:00
Tim Potter
930d57964b r3403: Add test for operations on print server handle.
Add tests for EnumJobs, GetJob.

Oops - forgot to EnumPrinters at level2.
2007-10-10 13:05:06 -05:00
Tim Potter
e5fe971dc5 r3402: Fix idl for spoolss_JobInfo1. 2007-10-10 13:05:06 -05:00
Tim Potter
206f3de297 r3401: Fix IDL for SetForm RPC. 2007-10-10 13:05:06 -05:00
Andrew Tridgell
adf4a68270 r3400: - allow callers to control the flags2 field in raw packets
- added testing of the FLAGS2_READ_PERMIT_EXECUTE bit in the ntdeny tests
2007-10-10 13:05:05 -05:00
Jelmer Vernooij
cf976a6feb r3397: Fix IDL for ComplexPing and SimplePing, including tests 2007-10-10 13:05:05 -05:00
Tim Potter
c776232d01 r3396: Rename form_name -> formname. This time, check smbtorture builds before
committing.  (-:
2007-10-10 13:05:05 -05:00
Andrew Tridgell
2cf35cb4d2 r3395: added support for "string32" type, to fix the fixed width string
problem that tim found.
2007-10-10 13:05:05 -05:00
Andrew Bartlett
d967569c56 r3394: Give the user a clue why we are blasting them with the usage brick.
Andrew Bartlett
2007-10-10 13:05:05 -05:00
Andrew Tridgell
d49dfd406f 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.
2007-10-10 13:05:05 -05:00
Andrew Tridgell
0b93be9f5f r3392: fixed schannel over ncalrpc 2007-10-10 13:05:05 -05:00
Andrew Tridgell
eb3366d366 r3391: fixed some memory leaks in the schannel code 2007-10-10 13:05:04 -05:00
Andrew Tridgell
01f5c1c72d r3390: fixed schannel server side support. RPC-SCHANNEL now works against Samba4. 2007-10-10 13:05:04 -05:00
Andrew Tridgell
a49b61173d 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.
2007-10-10 13:05:04 -05:00
Andrew Tridgell
8c0be60d8d r3388: when doing schannel use a anonymous session setup (as the machine acct
isn't allowed to login on a share)
2007-10-10 13:05:04 -05:00
Andrew Tridgell
c36851d230 r3387: fixed pvfs to pass the NTDENY tests. The tricky bit was
SA_RIGHT_FILE_EXECUTE, which depends on a flags2 bit
2007-10-10 13:05:04 -05:00
Andrew Tridgell
b95493d3d1 r3386: - fixed --seed option in smbtorture
- added new tests BASE-NTDENY1 and BASE-NTDENY2. These are the
  ntcreatex equivalents of the BASE-DENY1 and BASE-DENY2
  tests. Unfortunately, with ntcreatex there are 4 million combination
  and trying each one takes 1 second, so randomised testing is the
  only choice. The BASE-DENY1 test can operate in parallel with
  hundreds of connections, speeding things up a bit (as most time is
  spent waiting 1 second for a sharing violation to come back)
2007-10-10 13:05:03 -05:00
Andrew Tridgell
91139ed8d4 r3385: when discarding a unmatched reply print the command type to help debugging 2007-10-10 13:05:03 -05:00
Andrew Tridgell
d098636d7f r3384: added SA_RIGHT_FILE_WRITE_APPEND, which is a combination of write and append 2007-10-10 13:05:03 -05:00
Andrew Tridgell
e23edf762c r3383: avoid multi-part SMBtrans and SMBtrans2 replies until our client library can handle
them properly (they are difficult to do in an async fashion).

By choosing trans.in.max_data to fix in the negotiated buffer size a
server won't send us multi-part replies.

I notice that windows seems to avoid them too :)
2007-10-10 13:05:03 -05:00
Andrew Tridgell
e63edc8171 r3380: - changed the default behaviour of server signing. We now have a default
setting of "server signing = auto", which means to offer signing
  only if we have domain logons enabled (ie. we are a DC). This is a
  better match for what windows clients want, as unfortunately windows
  clients always use signing if it is offered, and when they use signing
  they not only go slower because of the signing itself, they also
  disable large readx/writex support, so they end up sending very small
  IOs for.

- changed the default max xmit again, this time matching longhorn,
  which uses 12288. That seems to be a fairly good compromise value.
2007-10-10 13:05:03 -05:00
Andrew Tridgell
23f4ce3a7d r3375: changed the default max xmit until I fix a problem with the SMBtrans multi-part code
A higher max xmit avoids multi-part trans requests
2007-10-10 13:05:03 -05:00