summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5036: changed HYPER_T to the more standard "hyper"Andrew Tridgell10-80/+77
(This used to be commit 1d1a9c11ee681540ef8a1029409bb24fc26f976c)
2007-10-10r5035: fixed composite test to use --num-ops command line optionAndrew Tridgell1-20/+14
(This used to be commit f36e4cf6862c9cbcd36563007efa8dc59912d896)
2007-10-10r5034: - added a type mapping function in pidl, so the type names in our IDLAndrew Tridgell18-153/+111
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-10r5033: Remove --with-eparserdir configure option and eparser_idl make target.Tim Potter3-30/+0
This is all done in the lorikeet/ethereal Makefile now. (This used to be commit 5ec9fad5cfc9c6010550aa1890e9d213030db55d)
2007-10-10r5032: get rid of the init fns in eparserAndrew Tridgell1-0/+3
(This used to be commit dc8c7cb85cf87d5976573ea6e9de43c0c9d5f44a)
2007-10-10r5027: added the IDL license to the IDL directoryAndrew Tridgell1-0/+9
(This used to be commit 765ede8ca6032ac1efdeca417eb62f34fdd7ed24)
2007-10-10r5026: Don't build the swig stuff by default until it's a bit more stable.Tim Potter1-1/+1
(This used to be commit df35f1debf30682363399ee2a02063da695fff84)
2007-10-10r5024: Fix build.Tim Potter1-7/+1
(This used to be commit 425b988541fa669e7f2905fe959522f2d2d50da1)
2007-10-10r5019: Some tweaks to building the swig .i files.Tim Potter2-8/+13
(This used to be commit c252a286efcb9ca2024c8d234c8a65855522fb25)
2007-10-10r5018: Initialise required subsystems (by hand, generated by substitutingTim Potter1-8/+40
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-10r5017: Fix bug in output typemap for uint32 (!)Tim Potter1-1/+1
(This used to be commit dc845154ca1738f4c3959a1799cbbd6ce65b7d02)
2007-10-10r5016: Use LIBRARY instead of BINARY for inserting the swig stuff into theTim Potter3-18/+13
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-10r5011: Do not use KRB5_CONFIG internally as it is used by MIT and Heimdal to ↵Günther Deschner1-14/+13
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-10r5010: Handle weird-ass NTTIME_1sec and NTTIME_hyper types.Tim Potter1-1/+2
(This used to be commit a38db33713348e8a07d3fc932865b2f649dc962f)
2007-10-10r5009: Put bitmaps in their own subtree.Tim Potter1-1/+6
(This used to be commit 8ca1e3aa3b5007f9da3e951e15e0380ae170a1cf)
2007-10-10r5008: 32-bits is the default bitmap size.Tim Potter1-2/+1
(This used to be commit 493ba2da6bb93d080ff92c50d920df8c858f3010)
2007-10-10r5007: Fix bug in regexp where we were eating the strings "in" or "out" fromTim Potter1-3/+3
structure names if they started with those strings. (This used to be commit e983de6ead6ed23b51c2df70e69586b1e7be5a60)
2007-10-10r5006: Implement parsing of pidl bitmaps in ethereal parsers. This worksTim Potter1-5/+34
well but needs to be stuck in a subtree. (This used to be commit a34212247b5dfb87d87c1ce12aab1835c88a0651)
2007-10-10r5005: Add missing size specifiers to various bitmaps.Tim Potter4-6/+6
(This used to be commit 19a907cb58f9ec58c5eea12e7979134976c0c469)
2007-10-10r5004: add current samba3 nmblookup.c ready for updating to new nbt libAndrew Tridgell1-0/+299
(This used to be commit 854f7f376d7e15524a76bdb43a56be2a1a1d8123)
2007-10-10r5003: delete old nmblookup.c codeAndrew Tridgell1-338/+0
(This used to be commit b781a542447f9b9468ab20dd26c222a4ebfcda85)
2007-10-10r4993: Generate nicer name for enum hf.Tim Potter1-2/+15
Start work on supporting bitmaps. (This used to be commit 6f418f14267291bf8637e5dcd7e8ceca4e430314)
2007-10-10r4991: Remove debugging statement.Tim Potter1-1/+0
(This used to be commit 4640d3371eb57de90d972719e8550fea65831f74)
2007-10-10r4990: Generate value strings for pidl enumerations.Tim Potter1-13/+57
(This used to be commit edaf81b6395e1af06e9546027f9a9c3c4975c4b4)
2007-10-10r4983: On second thoughts don't include the config.mk file for the swig stuffTim Potter1-1/+0
just yet. More testing required. (This used to be commit c2664bb365e31a160b72e6eecfdfce9921e913f0)
2007-10-10r4982: Start to move swig dependencies into new build system. UnfortunatelyTim Potter4-34/+22
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-10r4981: Fix swig build.Tim Potter1-3/+1
(This used to be commit b44ab87c83ad094ce4595c9702d6a21f30c1de26)
2007-10-10r4980: Copy RAP callno constants from Samba 3 and start to use them.Tim Potter3-10/+269
(This used to be commit e32ade44858b869001d2990c788a7e34fb70b121)
2007-10-10r4979: Return NT_STATUS_INVALID_SYSTEM_SERVICE for unimplemented RAP calls asTim Potter1-1/+1
this is what win2k3 does. (This used to be commit 145d7c03df477eca08cb81d221e3a1b60ccf8c7f)
2007-10-10r4975: Update usage of talloc in rap torture code.Tim Potter1-55/+47
Don't use ZERO_STRUCTP() when creating a new struct rap_call. (This used to be commit c475fa44575430cdab15d71548ca8d8222d9adb0)
2007-10-10r4973: Add a RAP scanner to smbtorture. win2k has call numbers 0-215 althoughTim Potter2-2/+31
the cifs tr lists 250-318 also. (This used to be commit 37b4d1a676f341bc32a2a5a49fdfe2667636ccef)
2007-10-10r4962: add infrastructure to use raw krb5 auth in dcerpc client codeStefan Metzmacher3-6/+13
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-10r4959: fix compiler warningStefan Metzmacher1-2/+2
metze (This used to be commit e849db13dce1233a37c5b175cf8bea0a473ba6d7)
2007-10-10r4958: fix compiler warningsStefan Metzmacher1-2/+2
metze (This used to be commit 522af7ecc0020b7c56182ca628f6d1623abe303e)
2007-10-10r4957: the fetchfile _recv() function was neglecting to steal the data andAndrew Tridgell1-1/+11
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-10r4956: - moved the definition of the mangle context structure into a ↵Andrew Tridgell2-36/+35
pvfs_shortname - made the mangle cache size configurable (This used to be commit 4adbd01812a53395f175bd6d8e402ad5451f7561)
2007-10-10r4955: fixed a couple of minor memory leaks in the auth_sam codeAndrew Tridgell1-1/+11
(This used to be commit 2eba223bda43a81e7aa795e58e551b0b556ddcfa)
2007-10-10r4954: we don't need the separate event_remove_*() calls any more, as you nowAndrew Tridgell2-37/+3
remove an event by calling talloc_free(). (This used to be commit 8f19b6886cc58a56d52aecfc83a175197061e533)
2007-10-10r4953: - enable easy valgrind use in all our test scriptsAndrew Tridgell3-2/+14
- when valgrind isn't set, then setup MALLOC_CHECK_ to abort on error (This used to be commit 21e629e80e5b320616135d3f3641801dc29594e6)
2007-10-10r4952: removed a bogus talloc_steal() that was trying to cope with theAndrew Tridgell1-1/+0
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-10r4951: some of the code dealing with libcli was getting too complex trying toAndrew Tridgell9-44/+41
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-10r4950: removed some excessive debugging messagesAndrew Tridgell1-8/+0
(This used to be commit 4a351901aa49090700d89274559d6dda76f06b7d)
2007-10-10r4949: First version of a fetchfile composite function which connects to a ↵Volker Lendecke5-1/+308
server and loads a file. Needs a smb url parsing wrapper. Volker (This used to be commit fa435bf7c878d4a5beb6afb2ed6e2990abc11e82)
2007-10-10r4948: Typo fixes in comments.Rafal Szczesniak1-2/+2
rafal (This used to be commit 97d40f1603eeed1b5ff3f2c7d668858fef20f130)
2007-10-10r4945: the te element isn't needed any moreAndrew Tridgell1-5/+1
In general, now that events are children of the structure they are handling events for, the caller only needs to keep the event handle around if it plans on changing the event flags later (This used to be commit 8c8955155476827408c107af38089c8320631526)
2007-10-10r4944: every event_add_*() caller was having to call talloc_steal() to takeAndrew Tridgell10-37/+33
control of the event, so instead build that into the function. If you pass NULL as mem_ctx then it leaves it as a child of the events structure. (This used to be commit 7f981b9ed96f39027cbfd500f41e0c2be64cbb50)
2007-10-10r4943: Smplified the events handling code a lot. The first source ofAndrew Tridgell10-158/+113
complexity was that events didn't automatically cleanup themselves. This was because the events code was written before we had talloc destructors, so you needed to call event_remove_XX() to clean the event out of the event lists from every piece of code that used events. I have now added automatic event destructors, which in turn allowed me to simplify a lot of the calling code. The 2nd source of complexity was caused by the ref_count, which was needed to cope with event handlers destroying events while handling them, which meant the linked lists became invalid, so the ref_count ws used to mark events for later destruction. The new system is much simpler. I now have a ev->destruction_count, which is incremented in all event destructors. The event dispatch code checks for changes to this and handles it. (This used to be commit a3c7417cfeab429ffb22d5546b205818f531a7b4)
2007-10-10r4942: converted the cifs backend to not use event_context_merge(). Instead,Andrew Tridgell1-16/+21
is supplies the server event context during the connect. (This used to be commit 133e67bb1fa661b0e0d340091be4160f9af04fe3)
2007-10-10r4941: - all needed data is now in sam.ldb and hacked.ldb is not needed ↵Stefan Metzmacher2-48/+42
anymore by the hacked ldap backend - readd the schema naming context container object as it's needed for a w2k3 dc join metze (This used to be commit c583f806231652cce9879e9fc4237a5ab0774346)
2007-10-10r4940: Add a variable to hold a list of typedefs for which we shouldn't generateTim Potter1-1/+20
a dissector for. A hand written dissector needs to be added to eparser.c for the plugin to link. (This used to be commit d4f7f6b0b41cb572320a5aeaf771c5af2b7bf13d)