summaryrefslogtreecommitdiff
path: root/source4/nbt_server
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24246: Avoid the annoying 'probable memory leak in ldb' messages, by fixingAndrew Bartlett1-5/+5
some issues in the NBT server (this was a false positive, but easily worked around) and DRSUAPI server. We should take care not to use the ldb_context as a talloc pool, and to always ensure that any results from ldb_search() are moved off that pool with talloc_steal or talloc_free(). To work around the issue in provision, for which I can find no fault (other than a lot of work being done in provision), I've moved the detector trigger to 400 additional blocks. This fixes Bug #4810 by <mwallnoefer@yahoo.de> Andrew Bartlett (This used to be commit 42bcf856203ae3cf43130519904828a143ac8d18)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell22-66/+44
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r22762: Some ldb_map changes:Jelmer Vernooij1-2/+2
* Change license to LGPL, so it can be used by non-Samba users of LDB (cleared with Martin as well). * Include ldb_map in standalone build. * Move ldb_map to its own directory (This used to be commit a90202abca26c0da5425a2f3dd8494077c3290fd)
2007-10-10r22403: this dependencies should be privateStefan Metzmacher1-4/+4
metze (This used to be commit c3cc03ffb290cb7c1eba51e98c52e5e7c1aba5fb)
2007-10-10r21317: this happens very often when you have multihomed nodesStefan Metzmacher1-1/+1
and isn't an error. metze (This used to be commit 6f5e084a7b9a80a3f86799f7e86a63aa0334fa2a)
2007-10-10r21086: add some notesStefan Metzmacher1-0/+7
metze (This used to be commit dfbdb958419a041c1aff039810f7e9cb4320ec2c)
2007-10-10r21085: implement something like the parameterStefan Metzmacher1-0/+105
HKEY_LOCAL_MACHINE\System\CurrentControlset\Services\WINS\Parameters\Randomize1CList nbtd:wins_randomize1Clist=yes nbtd:wins_randomize1Clist_mask=255.255.0.0 metze (This used to be commit eee635ab4d7ae8ffd8962b3d4518a7e6b5a90f97)
2007-10-10r21059: add an option to implement what windows wins server confgure viaStefan Metzmacher1-1/+7
HKEY_LOCAL_MACHINE\System\CurrentControlset\Services\WINS\Parameters\Prepend1BTo1CQueries nbtd:wins_prepend1Bto1Cqueries=no will turn it off metze (This used to be commit 5362eede6b097c3a62d5c4d59151f8e26d89f1c0)
2007-10-10r20149: Remove the smb.conf distinction between PDC and BDC. Now the correctAndrew Bartlett3-9/+21
way to setup a Samba4 DC is to set 'server role = domain controller'. We use the fSMORoleOwner attribute in the base DN to determine the PDC. This patch is quite large, as I have corrected a number of places that assumed taht we are always the PDC, or that used the smb.conf lp_server_role() to determine that. Also included is a warning fix in the SAMR code, where the IDL has seperated a couple of types for group display enumeration. We also now use the ldb database to determine if we should run the global catalog service. In the near future, I will complete the DRSUAPI DsGetDomainControllerInfo server-side on the same basis. Andrew Bartlett (This used to be commit 67d8365e831adf3eaecd8b34dcc481fc82565893)
2007-10-10r19832: better prototypes for the linearization functions:Simo Sorce2-2/+2
- ldb_dn_get_linearized returns a const string - ldb_dn_alloc_linearized allocs astring with the linearized dn (This used to be commit 3929c086d5d0b3f08b1c4f2f3f9602c3f4a9a4bd)
2007-10-10r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce2-17/+17
This patch changes a lot of the code in ldb_dn.c, and also removes and add a number of manipulation functions around. The aim is to avoid validating a dn if not necessary as the validation code is necessarily slow. This is mainly to speed up internal operations where input is not user generated and so we can assume the DNs need no validation. The code is designed to keep the data as a string if possible. The code is not yet 100% perfect, but pass all the tests so far. A memleak is certainly present, I'll work on that next. Simo. (This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)
2007-10-10r19699: - use better names for the site stringsStefan Metzmacher1-2/+2
- use the client_site when creating the server object metze (This used to be commit b02d0e1be343c7d609715237dc842702b6fbe231)
2007-10-10r19531: Make struct ldb_dn opaque and local to ldb_dn.cSimo Sorce1-7/+10
(This used to be commit 889fb983ba1cf8a11424a8b3dc3a5ef76e780082)
2007-10-10r19489: Change ldb_msg_add_value and ldb_msg_add_empty to take a foruth ↵Simo Sorce1-6/+6
argument. This is a pointer to an element pointer. If it is not null it will be filled with the pointer of the manipulated element. Will avoid double searches on the elements list in some cases. (This used to be commit 0fa5d4bc225b83e9f63ac6d75bffc4c08eb6b620)
2007-10-10r19299: Fix possible memleaksSimo Sorce1-2/+2
(This used to be commit 6fad80bb09113a60689061a2de67711c9924708b)
2007-10-10r19262: Don't DEBUG() an unitialised variableAndrew Bartlett1-1/+4
(This used to be commit 548c682fe5aff4657f53d7986642a87566f6f531)
2007-10-10r19092: active replica records cannot expire!Stefan Metzmacher1-3/+16
we handle that in the scavenging code, but were missing that in the wins server name query code... metze (This used to be commit 7fb8dd3ab7a50b6fd77c74cb9078c62013b04a54)
2007-10-10r18434: Fix typo...Andrew Bartlett1-1/+1
(This used to be commit 4f235b88aa0ce6c684bf203ea3cbc81e91a3cd3e)
2007-10-10r18433: Make sure to search below the partitions baseDN for the netbios name.Andrew Bartlett1-1/+4
I think we should have a helper function for this search, we do it too often... Andrew Bartlett (This used to be commit 09327baa0ded3a98398b266c960f827b29021d91)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij5-5/+5
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17824: add a wrapper for the common partitions_basedn calculationAndrew Tridgell1-1/+3
(This used to be commit 09007b0907662a0d147e8eb21d5bdfc90dbffefc)
2007-10-10r17792: io.out.winsserver is a const char *,Stefan Metzmacher2-3/+11
and iname->winserver = talloc_steal(iname, io.out.winsserver) generated a warning, so I changed iname->winsserver to also be a const char *. then a talloc_free(iname->winsserver) would generate a warning, but we can steal it into the tmp_ctx without a warning and that gets free'ed a few lines later. metze (This used to be commit fdef17f81e5fc48cca3dd7611d6d5007147473b1)
2007-10-10r17634: Kill off another case where we used dnsDomain, and point it again atAndrew Bartlett1-5/+5
dnsRoot. Fix to read the nETBIOSName from the correct result. Andrew Bartlett (This used to be commit dc37c48724115940094a0f6003ee2f74fe81d102)
2007-10-10r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher4-4/+4
configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
2007-10-10r17516: Change helper function names to make more clear what they are meant ↵Simo Sorce1-11/+11
to do (This used to be commit ad75cf869550af66119d0293503024d41d834e02)
2007-10-10r17514: Simplify the way to set ldb errors and add anotherSimo Sorce1-6/+2
helper function to set them. (This used to be commit 260868bae56194fcb98d55afc22fc66d96a303df)
2007-10-10r16239: Search for the domain in the correct partition, so this will work withAndrew Bartlett1-1/+2
LDAP backends. Andrew Bartlett (This used to be commit 270a77bfff65c9e1d5d7c535338f9b9b86d53fa3)
2007-10-10r15956: fix warningsStefan Metzmacher1-3/+3
metze (This used to be commit e874a099667c7213cc8dda0a94bf749d7706fbb5)
2007-10-10r15944: rename LDB_ASYNC_ADD -> LDB_ADD, LDB_ASYNC_MODIFY -> LDB_MODIFY, etc...Simo Sorce1-2/+2
(This used to be commit 55d97ef88f377ef1dbf7b1774a15cf9035e2f320)
2007-10-10r15942: Remove the sync internal ldb calls altogether.Simo Sorce1-15/+0
This means that some modules have been disabled as well as they have not been ported to the async interface One of them is the ugly objectclass module. I hope that the change in samldb module will make the MMC happy without the need of this crappy module, we need proper handling in a decent schema module. proxy and ldb_map have also been disabled ldb_sqlite3 need to be ported as well (currenlty just broken). (This used to be commit 51083de795bdcbf649de926e86969adc20239b6d)
2007-10-10r15927: Optimize ldb module traverse while keeping the API intact.Simo Sorce1-16/+20
I was sick of jumping inot each module for each request, even the ones not handle by that module. (This used to be commit 7d65105e885a28584e8555453b90232c43a92bf7)
2007-10-10r15371: Revert some of my previous patch as it was breaking the plain buildJelmer Vernooij1-1/+1
(This used to be commit fac9871122bcea2bb282ba77e5032094733442e5)
2007-10-10r15370: Fix more dependencies for shared libsJelmer Vernooij1-1/+1
(This used to be commit 9a518661fbb76bf1c153afc6f581e888186dc165)
2007-10-10r15301: Use static libraries internally. This required a few hacks in the buildJelmer Vernooij1-1/+3
system - these should be removed later on. (This used to be commit 06547391669e064d2b92f5841b7df5f101a34cb9)
2007-10-10r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacementJelmer Vernooij1-5/+5
for REQUIRED_SUBSYSTEMS. (This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10r14709: allways use the unicast socket of the interface, when reply to DGRAMStefan Metzmacher5-22/+44
requests... this fixes a bug where I thought windows would try KRB5 via broadcast... metze (This used to be commit 0e7b224294ce6a3b5bbdc284181ab496a5a0c058)
2007-10-10r14592: Add support for loading shared modules to LDB.Jelmer Vernooij1-3/+3
(This used to be commit f10fae23f0685b2d9c6174596e1c66d799f02c52)
2007-10-10r14567: Make some more functions public.Jelmer Vernooij1-1/+1
(This used to be commit 8e84e6cb6b172c89072723e07f344da8f4476c1f)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij14-1/+15
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14459: Make this async compatibleSimo Sorce1-8/+13
(This used to be commit a71d762acff73a5ba11927a3afbcbf404314aa24)
2007-10-10r14380: Reduce the size of structs.hJelmer Vernooij1-0/+1
(This used to be commit 1a16a6f1dfa66499af43a6b88b3ea69a6a75f1fe)
2007-10-10r14079: I just found the setproctitle library from alt linux:-)Stefan Metzmacher1-0/+2
- add set_title hook to the process models - use setproctitle library in process_model standard if available - the the title for the task servers and on connections metze (This used to be commit 526f20bbecc9bbd607595637c15fc4001d3f0c70)
2007-10-10r14078: move ldb_global_init() to the main smbd code,Stefan Metzmacher1-2/+0
to fix the process_model standard metze (This used to be commit a465126e15490c5605064eb2387fb589d312db7b)
2007-10-10r13960: Generate makefile rules for installing/removing shared modules.Jelmer Vernooij1-2/+2
(This used to be commit 2c746980328431ab04852dc668899e3eb042da99)
2007-10-10r13941: fix the buildStefan Metzmacher2-2/+2
metze (This used to be commit d9da948b0f7f9698decc140a0a549d27675d14e4)
2007-10-10r13933: fix dependency and make it possible to build as shared_libraryStefan Metzmacher1-1/+2
metze (This used to be commit 159a98a28ac4a1007cd97d1b038ef77fa05cbebf)
2007-10-10r13926: More header splitups.Jelmer Vernooij2-0/+2
(This used to be commit 930daa9f416ecba1d75b8ad46bb42e336545672f)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij9-0/+16
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r13807: print out the netbios name the packet is forStefan Metzmacher3-6/+9
metze (This used to be commit e73cc5060c4cf4ac286c407fb8a323ce6be6b79c)
2007-10-10r13786: [merge] Add registration functions for LDB modulesJelmer Vernooij3-23/+22
Applications that use LDB modules will now have to run ldb_global_init() before they can use LDB. The next step will be adding support for loading LDB modules from .so files. This will also allow us to use one LDB without difference between the standalone and the Samba-specific build (This used to be commit 52a235650514039bf8ffee99a784bbc1b6ae6b92)