Age | Commit message (Collapse) | Author | Files | Lines |
|
metze
(from samba4wins tree 405cbb74b7191e744178894a5e0ac4abcac2a4fe)
|
|
The previous ldb_search() interface made it way too easy to leak results,
and being able to use a printf-like expression turns to be really useful.
|
|
(This used to be commit 318bf1f7441678860adfff5cdb0d3d2448e58f4b)
|
|
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
|
|
metze
(This used to be commit b00d524ef73e2fffd81ef3a8cdd242feda10f59d)
|
|
I don't yet know what the extra data in the start_association call mean...
This also let w2k use WREPL_REPL_INFORM messages to us, but w2k3 doesn't
it do it yet...
metze
(This used to be commit 02d6dfa1da754857c28125392a561cfde0087c48)
|
|
- replicate only active addresses
metze
(This used to be commit 6325abd95c5df855e8d1de2be9745940a29ba00a)
|
|
after a new partner connects, try to find the partner struct on a per call
basis if it's not present on the connection yet
add some more useful debug messages
metze
(This used to be commit e57158e216e3564faa337288734d9efb30ab838d)
|
|
structure that is more generic than just 'IP/port'.
It now passes make test, and has been reviewed and updated by
metze. (Thankyou *very* much).
This passes 'make test' as well as kerberos use (not currently in the
testsuite).
The original purpose of this patch was to have Samba able to pass a
socket address stucture from the BSD layer into the kerberos routines
and back again. It also removes nbt_peer_addr, which was being used
for a similar purpose.
It is a large change, but worthwhile I feel.
Andrew Bartlett
(This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
|
|
metze
(This used to be commit ba97e7c06af6f919a66622c1a6b6e58980ab2b9e)
|
|
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
|
|
search filter,
this is to handle the special '0.0.0.0' of old or manual added owned records
metze
(This used to be commit 4c7306608cc3f86c31ed044bc41eda905b64b31f)
|
|
the call to winsdb_get_maxVersion() is moved into place.
This allows us to fetch records with the owner address that matches
our local_owner address, this is important if the restart with an empty wins.ldb.
w2k3 does this in the same way when you remove the database files from disk and restart
the WINS-Service.
metze
(This used to be commit e43de87d06614206a858e1102cd82e7f02163bba)
|
|
as winsOwner: attrbute for owned records
metze
(This used to be commit 37dece8304c0b9887740f4d4e8096732045a1785)
|
|
so we later can hang the local owner address, on this handle too
metze
(This used to be commit 49ba4cc11144671cafcbe2967954bfd786ea6e76)
|
|
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
|
|
replication
(makes getting the wins config right much easier)
(This used to be commit 3016c7ee138d29973dfd093de6589a9a798750a7)
|
|
metze
(This used to be commit 3383568c31545a6716eb7045b56d516d507c0b4d)
|
|
packet_context
system
- this needs to be in one big patch, because of the merging code,
that changes client in server connections and the other way around
- use socket_connect_send/_recv() in the client code
metze
(This used to be commit f0105b7fcdc3032d22444a1973927fff2dd9a06f)
|
|
metze
(This used to be commit 8fb07b1ea8fdf353da832212289aceef20495bda)
|
|
(This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
|
|
metze
(This used to be commit 9872348ac81c6907ae1c76f909df13d5fd772b5a)
|
|
metze
(This used to be commit f5b672edc07586afcd6ab5eebeb8ae1247a2b4ed)
|
|
This patch changes the way lsb_search is called and the meaning of the returned integer.
The last argument of ldb_search is changed from struct ldb_message to struct ldb_result
which contains a pointer to a struct ldb_message list and a count of the number of messages.
The return is not the count of messages anymore but instead it is an ldb error value.
I tryed to keep the patch as tiny as possible bu as you can guess I had to change a good
amount of places. I also tried to double check all my changes being sure that the calling
functions would still behave as before. But this patch is big enough that I fear some bug
may have been introduced anyway even if it passes the test suite. So if you are currently
working on any file being touched please give it a deep look and blame me for any error.
Simo.
(This used to be commit 22c8c97e6fb466b41859e090e959d7f1134be780)
|
|
before the bad merge
metze
(This used to be commit 471c0ca4abb17fb5f73c0efed195c67628c1c06e)
|
|
- as the old records are broken sinse the last winsdb_dn() changes, (the dn components order was reversed)
we can use nicer attribute and objectClass names...
- use much more verbose error handling for winsdb_*
- print a debug message when we found a corrupted record
metze
(This used to be commit 82bad3f3efec5b706a65e65054787f1486d7c875)
|
|
fix namebuf_len, when type is 0x00
metze
(This used to be commit 1b2effa01bf16f9575e7e43e037a0797f98426b8)
|
|
we know answer send_requests correctly
metze
(This used to be commit aecc9ca1cc78ce5ea766954629c03ea866c36bc1)
|
|
- reply to table_queries
- reply to a send_request with an empty send_reply
metze
(This used to be commit a25279f05243fc89c2cc9267d59974bc17eaf47c)
|
|
- w2k just ignores invalid packets, so we do now
- w2k only checks the assoc_ctx when the opcode has the sepcific obcode bit's set
- terminate the connection, when getting a WREPL_STOP_ASSOCIATION packet
- some more special error handling
proper torture test for all this cases are following later
metze
(This used to be commit 42b69461aad3942dde361d61b950445dd39882aa)
|
|
- move structs to a seperate header file
- move the code for the wreplsrv_in_call handling to a seperate file
metze
(This used to be commit c9a8544446312d96ecadcf370af76d9dc5b2531a)
|