Stefan Metzmacher
dd5afc5a77
r13087: don't store timestamps for static records
...
(only a per record timestamp when it's not active)
metze
(This used to be commit aba54b870852a9e1ccc442703591fda0f5bde51b)
2007-10-10 13:51:23 -05:00
Stefan Metzmacher
f25ad21617
r13060: - return only active addresses in name query responses
...
- replicate only active addresses
metze
(This used to be commit 6325abd95c5df855e8d1de2be9745940a29ba00a)
2007-10-10 13:51:20 -05:00
Stefan Metzmacher
eead6d310b
r13007: let our winsclient code register multihomed records with
...
our winsserver and don't defend our local name against
our own register packets...
this won gave quite confusing logmessages...
metze
(This used to be commit 31ce24d7b1d2945c45c4f5d6376d5041df8b6982)
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
c63937a1c0
r13006: always debug the unicast and broadcast address
...
metze
(This used to be commit f7481a4c8c9933e8a9ccfe10ca8e15afad717d99)
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
ba4df97eb9
r13005: - use nbtd:max_refresh_time=12345 also for name refresh with a wins server
...
metze
(This used to be commit 5e3639edaf551068466caaf48faa9b2bbfed1041)
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
044c570ea9
r12958: don't bind to '255.255.255.255'
...
fix bug #3411
metze
(This used to be commit 2cb587c779b5f70e4818fa57fcb2b8ee4a2a276b)
2007-10-10 13:51:12 -05:00
Stefan Metzmacher
b71075e836
r12934: do somemore debugging of the received browse packets,
...
(so I may learn about the protocol, while watching the debug output)
metze
(This used to be commit 40d7033a1472e5f6b7760984b7d2b6b7db2db860)
2007-10-10 13:51:11 -05:00
Stefan Metzmacher
cd9752d61f
r12909: add an ldb module for the wins.ldb,
...
it currently doesn't do much, but it's later
prevent adding corrupted records via ldbedit,
and will take care of the versionID counter
metze
(This used to be commit a6f279bc43c74cf4dc116cb6ba99f1aed13a4de9)
2007-10-10 13:51:02 -05:00
Stefan Metzmacher
4c117a001f
r12906: return the correct nb_flags
...
metze
(This used to be commit c52436108d1628feb50c9bf720ae30c4dc469b34)
2007-10-10 13:51:01 -05:00
Stefan Metzmacher
c4a5381154
r12898: prepare the 'wins hook' feature, but we only debug out a 'TODO: run script ...'
...
metze
(This used to be commit d28c8ce66db61cff193ac06e8e5d7d6aa5059e9e)
2007-10-10 13:51:00 -05:00
Stefan Metzmacher
f3ef8fc691
r12897: make it possible to use nosync transaction to speed things up,
...
(just for testing)
metze
(This used to be commit 677c1aa4663e9e5f0729a312152565a6740dbab2)
2007-10-10 13:51:00 -05:00
Andrew Bartlett
f55ea8bb3d
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
(This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
2007-10-10 13:49:57 -05:00
Stefan Metzmacher
d93e1b018e
r12779: allow static tomstones
...
metze
(This used to be commit 966872646e5ac38ed5b3eb41cf339ec8f1583f17)
2007-10-10 13:49:54 -05:00
Stefan Metzmacher
da8151ae9f
r12755: check the return value of ldb_timestring(), as this fails,
...
when gmtime() fails...
metze
(This used to be commit 523746f2712371041800301294c73bb7686bf2d5)
2007-10-10 13:49:50 -05:00
Stefan Metzmacher
a417674925
r12700: fix name release of replica records, we need to become the owner and allocate a new versionID
...
so that it gets replicated to the old owning wins server directly
metze
(This used to be commit 72198f00ea933db68f7ec5d85cac00c98b37a077)
2007-10-10 13:49:41 -05:00
Stefan Metzmacher
6d16a217d3
r12673: create functions for get_maxVersion(), set_maxVersion() and get_seqnumber()
...
at the winsdb layer. the ones in wrepl_server/ will be removed later.
metze
(This used to be commit 22cdbc75df3bedfc651891f708a3439ccc77abcc)
2007-10-10 13:49:36 -05:00
Stefan Metzmacher
c4d0b5729a
r12648: implement the dns proxy feature
...
metze
(This used to be commit b07b201c8671e04d6faae162d883d84c79f0ee94)
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
24c54281a9
r12647: make use of the str_list_add function
...
metze
(This used to be commit e47873a1a391c8a8b469528d44c17dfe1ea2f553)
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
706ef631f7
r12644: prepare the dns proxy feature for the wins server
...
metze
(This used to be commit 48842cd9abcff744851ad1481309fb901be3a73b)
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
5a26b2d72b
r12619: make sure we don't return more than 25 addresses, as w2k3 crashes in that case
...
I still need to make sure we didn't write such records to our database...
metze
(This used to be commit d0dc0ffa3160041e137b629b4dbbe821044edfe3)
2007-10-10 13:49:05 -05:00
Stefan Metzmacher
905c3ff8e1
r12618: use our primary interface address or the "winsdb:local_owner" -address
...
as winsOwner: attrbute for owned records
metze
(This used to be commit 37dece8304c0b9887740f4d4e8096732045a1785)
2007-10-10 13:49:05 -05:00
Stefan Metzmacher
0391b1cb3a
r12617: create a winsdb_handle and pass that arround,
...
so we later can hang the local owner address, on this handle too
metze
(This used to be commit 49ba4cc11144671cafcbe2967954bfd786ea6e76)
2007-10-10 13:49:05 -05:00
Stefan Metzmacher
bb8a5a2a1e
r12609: - add some comments to a change that went in in the last 'fix the build' commit
...
- we need to reply to name queries with the recursion desired bit set,
to pass the multi homed challenge, when registering our interfaces
with a wins server
metze
(This used to be commit 9dfbce5f34c9e8b55c902fefc8dfaf53f19df9c2)
2007-10-10 13:49:04 -05:00
Jelmer Vernooij
d4de4c2d21
r12608: Remove some unused #include lines.
...
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10 13:49:03 -05:00
Stefan Metzmacher
ab8cd4470c
r12607: fix the build
...
metze
(This used to be commit 5cc955bf5400a415e462853cff47a69ef206a548)
2007-10-10 13:49:03 -05:00
Stefan Metzmacher
805f5d861f
r12606: - fix multihomed registrations
...
always remove the addresses which are no longer valid
- use the wins_challenge_send/recv calls which are also used by the replication
challenge
metze
(This used to be commit 037b5d9f3661fd7a121d1db0a50dc7743d62a5e1)
2007-10-10 13:49:03 -05:00
Stefan Metzmacher
70a15ba4df
r12580: return the first 0x1B address as first address to 0x1C queries
...
metze
(This used to be commit 669009579dfe93b4d5008f93c2949dd4d929baf4)
2007-10-10 13:48:56 -05:00
Stefan Metzmacher
2842acf5e3
r12578: - w2k3 allows entries with 127.0.0.1 as address, so we should do
...
to make it possible to add a static record for localhost or so...
- we already make sure we don't register 127.0.0.1 with our wins server,
so the check for loopback in the non-wins name queries is enough
metze
(This used to be commit f68a883daf4c792e95f7a4be9e7d00e82cc0517b)
2007-10-10 13:48:56 -05:00
Stefan Metzmacher
8faa1f4f9a
r12577: filter the loopback addresses like this 127.*.*.* and not only 127.0.0.1
...
metze
(This used to be commit 3b32d8b6b6565d8c5b3f7e653fdc385cc8cb96ef)
2007-10-10 13:48:56 -05:00
Jelmer Vernooij
2cd5ca7d25
r12542: Move some more prototypes out to seperate headers
...
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10 13:47:55 -05:00
Andrew Tridgell
c8531ef9c8
r12537: finally found the difference between us and w2k3 that caused w2k
...
domain joins to be agonisingly slow! The join is now instant, and
login is fast too
(This used to be commit 1b65713bbc4f44efee24b86900004a222028b733)
2007-10-10 13:47:53 -05:00
Andrew Tridgell
1984ba6ee9
r12535: - simplify string list handling in a couple of places using str_list_add()
...
- don't reply with 127.0.0.1 in NBT or WINS name queries unless the
query came in on the loopback interface. Otherwise clients can end
up talking to themselves, which is not very productive :-)
(This used to be commit df00f8b3428c6d1254e66275c90ae4025cb52c47)
2007-10-10 13:47:53 -05:00
Jelmer Vernooij
0a3c167f6b
r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.
...
(This used to be commit 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
d8e35f8828
r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
...
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
(This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
2007-10-10 13:47:45 -05:00
Stefan Metzmacher
ac4ee3e20b
r12440: fix crash bugs
...
metze
(This used to be commit c7049f8bb60d075921e1ac4d04bf1a216cd0a5f2)
2007-10-10 13:47:39 -05:00
Stefan Metzmacher
f76ee31ccf
r12437: if the client gives us an unicast name query with recursion_desired,
...
it's a wins server request, even if it's a name of one of our interfaces
metze
(This used to be commit 33c1d4a078a16ad45a3957f4d053b089a76f9935)
2007-10-10 13:47:39 -05:00
Stefan Metzmacher
9f270fd112
r12429: make static records always active with a max expire time
...
metze
(This used to be commit 387d680b6f7d3470841a3c0ad3963b0c14853e45)
2007-10-10 13:47:37 -05:00
Stefan Metzmacher
0e77fdc0b9
r12428: releases on 0x1D names are ignored
...
metze
(This used to be commit 84ba71ba274fca91f6f411a46e0a88dc3048df63)
2007-10-10 13:47:37 -05:00
Stefan Metzmacher
b1ea93c016
r12426: w2k3 refused 0x1B names registered as group names
...
metze
(This used to be commit 4ce4baa1b9f509e5b2ebe7921defc12c9cee74d4)
2007-10-10 13:47:37 -05:00
Stefan Metzmacher
aa682976cd
r12425: match w2k3 and store 0x1D names when they're registered as group name,
...
but queries still give not found
metze
(This used to be commit 2e69a7cc21d796e091127c71c0234f9cd09543fd)
2007-10-10 13:47:36 -05:00
Stefan Metzmacher
8b7387ee13
r12424: static records should not be released
...
metze
(This used to be commit 3f90e72e5a0b839ba16892e8ee8aa46967d081da)
2007-10-10 13:47:36 -05:00
Stefan Metzmacher
5b4acf8b10
r12412: - the 0x1E name must be registered as group name
...
- reject wins registration with a static record in the database
metze
(This used to be commit 66b57f5fbf1c2a35972950d655695f014e57d9c5)
2007-10-10 13:47:35 -05:00
Stefan Metzmacher
8a2385c933
r12287: move the wins.ldb into lockdir
...
metze
(This used to be commit bcf04a49e329af6c2a72c0a9cf037cc4efeeb26f)
2007-10-10 13:47:27 -05:00
Stefan Metzmacher
2e51b42c2c
r12229: fix the expire time for released records
...
metze
(This used to be commit 6d355a953838bb551b6aef05b2daaeae13682a7b)
2007-10-10 13:47:22 -05:00
Stefan Metzmacher
2759fc850b
r12228: fix the expire time for RELEASED records
...
metze
(This used to be commit afb0f660a2e4e5ae78c2906e2acf9eba50ea598f)
2007-10-10 13:47:22 -05:00
Andrew Bartlett
a1827a1deb
r12227: I realised that I wasn't yet seeing authenticated LDAP for the ldb
...
backend.
The idea is that every time we open an LDB, we can provide a
session_info and/or credentials. This would allow any ldb to be remote
to LDAP. We should also support provisioning to a authenticated ldap
server.
(They are separate so we can say authenticate as foo for remote, but
here we just want a token of SYSTEM).
Andrew Bartlett
(This used to be commit ae2f3a64ee0b07575624120db45299c65204210b)
2007-10-10 13:47:22 -05:00
Stefan Metzmacher
1fb792114a
r12217: add my copyright
...
metze
(This used to be commit f251c5709678415521b3ebae413a6616daa6e50a)
2007-10-10 13:47:20 -05:00
Stefan Metzmacher
5c7707ddcb
r12070: make sure a unique record with multiple addresses becauses mhomed
...
metze
(This used to be commit 4be3b576f2926279686ecada52144b9df8165a03)
2007-10-10 13:47:05 -05:00
Stefan Metzmacher
7416dd1889
r12022: add NBTD IRPC proxy calls for wins challenge and wins release demand,
...
used for replication conflicts
metze
(This used to be commit d7d14cb2bd9823d7e7d81266ca4014ea5263c714)
2007-10-10 13:47:00 -05:00
Stefan Metzmacher
363d2f69a8
r12021: remove shortpath for winsdb_lookup, this isn't needed
...
metze
(This used to be commit 8fb07b1ea8fdf353da832212289aceef20495bda)
2007-10-10 13:47:00 -05:00