Age | Commit message (Collapse) | Author | Files | Lines |
|
The module was just used to get to the ldb so it was meningless.
Also add LDB_WAIT_ONCE e relative code in ldb_ildap.c
(This used to be commit d5b467b7c132b0bd4d23918ba7bf3370b1afcce8)
|
|
and as a winsdb_record has a short lifetime, it's no problem
to not free unused addresses directly
metze
(This used to be commit 2a7e22c1171475976d26c6f23ab9c6a19703e718)
|
|
and don't return more than 25 in a name query reply
we now also order the addresses from the newest owned address
to the oldest replica address
metze
(This used to be commit 602ec0f1c66e6cb9e958e0e7cc10d3294737378a)
|
|
tridge: can you please look at the /* TODO: close file handles */
btw I'm not interessted in any result from the script...
metze
(This used to be commit 93409faddf610e7fd6cc910a1e2fd32e69aa7c1d)
|
|
(only a per record timestamp when it's not active)
metze
(This used to be commit aba54b870852a9e1ccc442703591fda0f5bde51b)
|
|
- replicate only active addresses
metze
(This used to be commit 6325abd95c5df855e8d1de2be9745940a29ba00a)
|
|
server
metze
(This used to be commit 5e3639edaf551068466caaf48faa9b2bbfed1041)
|
|
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)
|
|
metze
(This used to be commit c52436108d1628feb50c9bf720ae30c4dc469b34)
|
|
script ...'
metze
(This used to be commit d28c8ce66db61cff193ac06e8e5d7d6aa5059e9e)
|
|
(just for testing)
metze
(This used to be commit 677c1aa4663e9e5f0729a312152565a6740dbab2)
|
|
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 966872646e5ac38ed5b3eb41cf339ec8f1583f17)
|
|
when gmtime() fails...
metze
(This used to be commit 523746f2712371041800301294c73bb7686bf2d5)
|
|
allocate a new versionID
so that it gets replicated to the old owning wins server directly
metze
(This used to be commit 72198f00ea933db68f7ec5d85cac00c98b37a077)
|
|
get_seqnumber()
at the winsdb layer. the ones in wrepl_server/ will be removed later.
metze
(This used to be commit 22cdbc75df3bedfc651891f708a3439ccc77abcc)
|
|
metze
(This used to be commit b07b201c8671e04d6faae162d883d84c79f0ee94)
|
|
metze
(This used to be commit e47873a1a391c8a8b469528d44c17dfe1ea2f553)
|
|
metze
(This used to be commit 48842cd9abcff744851ad1481309fb901be3a73b)
|
|
that case
I still need to make sure we didn't write such records to our database...
metze
(This used to be commit d0dc0ffa3160041e137b629b4dbbe821044edfe3)
|
|
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)
|
|
metze
(This used to be commit 5cc955bf5400a415e462853cff47a69ef206a548)
|
|
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)
|
|
metze
(This used to be commit 669009579dfe93b4d5008f93c2949dd4d929baf4)
|
|
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)
|
|
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
|
|
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)
|
|
metze
(This used to be commit c7049f8bb60d075921e1ac4d04bf1a216cd0a5f2)
|
|
metze
(This used to be commit 387d680b6f7d3470841a3c0ad3963b0c14853e45)
|
|
metze
(This used to be commit 84ba71ba274fca91f6f411a46e0a88dc3048df63)
|
|
metze
(This used to be commit 4ce4baa1b9f509e5b2ebe7921defc12c9cee74d4)
|
|
but queries still give not found
metze
(This used to be commit 2e69a7cc21d796e091127c71c0234f9cd09543fd)
|
|
metze
(This used to be commit 3f90e72e5a0b839ba16892e8ee8aa46967d081da)
|
|
- reject wins registration with a static record in the database
metze
(This used to be commit 66b57f5fbf1c2a35972950d655695f014e57d9c5)
|
|
metze
(This used to be commit bcf04a49e329af6c2a72c0a9cf037cc4efeeb26f)
|
|
metze
(This used to be commit 6d355a953838bb551b6aef05b2daaeae13682a7b)
|
|
metze
(This used to be commit afb0f660a2e4e5ae78c2906e2acf9eba50ea598f)
|
|
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)
|
|
metze
(This used to be commit f251c5709678415521b3ebae413a6616daa6e50a)
|
|
metze
(This used to be commit 4be3b576f2926279686ecada52144b9df8165a03)
|
|
used for replication conflicts
metze
(This used to be commit d7d14cb2bd9823d7e7d81266ca4014ea5263c714)
|
|
metze
(This used to be commit 8fb07b1ea8fdf353da832212289aceef20495bda)
|
|
(This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
|
|
it becomes implicit an MHOMED record
metze
(This used to be commit a5bced92a91f462ac6c41c04012aaeb3f77455de)
|
|
e.g. to return the first address of the 0x1B address as first
address in the 0x1C reply, and handle sgroup merge overflow
of 25 addresses
metze
(This used to be commit a80280e061c03f9d07f7d6df20228de7923bb000)
|
|
owned_released vs. replica
winsrepl torture test
metze
(This used to be commit c8c53593fc7831968499b5028417f0de0a7f421b)
|
|
present
- make sure we don't add active records with 0 addresses
metze
(This used to be commit 5e7324efb338f4c4e390e4930d7ea21056db3a57)
|
|
and add a flags argument to add and modify,the current flags are:
WINSDB_FLAG_ALLOC_VERSION to allocate a new version id for the record
WINSDB_FLAG_TAKE_OWNERSHIP to take the become the wins owner of the record
- fix handling of records with no addresses, this is valid for MHOMED and SGROUP
records when they're not in ACTIVE state
metze
(This used to be commit 0ffea2a7b898b1807e4cdcfbbeba9bd0c6792231)
|