summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* r4940: Add a variable to hold a list of typedefs for which we shouldn't generateTim Potter2007-10-101-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)
* r4939: make a few more private pointers type safe (this might help abartletAndrew Tridgell2007-10-101-3/+6
| | | | | track down a bug he just told me about) (This used to be commit fb326cbb32ef7eebb7073777d834d6bea25069a7)
* r4938: allow the caller to supply an existing event_context if they want toAndrew Tridgell2007-10-104-8/+15
| | | | | | in smb_composite_connect_send(). This makes doing parallel calls much easier. (This used to be commit 442308970c123b9fb25615673049e1c1c234a0b9)
* r4937: simplify the connect code in the same wayAndrew Tridgell2007-10-101-15/+12
| | | | (This used to be commit 347dfa47249d55c61e1e7c82d10444a71aca8a85)
* r4936: moved to a convention where the completion function is only called inAndrew Tridgell2007-10-102-24/+18
| | | | | | one place. This makes the code more robust, and simpler (it would have prevented the error that volker found). (This used to be commit 420b53091ee784d7891fb62d48e2f5a225b4dbf8)
* r4935: fixed a bug where "c->status = xxx_handler(x);" could write to c afterAndrew Tridgell2007-10-103-15/+22
| | | | | | | it is freed. The problem is that the handler might complete the request, and called the c->async.fn() async handler. That handler might free the request handle. (This used to be commit c4faceadc74e0849f6197ccbec9952f6c94f6176)
* r4930: Update my copyright.Tim Potter2007-10-101-1/+1
| | | | (This used to be commit 362151788bed06d934f111459abe7f6491362906)
* r4927: parse the NBT session request in the smb server. This gets rid of thatAndrew Tridgell2007-10-103-8/+57
| | | | | annoying "not parsing session request" message on each SMB connection (This used to be commit b06b8dd2f4f4fea750b05fd29d68372828159f16)
* r4924: continue the effort to simplify and generalise the compositeAndrew Tridgell2007-10-105-22/+22
| | | | | | interface. This patch removes the "stage" variable, which is really better suited to the backend state structures (This used to be commit 39da684ea8bc72d7a4a12c00eaad56b4f32890a9)
* r4923: Avoid using krb5-config in the path if a krb5 prefix was already set.Andrew Bartlett2007-10-101-19/+21
| | | | | Andrew Bartlett (This used to be commit ff8298bb90b78dc52c11e2cdecf5041b9e243f35)
* r4922: fixed an infinite loop in the name resolve code when handling a methodAndrew Tridgell2007-10-101-3/+1
| | | | | in smb.conf that isn't implemented in the library (This used to be commit dd5b43ed37b37feec4708f8f13033b42eb6a838c)
* r4919: if a caller doesn't provide an event context to the resolver library,Andrew Tridgell2007-10-101-1/+6
| | | | | | then create one. This fixes a crash in the RAW-NEGNOWAIT test for 'host' resolution. (This used to be commit 3268d523cc381b9b3077f794bb53daf0865d139c)
* r4916: added "host" name resolution using fork() per gethostbyname()Andrew Tridgell2007-10-103-17/+270
| | | | | comments welcome, but please think about the alternatives first :-) (This used to be commit 3d40b479907226be349137117e0d2bd718efa1a8)
* r4915: free temp context _before_ the async callback, as the async callback ↵Andrew Tridgell2007-10-101-1/+1
| | | | | | | might destroy our top level context leaving the tmp context freed (so a double free) (This used to be commit b20c0561b8ec3ec7010f846be7a39165783e15c2)
* r4914: Fill in the realm for the self-join.Andrew Bartlett2007-10-101-0/+1
| | | | | Andrew Bartlett (This used to be commit bc901ecfb4babe72858185e79b91f6a53c04b71f)
* r4911: make sure we fill in the transport called name on port 445 as wellAndrew Tridgell2007-10-101-6/+9
| | | | | (thanks to abartlet for spotting this bug) (This used to be commit 8b653f12f21e7a8eee8e60cefb193505c2df7f8f)
* r4909: fixed name_trn_id generation (thanks to metze for spotting the bug!)Andrew Tridgell2007-10-101-1/+3
| | | | (This used to be commit 9d2d16ce5fd57cad01ddaf1112beed916cc2088d)
* r4901: a bit more info on nbt packets under high debug levelAndrew Tridgell2007-10-101-2/+5
| | | | (This used to be commit 9a34af29388d8ca837c670d054a76d1f75098cbd)
* r4900: build fix for IRIX 6.5Andrew Tridgell2007-10-102-5/+5
| | | | (This used to be commit f6ff9e6f39efdb312384ebb651b8e0f01e9e8df1)
* r4899: fixed buildAndrew Tridgell2007-10-101-5/+5
| | | | (This used to be commit 852f1e73b4b4241a61372279318c23369488d3bc)
* r4898: - removed the unused wins_srv_*() codeAndrew Tridgell2007-10-1011-506/+375
| | | | | | | | | - expanded the generic async name resolver to try multiple methods - added wins resolutions to the list of methods tried - fixed up the random trn id generation to use the good random generator (This used to be commit 266fd2751c01808e5a18d4094032af50554ceb7a)
* r4897: Unbreak the LDAP server. Somehow the generic service structuresAndrew Bartlett2007-10-101-7/+8
| | | | | | | | | | (which seem just a little too complex) changed, but this code was not updated or tested. Also clarify the existing code, by not reusing variables. Andrew Bartlett (This used to be commit eb46adade4a0b9f0977479eb767c0bc7936a9585)
* r4896: make sure the event context doesn't go away while waiting for event ↵Andrew Tridgell2007-10-101-1/+1
| | | | | | completion (This used to be commit c1063919c069b0b36dd3da6dc6853236629804e3)
* r4895: I missed this in my previous 'use secrets.ldb' commit.Andrew Bartlett2007-10-101-0/+2
| | | | | Andrew Bartlett (This used to be commit 53b98c674b28a85eec9748a079c950bd7fa88384)
* r4894: namecache.c is not used any more eitherAndrew Tridgell2007-10-101-247/+0
| | | | (This used to be commit 24927e69d824a1f3c01b2f63876afdfc6064d5ac)
* r4893: Move to using secrets.ldb for the Kerberos verify, instead ofAndrew Bartlett2007-10-101-12/+33
| | | | | | | secrets.tdb from Samba3. Andrew Bartlett (This used to be commit 21bfda2a0d1c8373f8800269ed9b982e1b9a19e5)
* r4892: we don't need nameserv.h any moreAndrew Tridgell2007-10-102-659/+0
| | | | (This used to be commit 1c83c80ef2b7e5f9eb5cd2242e37d136aed181b8)
* r4891: - added a generic resolve_name() async interface in libcli/resolve/,Andrew Tridgell2007-10-1020-2768/+452
| | | | | | | | | | | | | | which will eventually try all resolution methods setup in smb.conf - only resolution backend at the moment is bcast, which does a parallel broadcast to all configured network interfaces, and takes the first reply that comes in (this nicely demonstrates how to do parallel requests using the async APIs) - converted all the existing code to use the new resolve_name() api - removed all the old nmb code (yay!) (This used to be commit 239c310f255e43dd2d1c2433f666c9faaacbdce3)
* r4890: Try to cope with mechanism mismatch in the client speaks first versionAndrew Bartlett2007-10-101-7/+98
| | | | | | | of the SPNEGO state-machine. (Such as on LDAP and HTTP) Andrew Bartlett (This used to be commit c1cae6b3b1efe109a09e449ed2e09983431eac7e)
* r4889: make sure ndr print flags are initialised in ndrdumpAndrew Tridgell2007-10-101-1/+2
| | | | (This used to be commit c5c65ad8fb21e515535286c52847f3eb990f8036)
* r4888: use the neater calling conventionAndrew Tridgell2007-10-101-31/+8
| | | | (This used to be commit d93b6a5b8e9e4bf86a96262db21aa3fc1490e91d)
* r4887: removed a bogus castAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit a034556faa5d15fee44a58be3aea8aee8ffae3c8)
* r4886: fixed two places where we process the send side of a socket after theAndrew Tridgell2007-10-102-0/+2
| | | | | | recv side in the same event. That's a bad idea, as the first callback could decide to destroy the socket. (This used to be commit bf74ea34fc0e3c31e220c8f5a9217c95f3ca1d52)
* r4885: added a new NBT client library. Features include:Andrew Tridgell2007-10-1012-14/+1269
| | | | | | | | | | | | | | | | | | - structures defined using IDL in nbt.idl - build around our events structure, and talloc - fully async - supports all NBT packet fields as per rfc1002 - easy interfaces for name query and status For the moment there are just a couple of test functions in namequery.c, test_name_query() and test_name_status(). These will be removed when we hook the new library into libcli/ fully The new library will also be a fairly good basis for a nbt server. Although it can't be a server as-is, I wrote it with the needs of a server in mind (for example, extremely scalable idtree based packet handling) (This used to be commit ae7e625bfa4b4a3ee32c64566064b6a4c84ee4b9)
* r4884: - 2nd part of support ndr_size_ generation on unions as well as ↵Andrew Tridgell2007-10-104-426/+514
| | | | | | | structures - added "nopull" and "nopush" flags, to allow for externally written parsers for sub-structures (This used to be commit f65f239978425de795a0e188aaad3d5d1167da32)
* r4883: support ndr_size_ generation on unions as well as structuresAndrew Tridgell2007-10-101-1/+6
| | | | (This used to be commit 852ad354b481f130f80213f2924ad44d10340b21)
* r4865: Fix up subtree name when dissecting unions. E.g in LSA, The subtreeTim Potter2007-10-101-7/+23
| | | | | | used to be called something like "Level, R->out.info" but now is called "Lsa PolicyInformation". (This used to be commit be2bb36856bee1c2882e063beb7c04ac5e5889de)
* r4863: schema_find_attribute() should be staticAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit e7262dccce1ccc563fad48023c733c1d13929b4b)
* r4862: - better structure schema testsSimo Sorce2007-10-1010-31/+54
| | | | | | - fix check for deletion of required attributes on modify removed by mistake with the previous commits (This used to be commit 0315159daf157b64ef3452372dd74199600e24b8)
* r4859: changed a numbe rof things:Simo Sorce2007-10-101-244/+150
| | | | | | | | | | | | | | - Try to no tcopy memory if not necessary - let the searches hang around until we finish the operation - greatly simplify the modify operation still todo: - check attributes syntax - check objectclasses type, we cannot allow to add a new structural objectclass to an exixting entry unless the existing one is a parent - more tests (This used to be commit c6257379e094881987cd11e05502129b2ce1c5a0)
* r4858: a better fix for alignment of enumerated types (I'm not even sure whyAndrew Tridgell2007-10-101-4/+4
| | | | | the last fix worked at all) (This used to be commit 99cef2e5a0412ede455cb1579541550efa49502a)
* r4844: - Remove the unused attrsyn structureSimo Sorce2007-10-101-175/+164
| | | | | | | | | - Change 0 to NULL when checking allocations - Introduce the schema_attr_cmp hepler function - Do not allow auxiliary classes to be missing - Try to ease code readability and try to get main code out of loops when possibile. (This used to be commit a30f647b8abe6b77ef73018f58af2f8a11689b91)
* r4843: fixed the alignment handling of enumerated typesAndrew Tridgell2007-10-102-0/+7
| | | | (This used to be commit d2946dfabbc727633cdb17c3956fc120e214140c)
* r4842: Set the end of a structure so that when you click on the proto tree,Tim Potter2007-10-101-0/+4
| | | | | | the hex display window highlights the part of the buffer occupied by the structure. Cool! (This used to be commit b5c13fc6b8fe3f8dfa5ada73d33bd13cd607ebc4)
* r4841: Handle levels that are signed integer types.Tim Potter2007-10-101-1/+1
| | | | (This used to be commit 40d49d6279431bf1af343e3eb22038ef9d8b39e6)
* r4833: added LOCAL-SOCKET to the list of tests that are expected to passAndrew Tridgell2007-10-101-0/+1
| | | | (This used to be commit 480a4e3d9029fbeca876c736e7c87bc3352b4b4c)
* r4832: added simple testing of tcp sockets to LOCAL-SOCKET testAndrew Tridgell2007-10-101-0/+108
| | | | (This used to be commit c06b25c269fb34601e931079ff5658f6e19956bc)
* r4831: added udp support to our generic sockets library.Andrew Tridgell2007-10-108-79/+345
| | | | | | | | | | | | | | | I decided to incorporate the udp support into the socket_ipv4.c backend (and later in socket_ipv6.c) rather than doing a separate backend, as so much of the code is shareable. Basically this adds a socket_sendto() and a socket_recvfrom() call and not much all. For udp servers, I decided to keep the call as socket_listen(), even though dgram servers don't actually call listen(). This keeps the API consistent. I also added a simple local sockets testsuite in smbtorture, LOCAL-SOCKET (This used to be commit 9f12a45a05c5c447fb4ec18c8dd28f70e90e32a5)
* r4828: don't apply the schema until we get it working properlyAndrew Tridgell2007-10-101-37387/+0
| | | | (This used to be commit 37a133c8171087aceec4f377d513f7c28d726b14)
* r4819: its just not my day today ....Andrew Tridgell2007-10-102-0/+2
| | | | (This used to be commit e54a97f8a67a04427b36cb4afac204c4e5f4502a)