Age | Commit message (Collapse) | Author | Files | Lines |
|
might destroy our top level context
leaving the tmp context freed (so a double free)
(This used to be commit b20c0561b8ec3ec7010f846be7a39165783e15c2)
|
|
Andrew Bartlett
(This used to be commit bc901ecfb4babe72858185e79b91f6a53c04b71f)
|
|
(thanks to abartlet for spotting this bug)
(This used to be commit 8b653f12f21e7a8eee8e60cefb193505c2df7f8f)
|
|
(This used to be commit 9d2d16ce5fd57cad01ddaf1112beed916cc2088d)
|
|
(This used to be commit 9a34af29388d8ca837c670d054a76d1f75098cbd)
|
|
(This used to be commit f6ff9e6f39efdb312384ebb651b8e0f01e9e8df1)
|
|
(This used to be commit 852f1e73b4b4241a61372279318c23369488d3bc)
|
|
- 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)
|
|
(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)
|
|
completion
(This used to be commit c1063919c069b0b36dd3da6dc6853236629804e3)
|
|
Andrew Bartlett
(This used to be commit 53b98c674b28a85eec9748a079c950bd7fa88384)
|
|
(This used to be commit 24927e69d824a1f3c01b2f63876afdfc6064d5ac)
|
|
secrets.tdb from Samba3.
Andrew Bartlett
(This used to be commit 21bfda2a0d1c8373f8800269ed9b982e1b9a19e5)
|
|
(This used to be commit 1c83c80ef2b7e5f9eb5cd2242e37d136aed181b8)
|
|
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)
|
|
of the SPNEGO state-machine. (Such as on LDAP and HTTP)
Andrew Bartlett
(This used to be commit c1cae6b3b1efe109a09e449ed2e09983431eac7e)
|
|
(This used to be commit c5c65ad8fb21e515535286c52847f3eb990f8036)
|
|
(This used to be commit d93b6a5b8e9e4bf86a96262db21aa3fc1490e91d)
|
|
(This used to be commit a034556faa5d15fee44a58be3aea8aee8ffae3c8)
|
|
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)
|
|
- 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)
|
|
structures
- added "nopull" and "nopush" flags, to allow for externally written parsers for sub-structures
(This used to be commit f65f239978425de795a0e188aaad3d5d1167da32)
|
|
(This used to be commit 852ad354b481f130f80213f2924ad44d10340b21)
|
|
used to be called something like "Level, R->out.info" but now is called
"Lsa PolicyInformation".
(This used to be commit be2bb36856bee1c2882e063beb7c04ac5e5889de)
|
|
(This used to be commit e7262dccce1ccc563fad48023c733c1d13929b4b)
|
|
- fix check for deletion of required attributes on modify
removed by mistake with the previous commits
(This used to be commit 0315159daf157b64ef3452372dd74199600e24b8)
|
|
- 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)
|
|
the last fix worked at all)
(This used to be commit 99cef2e5a0412ede455cb1579541550efa49502a)
|
|
- 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)
|
|
(This used to be commit d2946dfabbc727633cdb17c3956fc120e214140c)
|
|
the hex display window highlights the part of the buffer occupied by
the structure. Cool!
(This used to be commit b5c13fc6b8fe3f8dfa5ada73d33bd13cd607ebc4)
|
|
(This used to be commit 40d49d6279431bf1af343e3eb22038ef9d8b39e6)
|
|
(This used to be commit 480a4e3d9029fbeca876c736e7c87bc3352b4b4c)
|
|
(This used to be commit c06b25c269fb34601e931079ff5658f6e19956bc)
|
|
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)
|
|
(This used to be commit 37a133c8171087aceec4f377d513f7c28d726b14)
|
|
(This used to be commit e54a97f8a67a04427b36cb4afac204c4e5f4502a)
|
|
(This used to be commit 03953803519e5284b4092db12c6279370456c857)
|
|
because the version number was being auto-updated and included in all
C files. With this change it is only included where needed.
(This used to be commit 520cff73c6dc62ba1050cf7ca5145d50b5f2bb4e)
|
|
alignment
for NTTIME_hyper make a bit more sense.
(This used to be commit 03c1dcb59658e92da6f7643350c06f9efa42f6c4)
|
|
Break out arguments to proto_register_protocol() so they can be renamed
easily. Unfortunately the "pidl_" prefix will have to stick around if/when
the old dissectors are removed because the filter and short names clash.
(This used to be commit f2ce80e3350337ef795eb32f2478d218c2e382c3)
|
|
(This used to be commit 1fc9448ccb0c2038c128e13535fce83d32f39058)
|
|
platforms. The problem is that some loaders (for example the IRIX 6.5
machine us4 in the build farm) must have libs listed after object
files that depend on them on the link line. If you put the libs first
then all the symbols in the libs remain unresolved.
I think the correct fix for this is to separate xxx_LINK_LIBS out from
the current xxx_LINK_FLAGS, and use xxx_LINK_FLAGS followed by
xxx_LINK_LIST followed by xxx_LINK_LIBS. I'm hoping metze or jelmer,
as our build wizards, might take a look at this when they get time.
This interim fix should work fine, but its rather ugly, as it lists
the flags and libs twice in each link.
(This used to be commit db7d43fbb95748c85316b41ad3dc4eb967ed8a08)
|
|
if you need Dumper for debugging (and it is damn useful!) then please
use the require trick in MyDumper() from pidl so we don't end up
depending on it. Too many systems don't have it.
(This used to be commit b9f32d2812bde0a4389971487006f9c553b5e3c1)
|
|
should be there too
(This used to be commit 058ae5527e3daeb50eeea9e0ecee858c84e7e17d)
|
|
pointing this out.
(This used to be commit 7da0af98a0e0bc743d3c64be30b37cbc45e00737)
|
|
- add some stuff to make w2k3 dc join to get the correct
values
metze
(This used to be commit d1490635622023f5c672eea70260265960ac48b6)
|
|
metze
(This used to be commit 3381617a031db1dfb9dc7fc30f13e260f1dc589a)
|
|
(This used to be commit b221c3dbb9a7af88f917562b6f907fd0617eb05f)
|
|
(This used to be commit 4181b38fac426cfc786e52cdd43fdeddbc26651f)
|