1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-08 05:57:51 +03:00

3620 Commits

Author SHA1 Message Date
Andrew Tridgell
193d1c0b74 r5043: this broke more systems than it helped. Remove it and try to work
around broken solaris headers some other way.
(This used to be commit 1333522a6beea8d474aa36390acbd265b63413d3)
2007-10-10 13:09:17 -05:00
Andrew Tridgell
9794a64ab1 r5042: another attempt to get solaris10 building
(This used to be commit 11277ddb4ca8a2917565f4e211816cbba431b90d)
2007-10-10 13:09:16 -05:00
Stefan Metzmacher
d482fd69bb r5041: add more verbose output for the krb5 libs detection
metze
(This used to be commit 917a3b214abd2d92ba8df3e72c4e8711fe523e09)
2007-10-10 13:09:16 -05:00
Andrew Tridgell
425543c76a r5040: attempt to get solaris10 building by defining _XOPEN_SOURCE
(This used to be commit d9c1bf10608ecc3d6a4aace44fb0dce3547c5f53)
2007-10-10 13:09:16 -05:00
Andrew Tridgell
5aedcc2066 r5039: fixed eparser not to generate talloc_p()
(This used to be commit dd67a5d833d7e44ff0ec1ba9f5c55c2b1e121b9a)
2007-10-10 13:09:16 -05:00
Andrew Tridgell
db75b1c8f7 r5038: we don't need these defines any more
(This used to be commit 03697fc761d5f6a93de34c9eadc8fe2c45fa78ae)
2007-10-10 13:09:16 -05:00
Andrew Tridgell
759da3b915 r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
large commit. I thought this was worthwhile to get done for
consistency.
(This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0)
2007-10-10 13:09:15 -05:00
Andrew Tridgell
1e42cacf6a r5036: changed HYPER_T to the more standard "hyper"
(This used to be commit 1d1a9c11ee681540ef8a1029409bb24fc26f976c)
2007-10-10 13:09:15 -05:00
Andrew Tridgell
93e27bec15 r5035: fixed composite test to use --num-ops command line option
(This used to be commit f36e4cf6862c9cbcd36563007efa8dc59912d896)
2007-10-10 13:09:15 -05:00
Andrew Tridgell
3dd17f1288 r5034: - added a type mapping function in pidl, so the type names in our IDL
files don't need to match the type names in the generated headers

- with this type mapping we no longer need definitions for the
  deprecated "int32", "uint8" etc form of types. We can now force
  everyone to use the standard types int32_t, uint8_t etc.

- fixed all the code that used the deprecated types

- converted the IDL types "int64" and "uint64" to "dlong" and
  "udlong". These are the 4 byte aligned 64 bit integers that
  Microsoft internally define as two 32 bit integers in a
  structure. After discussions with Ronnie Sahlberg we decided that
  calling these "int64" was confusing, as it implied a true 8 byte
  aligned type

- fixed all the cases where we incorrectly used things like
  "NTTIME_hyper" in our C code. The generated API now uses a NTTIME for
  those. The fact that it is hyper-aligned on the wire is not relevant
  to the API, and should remain just a IDL property
(This used to be commit f86521677d7ff16bdc4815f9524e5286026f10f3)
2007-10-10 13:09:15 -05:00
Tim Potter
00169404ed r5033: Remove --with-eparserdir configure option and eparser_idl make target.
This is all done in the lorikeet/ethereal Makefile now.
(This used to be commit 5ec9fad5cfc9c6010550aa1890e9d213030db55d)
2007-10-10 13:09:14 -05:00
Andrew Tridgell
2a750c8c63 r5032: get rid of the init fns in eparser
(This used to be commit dc8c7cb85cf87d5976573ea6e9de43c0c9d5f44a)
2007-10-10 13:09:14 -05:00
Andrew Tridgell
5f78514676 r5027: added the IDL license to the IDL directory
(This used to be commit 765ede8ca6032ac1efdeca417eb62f34fdd7ed24)
2007-10-10 13:09:14 -05:00
Tim Potter
37957ea3eb r5026: Don't build the swig stuff by default until it's a bit more stable.
(This used to be commit df35f1debf30682363399ee2a02063da695fff84)
2007-10-10 13:09:14 -05:00
Tim Potter
adda6b39b6 r5024: Fix build.
(This used to be commit 425b988541fa669e7f2905fe959522f2d2d50da1)
2007-10-10 13:09:14 -05:00
Tim Potter
28a3ccf9af r5019: Some tweaks to building the swig .i files.
(This used to be commit c252a286efcb9ca2024c8d234c8a65855522fb25)
2007-10-10 13:09:14 -05:00
Tim Potter
07b65ce281 r5018: Initialise required subsystems (by hand, generated by substituting
BINARY for LIBRARY in config.mk).

