Age | Commit message (Collapse) | Author | Files | Lines |
|
having the 2nd layer functions do retries themselves. This makes the
code simpler, and allows the TRN_ID to be reused in the retry (which
is how it is supposed to work).
- added support for WACK replies to nbt name requests. A WACK reply
specifies a timeout to wait for the real reply.
- added WINS name refresh async calls, supporting multiple wins
servers and multiple IPs to register
(This used to be commit 76be35cb990de830c2451d9e48cb2c40a4befdb7)
|
|
smb.conf. It was rarely (if ever?) used, and poses problems as it is
not multi-byte safe for character searches
(This used to be commit 75a6cfb2f6b4ef85cf7e49958cccae9d35c4e5a2)
|
|
(This used to be commit e36b6882fdd1bb331f297b3b82bc3621b8ba0586)
|
|
(This used to be commit ad12a90d0e0fe7106b1845097d8fc71be3b8e378)
|
|
(This used to be commit 949f31ad2865699da0f3a9e827606abd762b10b7)
|
|
instead of
the old dictionary based routines. The SAMR connect, close, enumdomains,
opendomain, enum{users,aliases,groups} functions now work again!
(This used to be commit 53b361657fe892ad7b9d781450ad841a6b1072e5)
|
|
figure out a better way to pass tallocated memory around with SWIG.
(This used to be commit c63668cbbe393a78ccd9a86a33fb4bd7bb9af16d)
|
|
typemap.
The uint32_t output typemap must return a Python long as an unsigned
uint32_t cannot be fully represented by a Python int.
Likewise for the NTSTATUS typemap.
(This used to be commit 6dba5d6fb43f87bedc380c4f82b1d5f90b70325a)
|
|
(This used to be commit e65741159d8578d629ccfcd863f034fda895f9fe)
|
|
(This used to be commit f2e6d71584672e9bf0eaa7176d76781a30d317d1)
|
|
(This used to be commit b72a0ac654857273eaaf3c5e32d86abed0af3ceb)
|
|
around with pointers to just one uint32.
Add an output typemap to copy a policy handle as the talloc context is
destroyed before the wrapper function returns. More work here needed
to avoid memory leaks.
Use the swig carrays.i file to create accessor and setter functions
for fixed width integer types. Also add functions for struct samr_SamEntry
as it's returned by the LookupDomain RPC. This really needs to be
done by pidl so I don't have to go through and find all the structures
that are returned in arrays.
Include security.i to give us SIDs and security descriptors.
(This used to be commit 5a1f6c999ef5e84e93ec8f07b9751d795c4566a5)
|
|
for the swig wrappers.
(This used to be commit edb32b9b5175f720bce110bf2bb4cf136ed47142)
|
|
(This used to be commit 8fe477955d0e28c891281803d625d80cb78a51b0)
|
|
a precursor to adding the wins client code in the nbt server.
(This used to be commit e8e499755ab667015740b35a7787134ebe852954)
|
|
(This used to be commit d89b493aaf690ceb107bd62df75f1bba82284f90)
|
|
(This used to be commit c5f5e1d4012c9f4fd4ea78a4276e6766727a5494)
|
|
can see them
(This used to be commit 3e9788691fe6d618b1e170494e818d0cbdc64eae)
|
|
(This used to be commit 3270b07539d9a50763f4f15c7aa8fee028928b29)
|
|
packets, as w2k3 and Samba3 do not defend against broadcast name
refresh packets
(This used to be commit 3935b5f7c57be46042110911ba5b00ac39b0f41a)
|
|
(This used to be commit 290dbd8cdcfa6a897647768dcbbd03f22fc7cf36)
|
|
requests
(This used to be commit 9eafe2cacaef64384febe6bb0938294f7c1ee6bf)
|
|
nbt_, so as to more clearly separate them from the client code in
libcli/nbt/
(This used to be commit b07a7e35f26204055a99abf72438b5cd7ec35d3b)
|
|
accidently have the same protocol id as UUID's)
Before this, Samba would give NDR errors when contacting
a remote server that has IPX support enabled.
This one was on my long due bugs list.
(This used to be commit 7b847de64f35b8e897b64ad047d8aea3813214f8)
|
|
metze
(This used to be commit 274ef2a206aa00b3155adc27f5b7e35d3fa52bf6)
|
|
fallback to select(). This can happen in too many situations.
(This used to be commit 2d7242f2ec945c1e5fbc6f256265471f60ac8cd9)
|
|
(This used to be commit 7f54c8a339f36aa43c9340be70ab7f0067593ef2)
|
|
(This used to be commit 180f29f9e05e75e8ed32d010bc0c57a55ea9d843)
|
|
gettimeofday() call
and just use timeval_current() when its actually needed
(This used to be commit 236403cc4dc2924ed6a898acae0bb44cc1688dcc)
|
|
it. epoll is much more scalable than select(), but only exists on some
systems (such as Linux with the 2.6.x kernel). The code detects any
epoll system call failures at runtime and falls back to select() if
there is a problem, so it should be safe to compile this on a 2.6
kernel and run it on a 2.4.x kernel.
The speedup is quite large. It gains 20% in packet rate in the
BENCH-NBT test, on top of another 20% gain from the better timer
handling I added earlier. The really big gain will be when we are
dealing with large numbers of file descriptors. With epoll we can
handle hundreds of file descriptors all O(1), whereas with select it
is O(n).
(This used to be commit 26aa1aa69377e43da2942a42d137b95801e9fa1a)
|
|
(This used to be commit 90535bab957ddaa7bfcdf43e199581f3352bdc8a)
|
|
(This used to be commit 5f40ff0f554323ed0a806be7a4d0f1fac97e3ffb)
|
|
(This used to be commit 7be0bc93bd6757e52fd10bd3d3b3d1a8f5221452)
|
|
(This used to be commit c40fb6625d5cc6b3ddadfdc3c63d7856a45ec134)
|
|
events much more efficient (no linked lists need to be traversed, so
large numbers of timers are no problem)
(This used to be commit b45b9436d78b0ad288b27a1023579bb566ca6202)
|
|
make it possible to add optimisations to the events code such as
keeping the next timed event in a sorted list, and using epoll for
file descriptor events.
I also removed the loop events code, as it wasn't being used anywhere,
and changed timed events to always be one-shot (as adding a new timed
event in the event handler is so easy to do if needed)
(This used to be commit d7b4b6de51342a65bf46fce772d313f92f8d73d3)
|
|
(This used to be commit 0c96cc8babf222731375a59e86c64468c6dbda33)
|
|
(This used to be commit 7720d247fed3343a5bf39b2eedf34604f9203a37)
|
|
bind twice on each interface, once using the broadcast address and
once using the specific IP. We then only listen on the wildcard
address if we don't have "bind interface only" set. This also happens
to simplify the code that finds the right interface for an incoming
request.
(This used to be commit b3edf17281c5d82abb40dab817bf2de43f9f6c3f)
|
|
being treated as events that never time out, so they happened on the
next other event
(This used to be commit 2eefe4f8dea4a9060f229417777435133c684a0c)
|
|
put generated domain zone there as well
(This used to be commit f4fc885c14da517051cbcf7296b804da0f5f70b4)
|
|
NBT-REGISTER test that tests that a server correctly defends its name
against broadcast name registrations.
Jeremy, you might like to look at this. Samba3 nmbd fails to respond.
(This used to be commit bb1298a2eb192ec2cd547a299334cc82a63a5acc)
|
|
the header, and defined on the wire as a 4 byte network byte order
IP. This means the calling code doesn't have to worry about network
byte order conversions.
(This used to be commit 72048e37179dd5b9ada0c5280d2f0d8c23d1a17d)
|
|
metze
(This used to be commit cbc1f172822363e1fc4495d27248464403748cae)
|
|
metze
(This used to be commit 79e79552e62bbef61eb4f3dff104c6415c3e2ef8)
|
|
so we can use it in nbt.idl and
get a nicer debug output
metze
(This used to be commit abacbc9192646f6f3c720758ab65889b82b9ae7b)
|
|
metze
(This used to be commit c5a24792db61b688f23cf7d2509993049cad4a75)
|
|
metze
(This used to be commit 1c48c30aaf58d069cdba2f59b5c012bc4bdd3efc)
|
|
metze
(This used to be commit d8aeb69ea85cc0df89e213482c446eb8e793bc86)
|
|
metze
(This used to be commit 12b0841b30fdb6d7ba8c3dc9991c172f7fb3d31f)
|