summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11067: Support for [string] in the Ethereal parser generatorJelmer Vernooij2-10/+42
(This used to be commit 1d5db487bb4afffac13b0d0904aea6b8664b75a8)
2007-10-10r11061: Samba3 parser generator fixes:Jelmer Vernooij3-12/+40
* Add (limited) support for [string] * Don't generate (and set) header elements for top level ref pointers as they don't appear on the wire (This used to be commit 765adaf19be264e2d23a22eaed3027faededf8b6)
2007-10-10r11058: remove useless talloc contextStefan Metzmacher1-4/+1
metze (This used to be commit d9d3fe1b8aa34f5d87b73b94253b4230303cba76)
2007-10-10r11053: fix the logic,Stefan Metzmacher1-1/+1
this should fix make test metze (This used to be commit c7742a2829d64c3a37cf3361fc66811724282170)
2007-10-10r11052: bring samba4 uptodate with the samba4-winsrepl branch,Stefan Metzmacher28-442/+681
before the bad merge metze (This used to be commit 471c0ca4abb17fb5f73c0efed195c67628c1c06e)
2007-10-10r11051: fix the build,Stefan Metzmacher1-0/+1
sorry for the latest spam! I was testing svk push (wasn't such a good idea...) metze (This used to be commit fd5e746d8f6760dcb7a40bfe04201711b77ff24b)
2007-10-10r11048: r10539@SERNOX: metze | 2005-09-27 14:59:47 +0200Stefan Metzmacher10-30/+1231
fix the build for changes from SAMBA_4_0 branch metze r10541@SERNOX: metze | 2005-09-27 15:05:33 +0200 use a transaction when we allocate a new version metze r10549@SERNOX: metze | 2005-09-27 18:58:37 +0200 - add first start of wins pull replication - we not yet apply records to our database but we fetch them correct form our partners (we need conflict handling for this) - we also need to filter out our own records! metze r10568@SERNOX: metze | 2005-09-28 11:33:04 +0200 move composite helpers to a seperate file, create a a seperate file for the conflict resolving logic metze r10571@SERNOX: metze | 2005-09-28 12:00:17 +0200 add forward declarations...to fix the build metze r10612@SERNOX: metze | 2005-09-29 16:11:06 +0200 we have a nbt_name now, and don't need to parse it metze r10614@SERNOX: metze | 2005-09-29 16:38:35 +0200 filter out our own records metze r10620@SERNOX: metze | 2005-09-29 18:07:08 +0200 - handle mutliple addresses in WREPL_REPL_SEND_REPLY - make strings always valid talloc pointers metze r10621@SERNOX: metze | 2005-09-29 18:09:41 +0200 use debug level 2 metze r10622@SERNOX: metze | 2005-09-29 18:48:05 +0200 - add one more debug message when we reply no record - fix min max logic metze r10623@SERNOX: metze | 2005-09-29 20:49:06 +0200 build fixes... metze r10629@SERNOX: metze | 2005-09-30 00:11:41 +0200 - use seperate attributes for type, state, nodetype, is_static ... the winserver.c code needs some more updates to correctly, create special group and multihomed registrations... metze r10640@SERNOX: metze | 2005-09-30 04:07:34 +0200 - add some short path for the composite helper functions they will be used in the next commit metze r10642@SERNOX: metze | 2005-09-30 06:29:06 +0200 fix the build metze r10655@SERNOX: metze | 2005-09-30 17:36:49 +0200 - implement the WREPL_REPL_UPDATE* and WREPL_REPL_INFORM* this includes the connection fliping into a client connection for WREPL_REPL_UPDATE* NOTE: I not yet found out how to get the w2k server to use INFORM against samba4 it uses inform against w2k and w2k3 but UPDATE against nt4 and samba4 what's left now is to be able to initiate INFORM and UPDATE requests to notify our pull partners metze r10727@SERNOX: metze | 2005-10-05 14:11:05 +0200 fix the build metze r10770@SERNOX: metze | 2005-10-06 16:56:01 +0200 - move the table filling to a seperate function, will be reused later - fix the build, wrepl_nbt_name fixes - remove state -> update_state metze r10771@SERNOX: metze | 2005-10-06 17:04:48 +0200 add a function to create a wreplsrv_in_connection from a client connection metze r10772@SERNOX: metze | 2005-10-06 17:13:51 +0200 - make the connection code more generic to handle the pull cached connection, push cached connection or given connections - when we don't use a cached connection, disconnection when a pull_cycle is done - fix the build and use the configured source ip metze r10773@SERNOX: metze | 2005-10-06 17:18:49 +0200 - add composite functions for push notification metze r10774@SERNOX: metze | 2005-10-06 17:23:46 +0200 - use periodic push notifycation, this is just for now as it needs to be configurable and and be triggered when the local database has changes since the last notify - I also need to work out how to decide if the partner supports persistent connections and WREPL_REPL_INFORM* messages metze r10923@SERNOX: metze | 2005-10-12 16:52:34 +0200 fix the build becuse of conflicts with main SAMBA_4_0 tree metze (This used to be commit 6d97dd6e50423758d081459ec551f4e04dfd818d)
2007-10-10r11047:Stefan Metzmacher1-8/+70
(This used to be commit 177d60f42ac05da2efe47fe4911bc5818662a7cd)
2007-10-10r11045:Stefan Metzmacher1-0/+52
(This used to be commit a2c6969306a18b0bb9629b3eae8a5e4a1aeae285)
2007-10-10r11044:Stefan Metzmacher1-0/+52
(This used to be commit 914e16f5676234862ebaf5d3c6e02bc1eb47ce51)
2007-10-10r11043: r10362@SERNOX: metze | 2005-09-20 22:37:28 +0200Stefan Metzmacher4-1/+58
repare for pull replication support metze (This used to be commit a75402c45f5bcd3b199ad30af06ee34161c5560b)
2007-10-10r11042: r10361@SERNOX: metze | 2005-09-20 22:36:28 +0200Stefan Metzmacher1-7/+14
we should only use 255.255.255.255 for group records, only when we reply, not when the name is registered. the real address is used for replication metze (This used to be commit 45a774c63cbbe4dbd6e17510cf2c7d59d30ea9be)
2007-10-10r11041: r10358@SERNOX: metze | 2005-09-20 21:40:03 +0200Stefan Metzmacher3-18/+18
fix some missing nbt_peer_socket cases metze (This used to be commit bd25231c57f60296ad954d4f333c14d83781a1d1)
2007-10-10r11040: r10357@SERNOX: metze | 2005-09-20 21:28:11 +0200Stefan Metzmacher5-63/+115
- 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)
2007-10-10r11039: r10352@SERNOX: metze | 2005-09-20 16:50:04 +0200Stefan Metzmacher3-298/+332
move stuff the belong to incoming connections only into a seperate file wrepl_in_connection.c metze (This used to be commit c2b2b582203d9fe2596ebc9cf2600d52e6f61831)
2007-10-10r11038: r10351@SERNOX: metze | 2005-09-20 16:11:17 +0200Stefan Metzmacher1-2/+8
fix namebuf_len, when type is 0x00 metze (This used to be commit 1b2effa01bf16f9575e7e43e037a0797f98426b8)
2007-10-10r11037:Stefan Metzmacher13-6/+26
(This used to be commit 6913e338405a5aca5c70cf6e022532c596ed0a36)
2007-10-10r11036: r10349@SERNOX: metze | 2005-09-20 15:38:31 +0200Stefan Metzmacher2-2/+176
we know answer send_requests correctly metze (This used to be commit aecc9ca1cc78ce5ea766954629c03ea866c36bc1)
2007-10-10r11035: r10347@SERNOX: metze | 2005-09-20 13:40:24 +0200Stefan Metzmacher2-1/+2
make wreplsrv_find_owner public metze (This used to be commit 6fa37c0a2bc1d2f0d29c69d8448276c1f1791a45)
2007-10-10r11034: r10344@SERNOX: metze | 2005-09-20 11:35:54 +0200Stefan Metzmacher2-21/+36
create winsdb_record() and winsdb_message() as public functions so that they can be used in the wrepl_server/ metze (This used to be commit b8b48c8aa5f741ad020d0a4debac665f8b2953ab)
2007-10-10r11033: r10343@SERNOX: metze | 2005-09-20 11:03:20 +0200Stefan Metzmacher1-7/+81
- reply to table_queries - reply to a send_request with an empty send_reply metze (This used to be commit a25279f05243fc89c2cc9267d59974bc17eaf47c)
2007-10-10r11032: r10342@SERNOX: metze | 2005-09-20 11:00:26 +0200Stefan Metzmacher3-10/+265
- load our wins partners at start time: # this is a sample partner record: dn: name=SERNOX4-1,CN=PARTNERS objectClass: wreplPartner name: SERNOX4-9 address: 172.31.1.1 ourAddress: 172.31.9.1 type: 0x3 pullInterval: 3600 - go through all winsdb records in the database and create the wins_owner table, but don't add ourself to it as out nbt task will update the db too, we refetch the local max_versiion, each time we need it, (that typicaly onces per replication cycle) metze (This used to be commit 4490a2864e21f957547c30675e5f096a4409e5fb)
2007-10-10r11030: r10338@SERNOX: metze | 2005-09-20 09:20:49 +0200Stefan Metzmacher1-0/+1
fix uninitialized variable metze (This used to be commit e6fb40e51d2742c05c2fbbb96f367710e46ba7ae)
2007-10-10r11029:Stefan Metzmacher1-16/+96
(This used to be commit 49e61d011c702ae51982d45025ad35e44a6c39d6)
2007-10-10r11027: r10319@SERNOX: metze | 2005-09-19 18:31:23 +0200Stefan Metzmacher4-13/+104
- store the wins owner on the record and the wins owner and expire time on each address - we use "0.0.0.0" to mark entries which are registered at the local wins server - we use this ldif-format: address: 172.31.9.1;winsOwner:0.0.0.0;expireTime:20050923032337.0Z address: 172.31.1.1;winsOwner:172.31.9.202;expireTime:20050923032330.0Z metze (This used to be commit 752025a0e10bfea646784087b5128841ec127a65)
2007-10-10r11026: r10318@SERNOX: metze | 2005-09-19 16:38:15 +0200Stefan Metzmacher4-23/+135
move to struct winsdb_addr, (I'll add expiry_time and the wins_owner later tridge: can you please review the new winsdb_addr_* functions carefull, look for off-by-one bugs, etc. metze (This used to be commit 72eba90465c478ac9d363ed0c88efea27afd158e)
2007-10-10r11025: r10313@SERNOX: metze | 2005-09-19 12:19:27 +0200Stefan Metzmacher1-1/+20
add wrapper functions for the "address" attribute in the winsdb, the goal is to store the expiry time and the wins owner per address, which is needed for wins replication metze (This used to be commit 2fd3bbd0449af3702bf473f97474bc1343f7a502)
2007-10-10r11024: r10311@SERNOX: metze | 2005-09-19 11:27:34 +0200Stefan Metzmacher1-3/+0
remove doublicate NULL-pointer check metze (This used to be commit eb1dee09652beb6d401cdc2058427db5f18bea67)
2007-10-10r11023: r10310@SERNOX: metze | 2005-09-19 11:21:39 +0200Stefan Metzmacher2-5/+39
- open the winsdb in the wrepl server - add dummy function for setup the replication partners metze (This used to be commit da3d18e4545da3bd1841ffc31f253e533f7ea016)
2007-10-10r11022: r10309@SERNOX: metze | 2005-09-19 11:08:37 +0200Stefan Metzmacher3-33/+36
- add winsdb_connect() function, so that the winsdb can be opened by the wrepl_server/ code - remove maintaining of a min_version field, as it was implemented incorrect, and is maybe not needed at all - fix handling of max_version, (we started with 0, on each server start) metze (This used to be commit e6106e21a0b097ec45948a08f499e44d32db8d2a)
2007-10-10r11014: r10139@SERNOX: metze | 2005-09-10 10:32:36 +0200Stefan Metzmacher3-30/+159
- 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)
2007-10-10r11011: r10124@SERNOX: metze | 2005-09-09 20:22:00 +0200Stefan Metzmacher1-0/+1
r10113@SERNOX: metze | 2005-09-09 18:00:02 +0200 rename libcli/wins to libcli/wrepl metze r10115@SERNOX: metze | 2005-09-09 18:01:49 +0200 bind client connection to the best interface, to the partner metze r10116@SERNOX: jelmer | 2005-09-09 18:23:50 +0200 Print out a couple more warnings. (This used to be commit 66f931071e41dbd871ca8e1c2de8414a6230ab33)
2007-10-10r11007: r10109@SERNOX: metze | 2005-09-09 12:29:12 +0200Stefan Metzmacher5-156/+218
- 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)
2007-10-10r11004: r10083@SERNOX: metze | 2005-09-08 16:50:32 +0200Stefan Metzmacher4-0/+521
This is the start of a WINS-Replicaton server: The design is to handle incoming and outgoing connections, in one process, because it make thing much easier, and there's no need to it otherwise. The current code only parses incoming packets, and can reply to them, but currently only a standard error packets STOP_ASSOCIATON with reason == 4 (I think it means your are not configured as a wins partner of me) (the server service is called "wrepl") metze (This used to be commit 55a2016ba379d035cd559fb55a280e2ee9f15178)
2007-10-10r10997: r11980@SERNOX (orig r10037): metze | 2005-09-05 14:21:40 +0200Stefan Metzmacher22-196/+218
add struct nbt_peer_socket and use it instead of passing const char *addr, uint16 port everyhwere (tridge: can you review this please, (make test works) metze (This used to be commit a599d7a4ae881c94be2c2d908a398838549942bb)
2007-10-10r10995: fix released vs. releasedStefan Metzmacher1-11/+9
metze (This used to be commit 573c2df2badbba12fb4d909e7ad4edf6678c7851)
2007-10-10r10993: - make us able to check released records, we can only do that by ↵Stefan Metzmacher1-4/+293
finding out the old record was gone - add more printf(), so -d 10 isn't needed any more metze (This used to be commit afe5d2ab8522671607faafc3de895e4ff915dab4)
2007-10-10r10991: - create always a valid bind_info28 blocks, so that we don't need to ↵Stefan Metzmacher1-45/+100
work with unions in the main code - loop also in level 1,2 replies metze (This used to be commit c3276bd169961d04f2bd541e6b73ee40df016c3d)
2007-10-10r10988: print out the password blobs, withStefan Metzmacher1-0/+57
--option="dssync:print_pwd_blobs=yes" metze (This used to be commit b06de6d39cd21d5096e4041e218370263d8096b0)
2007-10-10r10987: add support for tcp kdc requestsStefan Metzmacher2-34/+271
metze (This used to be commit 4c4f19cc23d256c600819e8b0fddc7734b97e131)
2007-10-10r10986: loop also when we use mszip compressionStefan Metzmacher1-4/+17
metze (This used to be commit e32488667c59c30d66528e8fa31c55037f36cd01)
2007-10-10r10985: To aid in testing, this allows us to easily force kerberos to use ↵Andrew Bartlett1-5/+9
UDP or TCP. Andrew Bartlett (This used to be commit ae0b4028ff7033dab70687376c2090baa692cf58)
2007-10-10r10984: fix valgrind warnings, I had used that to check if w2k3 accept ↵Stefan Metzmacher1-1/+1
random values here, as w2k generates also random stuff here metze (This used to be commit e04c78e4e925ce385651eb0e77e3ea7aee9e8008)
2007-10-10r10983: Another case were we want to avoid DNS for unqualified names.Andrew Bartlett1-1/+8
Andrew Bartlett (This used to be commit 1d7094b8dfd53dfda55db7ce30f47f74864093bf)
2007-10-10r10982: Move credentials.h into auth/credentials, and add flags needed byAndrew Bartlett2-1/+6
previous patch. Andrew Bartlett (This used to be commit 2c537d47ba99885c6462016342b1cc29df4c54c5)
2007-10-10r10981: Pull code to decide between and implement NTLMv2, NTLM and LMAndrew Bartlett5-210/+290
authentication out of the various callers and into the kitchen sink.. err, credentials subsystem. This should ensure consistant logic, as well as get us one step closer to security=server operation in future. Andrew Bartlett (This used to be commit 09c95763301c0f7770d56462e8af4169b8c171fb)
2007-10-10r10980: Use ldb_attr_cmp and ldb_dn_escape_valueAndrew Bartlett1-6/+6
Andrew Bartlett (This used to be commit 2b1c88f628b27ffda08de3f4ac83c1f3b052a078)
2007-10-10r10973: - make debugging a bit easierStefan Metzmacher1-1/+277
- add unique vs. normal group section in replica vs replica conflict testing metze (This used to be commit b94be6b1191aa18642b334dc1fe1529d977d6c57)
2007-10-10r10971: - test static records with the same owner tooStefan Metzmacher1-12/+388
- test with different owners, and all combinations of unique records metze (This used to be commit 8df80c5649467be6cb4dd532974a083173a5a920)
2007-10-10r10967: move the function in the order they are usedStefan Metzmacher1-98/+99
metze (This used to be commit 6f44ae5a6950cee5722758030df862b0f919f43b)