Cut things down to just the samr pipe for the moment.
(This used to be commit 95d2a58e5b2cfc30304ca390de7073c214850984)
2007-10-10 13:09:14 -05:00
Tim Potter
b10b7a360a r5017: Fix bug in output typemap for uint32 (!)
(This used to be commit dc845154ca1738f4c3959a1799cbbd6ce65b7d02)
2007-10-10 13:09:14 -05:00
Tim Potter
5e67970889 r5016: Use LIBRARY instead of BINARY for inserting the swig stuff into the
build system.  This still generates bogus targets (i.e
bin/swig_dcerpc.so.0.0.1) and the subsystem initialisation needs to be
done by hand but it is less of a hack.
(This used to be commit e9b69d19a84b31966fb6e66e9d8682b0f9b40a47)
2007-10-10 13:09:13 -05:00
Günther Deschner
c922153e20 r5011: Do not use KRB5_CONFIG internally as it is used by MIT and Heimdal to find
the configfile (/etc/krb5.conf). Kerberos-Tests tend to segfault when
reading the krb5-config binary as configuration-file...
Also allow KRB5CONFIG to be passed over again
(KRB5CONFIG=/my/heimdal/bin/krb5-config ./configure...)

Guenther
(This used to be commit d925606bbf869a526a0189485f4011ac359e3323)
2007-10-10 13:09:13 -05:00
Tim Potter
a1852aa19b r5010: Handle weird-ass NTTIME_1sec and NTTIME_hyper types.
(This used to be commit a38db33713348e8a07d3fc932865b2f649dc962f)
2007-10-10 13:09:13 -05:00
Tim Potter
65a9f77d3f r5009: Put bitmaps in their own subtree.
(This used to be commit 8ca1e3aa3b5007f9da3e951e15e0380ae170a1cf)
2007-10-10 13:09:13 -05:00
Tim Potter
27cb4d4672 r5008: 32-bits is the default bitmap size.
(This used to be commit 493ba2da6bb93d080ff92c50d920df8c858f3010)
2007-10-10 13:09:13 -05:00
Tim Potter
6026daeec9 r5007: Fix bug in regexp where we were eating the strings "in" or "out" from
structure names if they started with those strings.
(This used to be commit e983de6ead6ed23b51c2df70e69586b1e7be5a60)
2007-10-10 13:09:13 -05:00
Tim Potter
bc9e00c7c4 r5006: Implement parsing of pidl bitmaps in ethereal parsers. This works
well but needs to be stuck in a subtree.
(This used to be commit a34212247b5dfb87d87c1ce12aab1835c88a0651)
2007-10-10 13:09:13 -05:00
Tim Potter
9eea1eb94f r5005: Add missing size specifiers to various bitmaps.
(This used to be commit 19a907cb58f9ec58c5eea12e7979134976c0c469)
2007-10-10 13:09:12 -05:00
Andrew Tridgell
0b673687e5 r5004: add current samba3 nmblookup.c ready for updating to new nbt lib
(This used to be commit 854f7f376d7e15524a76bdb43a56be2a1a1d8123)
2007-10-10 13:09:12 -05:00
Andrew Tridgell
51d61771f8 r5003: delete old nmblookup.c code
(This used to be commit b781a542447f9b9468ab20dd26c222a4ebfcda85)
2007-10-10 13:09:12 -05:00
Tim Potter
1107607295 r4993: Generate nicer name for enum hf.
Start work on supporting bitmaps.
(This used to be commit 6f418f14267291bf8637e5dcd7e8ceca4e430314)
2007-10-10 13:09:12 -05:00
Tim Potter
a847628e58 r4991: Remove debugging statement.
(This used to be commit 4640d3371eb57de90d972719e8550fea65831f74)
2007-10-10 13:09:12 -05:00
Tim Potter
0e169886d3 r4990: Generate value strings for pidl enumerations.
(This used to be commit edaf81b6395e1af06e9546027f9a9c3c4975c4b4)
2007-10-10 13:09:12 -05:00
Tim Potter
72478f0bd8 r4983: On second thoughts don't include the config.mk file for the swig stuff
just yet.  More testing required.
(This used to be commit c2664bb365e31a160b72e6eecfdfce9921e913f0)
2007-10-10 13:09:12 -05:00
Tim Potter
8fb54d162b r4982: Start to move swig dependencies into new build system. Unfortunately
I can only get something useful happening by using the BINARY keyword
as nothing else seems to generate dependency lists that can be used
when linking the swig shared libraries.  Anyway this is a lot nicer
than having lots of junk in makefile.pm.
(This used to be commit 71a22f5206086c5ab7315d38934d65483aff7a70)
2007-10-10 13:09:11 -05:00
Tim Potter
29589f3895 r4981: Fix swig build.
(This used to be commit b44ab87c83ad094ce4595c9702d6a21f30c1de26)
2007-10-10 13:09:11 -05:00
Tim Potter
051c7b5e0c r4980: Copy RAP callno constants from Samba 3 and start to use them.
(This used to be commit e32ade44858b869001d2990c788a7e34fb70b121)
2007-10-10 13:09:11 -05:00
Tim Potter
6cec461c8c r4979: Return NT_STATUS_INVALID_SYSTEM_SERVICE for unimplemented RAP calls as
this is what win2k3 does.
(This used to be commit 145d7c03df477eca08cb81d221e3a1b60ccf8c7f)
2007-10-10 13:09:11 -05:00
Tim Potter
769d81520c r4975: Update usage of talloc in rap torture code.
Don't use ZERO_STRUCTP() when creating a new struct rap_call.
(This used to be commit c475fa44575430cdab15d71548ca8d8222d9adb0)
2007-10-10 13:09:11 -05:00
Tim Potter
82e1012c60 r4974: Update location of talloc_guide.txt
(This used to be commit a2f25260224cd27e5730ba3dc0757dd14e709fd5)
2007-10-10 13:09:10 -05:00
Tim Potter
8bf94dc7f7 r4973: Add a RAP scanner to smbtorture. win2k has call numbers 0-215 although
the cifs tr lists 250-318 also.
(This used to be commit 37b4d1a676f341bc32a2a5a49fdfe2667636ccef)
2007-10-10 13:09:10 -05:00
Stefan Metzmacher
c108689bf6 r4962: add infrastructure to use raw krb5 auth in dcerpc client code
Note this doesn't work currently because the gensec_modules are not ready for that yet

