1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

2601 Commits

Author SHA1 Message Date
Andrew Tridgell
c2c0443861 r3472: fixed build of reg_backend_gconf
(This used to be commit d8a4af5282a1a3002def250f4857469ffb84d183)
2007-10-10 13:05:18 -05:00
Andrew Tridgell
c9ec1bbbae r3471: split out capabilities code from lib/system.c - should fix IRIX 6.5 build
(This used to be commit 34ffcd38a5544173aca85fbcec2f7ebfd5ec1f25)
2007-10-10 13:05:18 -05:00
Andrew Tridgell
fe3c2456e2 r3470: removed some unused functions (should fix the build on IRIX 6.4)
(This used to be commit b4c727a8dd74c9603a58c019d4be8b423209e04d)
2007-10-10 13:05:18 -05:00
Andrew Tridgell
c051779a0a r3468: split out dcerpc_server.h
(This used to be commit 729e0026e4408f74f140375537d4fe48c1fc3242)
2007-10-10 13:05:17 -05:00
Stefan Metzmacher
7f161f331f r3467: fix the build
metze
(This used to be commit 324b84d4606b51b24d21db471530dca8c5e5f7ce)
2007-10-10 13:05:17 -05:00
Andrew Tridgell
aa34fcebf8 r3466: split out request.h, signing.h, and smb_server.h
(This used to be commit 7c4e6ebf05790dd6e29896dd316db0fff613aa4e)
2007-10-10 13:05:17 -05:00
Stefan Metzmacher
8867664ad2 r3465: fix SMB_SUBSYSTEM_NOPROTO()
metze
(This used to be commit e12595a750ea3f5ccc1ca8e628b707c0753394d7)
2007-10-10 13:05:17 -05:00
Andrew Tridgell
a42142439a r3464: split out registry.h, rap.h and ldap_server.h
(This used to be commit 70d2090f6bf2c7e0caf1e9c020f330de88871f8e)
2007-10-10 13:05:17 -05:00
Andrew Tridgell
3643fb1109 r3463: separated out some more headers (asn_1.h, messages.h, dlinklist.h and ioctl.h)
(This used to be commit b97e395c814762024336c1cf4d7c25be8da5813a)
2007-10-10 13:05:17 -05:00
Andrew Tridgell
a1d0b97ed4 r3462: separate out the crypto includes
(This used to be commit 3f75117db921e493bb77a5dc14b8ce91a6288f30)
2007-10-10 13:05:16 -05:00
Andrew Tridgell
2df2d1b67f r3461: another place where "open" was used as a structure element
(This used to be commit 1087ea830e7aead86d54a1836512e88554afc919)
2007-10-10 13:05:16 -05:00
Tim Potter
477ab1d2ab r3460: Add LIBNDR_GEN_OBJS and LIBNETIF_OBJS to swig objs.
(This used to be commit f4c04fcf8f185b966c4ceb455aef4e9e54a98897)
2007-10-10 13:05:16 -05:00
Tim Potter
6afe281de8 r3459: Fix cut&paste error in copyright header.
(This used to be commit 922ea35a4b6ea02e888a98aee241f1b9f6fca420)
2007-10-10 13:05:16 -05:00
Andrew Tridgell
8692564e35 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)
2007-10-10 13:05:16 -05:00
Andrew Tridgell
5011f901aa r3457: s_addr is a macro on solaris, so we can't use it in structure names. arrgh.
(This used to be commit 7842b23d01c53009259a2461600bd01159cecebf)
2007-10-10 13:05:15 -05:00
Tim Potter
2f7d7e47e3 r3456: Add appropriate #includes to fix Python extensions build.
(This used to be commit 7e94d5bd3dd7b7055e9b70496207713f94446f98)
2007-10-10 13:05:15 -05:00
Andrew Tridgell
f4ec1497a1 r3455: some more portability fixes. We nearly compile on solaris again now.
(This used to be commit 4f33247f1ca60416415a61a7afac43c9dc8a61fd)
2007-10-10 13:05:15 -05:00
Andrew Tridgell
6148deca66 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)
2007-10-10 13:05:13 -05:00
Andrew Tridgell
edbfc0f6e7 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)
2007-10-10 13:05:13 -05:00
Andrew Tridgell
452ddd94ba 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)
2007-10-10 13:05:13 -05:00
Andrew Tridgell
26c6b4c70b 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)
2007-10-10 13:05:13 -05:00
Andrew Tridgell
71107c0eb7 r3448: some systems don't have stdint.h
(This used to be commit 8afc2b3bc19c627f7b970ee6ce0480039ed5d3cb)
2007-10-10 13:05:13 -05:00
Andrew Tridgell
ead3508ac8 r3447: more include/system/XXX.h include files
(This used to be commit 264ce9181089922547e8f6f67116f2d7277a5105)
2007-10-10 13:05:12 -05:00
Andrew Tridgell
28785364ba r3446: created include/system/iconv.h and include/system/shmem.h
(This used to be commit 70055fb1f499cd40e996e56c7ba9ef8d2267b421)
2007-10-10 13:05:12 -05:00
Andrew Tridgell
f20f1f994a 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)
2007-10-10 13:05:12 -05:00
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 5f47bf1187fbd07fd8eb88da2a1fea2b0e9addf8)
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 2e25c71853f8996f73755277e448e7d670810349)
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 8e25117103b0339441bc6328176ed34034005528)
2007-10-10 13:05:11 -05:00
Andrew Tridgell
652b8b34f8 r3441: some include file cleanups and general housekeeping
(This used to be commit 73ea8ee6c268371d05cf74160f2ad451dd2ae699)
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 05dd840b6ffba0d38d98e2e80d856e2f2b5d877c)
2007-10-10 13:05:11 -05:00
Jelmer Vernooij
b206afaf00 r3435: Remove accidentally committed line...
(This used to be commit 93377e6090b42552eb1f804ccef995bbd0c8c531)
2007-10-10 13:05:10 -05:00
Volker Lendecke
722eec5fc0 r3434: Fix memleak
(This used to be commit 0a12cc4cadf7c1e97282a0d8ab2f486536987a77)
2007-10-10 13:05:10 -05:00
Jelmer Vernooij
83899037dc r3433: Use .mk file for librpc/
(This used to be commit c1f345eefdce3f6fc9e3a526543b2b9a6441e566)
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 0873bf2cbe3589988e518cf68ad4d14343b9240b)
2007-10-10 13:05:10 -05:00
Jelmer Vernooij
a78c26beaa r3431: Allow optional semicolon after interface definitions
(This used to be commit edbd789abb505accd3e72863d13acd2603d991f6)
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 fe381c3ebc64a7d067832c7d2aebeb35b1f3923b)
2007-10-10 13:05:10 -05:00
Tim Potter
2a271ec5db r3429: Fix IDL for EnumPrinterDataEx()
(This used to be commit da7ec2ae68112697e95b502f9ae093a4f504abe9)
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 b8f5fa8ac8e8725f3d321004f0aedf4246fc6b49)
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 8d71ed9271a6ee43b9a3c28724b95714b5d2e56d)
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 dd0618d5950ca052b57715cb8451af23e4622049)
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 3f902f8d851d32fa81d89ed61bfda6edaea00984)
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 e694aeefe7c725d417abdd3c48d16ff1d932c223)
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 009488dfe55f5219b24c30222b1a8bf411a7e939)
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 e6b69183de785641144f9abb1853cab73c70073e)
2007-10-10 13:05:08 -05:00
Andrew Tridgell
48ce437be2 r3421: got rid of some unused code
(This used to be commit 0333f417a86a54a328ca9bd908076f9fe8405dc7)
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 386ac565c452ede1d74e06acb401ca9db99d3ff3)
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 6a6f2aea1082fa42d33fd58c92f03c790cdfed9e)
2007-10-10 13:05:07 -05:00
Jelmer Vernooij
92d2f7a12d r3416: Typos
(This used to be commit 52d924501a08c2e37eabfd779dec406d38e7eaaf)
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 5d83de4c64fbbd6775ba6d42c430ef2cba11be4f)
2007-10-10 13:05:07 -05:00
Jelmer Vernooij
12649343f9 r3414: RemoteActivation torture test
(This used to be commit bcb89806fe45db50988f241db51989d90aa2289c)
2007-10-10 13:05:07 -05:00