Age | Commit message (Collapse) | Author | Files | Lines |
|
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)
|
|
metze
(This used to be commit 3b32d8b6b6565d8c5b3f7e653fdc385cc8cb96ef)
|
|
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
|
|
domain joins to be agonisingly slow! The join is now instant, and
login is fast too
(This used to be commit 1b65713bbc4f44efee24b86900004a222028b733)
|
|
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)
|
|
(This used to be commit 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
|
|
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)
|
|
metze
(This used to be commit c7049f8bb60d075921e1ac4d04bf1a216cd0a5f2)
|
|
it's a wins server request, even if it's a name of one of our interfaces
metze
(This used to be commit 33c1d4a078a16ad45a3957f4d053b089a76f9935)
|
|
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)
|
|
(This used to be commit d87df5fe8e37d3daa3d9cb575450d756dc3d3c8f)
|
|
metze
(This used to be commit 475eb4cc96aa147897fd6b0d5b5cc0509fb1d2a0)
|
|
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)
|
|
Andrew Bartlett
(This used to be commit 51d55d2211195fe5d345ce130001dff1bfbfcef3)
|
|
metze
(This used to be commit 657d45d3e0d57c3457c5e84b732914918db815e6)
|
|
NBT_NM_GROUP flag is set
metze
(This used to be commit 81447f440cb339bf8c72706a752b853d3acb0e2d)
|
|
(This used to be commit 24e10300906c380919d2d631bfb3b8fd6b3f54ba)
|
|
http://lists.samba.org/archive/samba-technical/2005-October/043443.html)
(This used to be commit 7fffc5c9178158249be632ac0ca179c13bd1f98f)
|
|
our ldb doesn't support them, does w2k3 LDAP supports them?
metze
(This used to be commit 97cb22bd9d7f786e9c1609ce97fcd8c54e5725bf)
|
|
so you can use them in search filters,
only for administration not used inside the winserver code
- fix the samba3 ugrade scripts to create a correct samba4 wins.ldb
metze
(This used to be commit 9f3b6746d86583c48097da48c28f50f075bbd3e3)
|
|
this should fix make test
metze
(This used to be commit c7742a2829d64c3a37cf3361fc66811724282170)
|
|
before the bad merge
metze
(This used to be commit 471c0ca4abb17fb5f73c0efed195c67628c1c06e)
|
|
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)
|
|
(This used to be commit 177d60f42ac05da2efe47fe4911bc5818662a7cd)
|
|
(This used to be commit a2c6969306a18b0bb9629b3eae8a5e4a1aeae285)
|
|
(This used to be commit 914e16f5676234862ebaf5d3c6e02bc1eb47ce51)
|
|
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)
|
|
fix some missing nbt_peer_socket cases
metze
(This used to be commit bd25231c57f60296ad954d4f333c14d83781a1d1)
|
|
- 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)
|
|
we know answer send_requests correctly
metze
(This used to be commit aecc9ca1cc78ce5ea766954629c03ea866c36bc1)
|