metze
(This used to be commit 7b09a3f725baca5d4483b7ec24a9cb6151557bb5)
2007-10-10 13:09:10 -05:00
Stefan Metzmacher
56e4f0db34 r4959: fix compiler warning
metze
(This used to be commit e849db13dce1233a37c5b175cf8bea0a473ba6d7)
2007-10-10 13:09:10 -05:00
Stefan Metzmacher
52a6067fcb r4958: fix compiler warnings
metze
(This used to be commit 522af7ecc0020b7c56182ca628f6d1623abe303e)
2007-10-10 13:09:10 -05:00
Andrew Tridgell
657583b9b9 r4957: the fetchfile _recv() function was neglecting to steal the data and
free the connection context. This left a whole lot of state hanging
around and didn't give the memory to the caller properly
(This used to be commit 3e13e1d526563d91cb2342ae68455e54eb49a9bd)
2007-10-10 13:09:10 -05:00
Andrew Tridgell
bdbd32d3ff r4956: - moved the definition of the mangle context structure into a pvfs_shortname
- made the mangle cache size configurable
(This used to be commit 4adbd01812a53395f175bd6d8e402ad5451f7561)
2007-10-10 13:09:09 -05:00
Andrew Tridgell
f82a03b2c1 r4955: fixed a couple of minor memory leaks in the auth_sam code
(This used to be commit 2eba223bda43a81e7aa795e58e551b0b556ddcfa)
2007-10-10 13:09:09 -05:00
Andrew Tridgell
af4ce4805c r4954: we don't need the separate event_remove_*() calls any more, as you now
remove an event by calling talloc_free().
(This used to be commit 8f19b6886cc58a56d52aecfc83a175197061e533)
2007-10-10 13:09:09 -05:00
Andrew Tridgell
9c2c819b53 r4953: - enable easy valgrind use in all our test scripts
- when valgrind isn't set, then setup MALLOC_CHECK_ to abort on error
(This used to be commit 21e629e80e5b320616135d3f3641801dc29594e6)
2007-10-10 13:09:09 -05:00
Andrew Tridgell
52ad7774b5 r4952: removed a bogus talloc_steal() that was trying to cope with the
inverted memory hierarchy. Now the memory hierarchy is logical its not
needed (and can cause a double free in RPC-SCHANNEL)
(This used to be commit f8a950b57d7137c6fd0a77d063d946b4f9b3f014)
2007-10-10 13:09:09 -05:00
Andrew Tridgell
3e44c4a3ba r4951: some of the code dealing with libcli was getting too complex trying to
handle the inverted memory hierarchy that a normal session
establishment gave. The inverted hierarchy came from that fact that
you first establish a socket, then a transport, then a session and
finally a tree. That leads to the socket being at the top of the
memory hierarchy and the tree at the bottom, which makes no sense from
the users point of view, as they want to be able to free the tree and
have everything disappear.

The core problem was that the libcli interface didn't distinguish
between establishing a primary context and a secondary context. If you
establish a 2nd session on a transport then you want the transport to
be referenced by the session, whereas if you establish a primary
session then you want the transport to be a child of the session.

To fix this I have added "parent_ctx" and "primary" arguments to the
libcli intialisation functions. This makes using the library much
easier, and gives us a memory hierarchy that makes much more sense.

I was prompted to do this by a bug in the cifs backend, which was
caused by the socket not being properly torn down on a disconnect due
to the inverted memory hierarchy.
(This used to be commit 5e8fd5f70178992e249805c2e1ddafaf6840739b)
2007-10-10 13:09:09 -05:00
Andrew Tridgell
46b5a3d754 r4950: removed some excessive debugging messages
(This used to be commit 4a351901aa49090700d89274559d6dda76f06b7d)
2007-10-10 13:09:09 -05:00