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

2576 Commits

Author SHA1 Message Date
Jelmer Vernooij
75b2790da8 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 5f47bf1187)
2007-10-10 13:05:12 -05:00
Andrew Tridgell
284349482f 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 2e25c71853)
2007-10-10 13:05:11 -05:00
Jelmer Vernooij
9f14afa12c r3442: Add support for the "call_as" and "local" attributes.
(This used to be commit 8e25117103)
2007-10-10 13:05:11 -05:00
Andrew Tridgell
652b8b34f8 r3441: some include file cleanups and general housekeeping
(This used to be commit 73ea8ee6c2)
2007-10-10 13:05:11 -05:00
Jelmer Vernooij
dde0690457 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 05dd840b6f)
2007-10-10 13:05:11 -05:00
Jelmer Vernooij
b206afaf00 r3435: Remove accidentally committed line...
(This used to be commit 93377e6090)
2007-10-10 13:05:10 -05:00
Volker Lendecke
722eec5fc0 r3434: Fix memleak
(This used to be commit 0a12cc4cad)
2007-10-10 13:05:10 -05:00
Jelmer Vernooij
83899037dc r3433: Use .mk file for librpc/
(This used to be commit c1f345eefd)
2007-10-10 13:05:10 -05:00
Jelmer Vernooij
6ef03e7a84 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 0873bf2cbe)
2007-10-10 13:05:10 -05:00
Jelmer Vernooij
a78c26beaa r3431: Allow optional semicolon after interface definitions
(This used to be commit edbd789abb)
2007-10-10 13:05:10 -05:00
Tim Potter
8c1edd1674 r3430: Add tests for EnumPrinterDataEx, SetPrinterDataEx (doesn't work),
EnumPrinterDrivers.
(This used to be commit fe381c3ebc)
2007-10-10 13:05:10 -05:00
Tim Potter
2a271ec5db r3429: Fix IDL for EnumPrinterDataEx()
(This used to be commit da7ec2ae68)
2007-10-10 13:05:10 -05:00
Andrew Tridgell
90067934cd 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 b8f5fa8ac8)
2007-10-10 13:05:09 -05:00
Andrew Tridgell
668ecaa325 r3427: split the openx logic out from the other open mapping code
(This used to be commit 8d71ed9271)
2007-10-10 13:05:08 -05:00
Andrew Tridgell
c1dc067207 r3426: removed 2 unused files, and some unused variables
(This used to be commit dd0618d595)
2007-10-10 13:05:08 -05:00
Andrew Tridgell
475c958450 r3425: got rid of a bunch of cruft from rewrite.h
(This used to be commit 3f902f8d85)
2007-10-10 13:05:08 -05:00
Andrew Tridgell
37fffa54cf r3424: don't run mkproto.pl on pidl generated code, instead rely on pidl generating the
prototypes itself
(This used to be commit e694aeefe7)
2007-10-10 13:05:08 -05:00
Andrew Tridgell
2c52f52e02 r3423: auto-generate prototypes for all external functions in pidl
(This used to be commit 009488dfe5)
2007-10-10 13:05:08 -05:00
Andrew Tridgell
38ee8f04ef 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 e6b69183de)
2007-10-10 13:05:08 -05:00
Andrew Tridgell
48ce437be2 r3421: got rid of some unused code
(This used to be commit 0333f417a8)
2007-10-10 13:05:08 -05:00
Andrew Tridgell
9f1210a243 r3419: moved the libcli/raw structures into libcli/raw/libcliraw.h
and made them private
(This used to be commit 386ac565c4)
2007-10-10 13:05:07 -05:00
Andrew Tridgell
86a2844bfc r3418: added BASE-NTDENY1 and BASE-NTDENY2 to the lists of tests that pvfs passes
(This used to be commit 6a6f2aea10)
2007-10-10 13:05:07 -05:00
Jelmer Vernooij
92d2f7a12d r3416: Typos
(This used to be commit 52d924501a)
2007-10-10 13:05:07 -05:00
Jelmer Vernooij
beb3e7041a 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 5d83de4c64)
2007-10-10 13:05:07 -05:00
Jelmer Vernooij
12649343f9 r3414: RemoteActivation torture test
(This used to be commit bcb89806fe)
2007-10-10 13:05:07 -05:00
Jelmer Vernooij
ad4c40b927 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 cabec03422)
2007-10-10 13:05:07 -05:00
Jelmer Vernooij
b33f17e11b r3412: Add NCACN_SPX and NCADG_IPX transports
(This used to be commit ff2f2b4273)
2007-10-10 13:05:07 -05:00
Tim Potter
9ebf74c576 r3411: Ignore some autogenerated files.
(This used to be commit f6428f2d01)
2007-10-10 13:05:06 -05:00
Tim Potter
751b412326 r3410: Handle conversion of DATA_BLOBs and pointers to DATA_BLOBs from python.
(This used to be commit 12e037dbe3)
2007-10-10 13:05:06 -05:00
Tim Potter
12fb5bc0cb r3406: Don't throw a werror exception for WERR_NO_MORE_ITEMS and WERR_MORE_DATA.
(This used to be commit deaa5159f4)
2007-10-10 13:05:06 -05:00
Tim Potter
5d7c6d7bbd r3405: Test EnumPrinterData and GetPrinterData.
(This used to be commit a4facee860)
2007-10-10 13:05:06 -05:00
Tim Potter
3d2dd91d4d r3404: Rename name of DATA_BLOB in GetPrinterData()
(This used to be commit f06ecd81dd)
2007-10-10 13:05:06 -05:00
Tim Potter
0e082a5c9d 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 930d57964b)
2007-10-10 13:05:06 -05:00
Tim Potter
0b0673213b r3402: Fix idl for spoolss_JobInfo1.
(This used to be commit e5fe971dc5)
2007-10-10 13:05:06 -05:00
Tim Potter
75f1497c32 r3401: Fix IDL for SetForm RPC.
(This used to be commit 206f3de297)
2007-10-10 13:05:06 -05:00
Andrew Tridgell
b24fcfc1aa 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 adf4a68270)
2007-10-10 13:05:05 -05:00
Jelmer Vernooij
50c5059ab0 r3397: Fix IDL for ComplexPing and SimplePing, including tests
(This used to be commit cf976a6feb)
2007-10-10 13:05:05 -05:00
Tim Potter
89665e87b4 r3396: Rename form_name -> formname. This time, check smbtorture builds before
committing.  (-:
(This used to be commit c776232d01)
2007-10-10 13:05:05 -05:00
Andrew Tridgell
74dd7d9062 r3395: added support for "string32" type, to fix the fixed width string
problem that tim found.
(This used to be commit 2cf35cb4d2)
2007-10-10 13:05:05 -05:00
Andrew Bartlett
cf97155ab4 r3394: Give the user a clue why we are blasting them with the usage brick.
Andrew Bartlett
(This used to be commit d967569c56)
2007-10-10 13:05:05 -05:00
Andrew Tridgell
9b24cd21e2 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 d49dfd406f)
2007-10-10 13:05:05 -05:00
Andrew Tridgell
eb3b256864 r3392: fixed schannel over ncalrpc
(This used to be commit 0b93be9f5f)
2007-10-10 13:05:05 -05:00
Andrew Tridgell
173dda6bf4 r3391: fixed some memory leaks in the schannel code
(This used to be commit eb3366d366)
2007-10-10 13:05:04 -05:00
Andrew Tridgell
feff2e9cbd r3390: fixed schannel server side support. RPC-SCHANNEL now works against Samba4.
(This used to be commit 01f5c1c72d)
2007-10-10 13:05:04 -05:00
Andrew Tridgell
557bf8d3e4 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 a49b61173d)
2007-10-10 13:05:04 -05:00
Andrew Tridgell
c2cf02c116 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 8c0be60d8d)
2007-10-10 13:05:04 -05:00
Andrew Tridgell
d93636c29e r3387: fixed pvfs to pass the NTDENY tests. The tricky bit was
SA_RIGHT_FILE_EXECUTE, which depends on a flags2 bit
(This used to be commit c36851d230)
2007-10-10 13:05:04 -05:00
Andrew Tridgell
cb1cff90f1 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)
(This used to be commit b95493d3d1)
2007-10-10 13:05:03 -05:00
Andrew Tridgell
1dc8e52f91 r3385: when discarding a unmatched reply print the command type to help debugging
(This used to be commit 91139ed8d4)
2007-10-10 13:05:03 -05:00
Andrew Tridgell
65510d99e4 r3384: added SA_RIGHT_FILE_WRITE_APPEND, which is a combination of write and append
(This used to be commit d098636d7f)
2007-10-10 13:05:03 -05:00