1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-09 20:23:51 +03:00
Commit Graph

29 Commits

Author SHA1 Message Date
Jelmer Vernooij
318bf1f744 r25549: Convert to standard bool type. 2007-10-10 15:07:53 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
b00d524ef7 r15149: fix typo
metze
2007-10-10 14:04:11 -05:00
Stefan Metzmacher
02d6dfa1da r13345: let us replicate with NT4sp6a
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
2007-10-10 13:51:47 -05:00
Stefan Metzmacher
6325abd95c r13060: - return only active addresses in name query responses
- replicate only active addresses

metze
2007-10-10 13:51:20 -05:00
Stefan Metzmacher
e57158e216 r13050: when we have reloaded the partners from wins_config.ldb
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
2007-10-10 13:51:19 -05:00
Andrew Bartlett
88198c4881 r12804: This patch reworks the Samba4 sockets layer to use a socket_address
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
2007-10-10 13:49:57 -05:00
Stefan Metzmacher
ba97e7c06a r12796: use the correct address as initiator
metze
2007-10-10 13:49:56 -05:00
Jelmer Vernooij
6391761601 r12696: Reduce the size of include/structs.h 2007-10-10 13:49:40 -05:00
Stefan Metzmacher
4c7306608c r12679: create a sperate function to create the 'winsOwner' part of the search filter,
this is to handle the special '0.0.0.0' of old or manual added owned records

metze
2007-10-10 13:49:37 -05:00
Stefan Metzmacher
e43de87d06 r12677: get rid of the special cases for the local wins owner table entry,
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
2007-10-10 13:49:36 -05:00
Stefan Metzmacher
37dece8304 r12618: use our primary interface address or the "winsdb:local_owner" -address
as winsOwner: attrbute for owned records

metze
2007-10-10 13:49:05 -05:00
Stefan Metzmacher
49ba4cc111 r12617: create a winsdb_handle and pass that arround,
so we later can hang the local owner address, on this handle too

metze
2007-10-10 13:49:05 -05:00
Jelmer Vernooij
70e7449318 r12608: Remove some unused #include lines. 2007-10-10 13:49:03 -05:00
Andrew Tridgell
3016c7ee13 r12532: log a message giving the IPs of non-partner clients trying WINS replication
(makes getting the wins config right much easier)
2007-10-10 13:47:52 -05:00
Stefan Metzmacher
3383568c31 r12391: use the new periodic schedule system for the pull replication too
metze
2007-10-10 13:47:34 -05:00
Stefan Metzmacher
f0105b7fcd r12200: - move the the winsreplication client and server code to the 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
2007-10-10 13:47:17 -05:00
Stefan Metzmacher
8fb07b1ea8 r12021: remove shortpath for winsdb_lookup, this isn't needed
metze
2007-10-10 13:47:00 -05:00
Tim Potter
9c4436a124 r11967: Fix more 64-bit warnings. 2007-10-10 13:46:52 -05:00
Stefan Metzmacher
9872348ac8 r11896: max_version of 0 means unlimited
metze
2007-10-10 13:46:43 -05:00
Stefan Metzmacher
f5b672edc0 r11879: some fixes for the new ldb api
metze
2007-10-10 13:46:40 -05:00
Simo Sorce
22c8c97e6f r11567: Ldb API change patch.
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.
2007-10-10 13:45:53 -05:00
Stefan Metzmacher
471c0ca4ab r11052: bring samba4 uptodate with the samba4-winsrepl branch,
before the bad merge

metze
2007-10-10 13:44:43 -05:00
Stefan Metzmacher
82bad3f3ef r11040: r10357@SERNOX: metze | 2005-09-20 21:28:11 +0200
- 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
2007-10-10 13:42:34 -05:00
Stefan Metzmacher
1b2effa01b r11038: r10351@SERNOX: metze | 2005-09-20 16:11:17 +0200
fix namebuf_len, when type is 0x00

 metze
2007-10-10 13:42:33 -05:00
Stefan Metzmacher
aecc9ca1cc r11036: r10349@SERNOX: metze | 2005-09-20 15:38:31 +0200
we know answer send_requests correctly

 metze
2007-10-10 13:42:33 -05:00
Stefan Metzmacher
a25279f052 r11033: r10343@SERNOX: metze | 2005-09-20 11:03:20 +0200
- reply to table_queries
 - reply to a send_request with an empty send_reply

 metze
2007-10-10 13:42:32 -05:00
Stefan Metzmacher
42b69461aa r11014: r10139@SERNOX: metze | 2005-09-10 10:32:36 +0200
- 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
2007-10-10 13:41:30 -05:00
Stefan Metzmacher
c9a8544446 r11007: r10109@SERNOX: metze | 2005-09-09 12:29:12 +0200
- move structs to a seperate header file
 - move the code for the wreplsrv_in_call handling to a seperate file

 metze
2007-10-10 13:41:25 -05:00