summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant parameter fd from SMB_VFS_WRITE().Michael Adam2008-01-107-18/+18
| | | | | Michael (This used to be commit c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1)
* Remove redundant parameter fd from SMB_VFS_READ().Michael Adam2008-01-107-17/+18
| | | | | Michael (This used to be commit a8fc2ddad8d5f7c6c00cb36c74a32a02d69d1d04)
* Move transfer_file and transfer_file_internal to a module of their own.Michael Adam2008-01-105-88/+147
| | | | | | | | | Also, don't auto-generate prototypes of the (two) exported functions but make a start in having handwritten prototypes in dedicated header files (not in includes.h ... :-) Michael (This used to be commit 395f29d8b768a56af20b37f185eccdc5f37b68d5)
* Reformat some code I just touched.Michael Adam2008-01-101-12/+20
| | | | | Michael (This used to be commit 4ed238b1e46f7680a29ebdbfe9500d16718f9057)
* Make casts to (void *) explicit to remove compiler warnings.Michael Adam2008-01-101-1/+2
| | | | | Michael (This used to be commit cbbfbd7a63fe0fc479a1b63b4552c713633dd6be)
* Fix a really silly typo.Michael Adam2008-01-101-1/+1
| | | | | Michael (This used to be commit 7b0af7cdc97d4bbcbd73a9474871217511b92c3a)
* Correctly abstract the transfer_file mechanism with callbacks and void ptrs.Michael Adam2008-01-102-16/+32
| | | | | | | This removes the in_fsp and out_fsp global variables hack from smbd/vfs.c. Michael (This used to be commit b2e7cdc6e899ca3c16edbb6c8786ff9aa999fa6e)
* use talloc_tos() in share_access_check()Volker Lendecke2008-01-101-8/+3
| | | | (This used to be commit ac2bb838d537ca563ad2fe770b3e1c2fe8b1d9e7)
* Some more talloc_tos()Volker Lendecke2008-01-103-13/+13
| | | | (This used to be commit 444e35e7df1f13fc285183da8fb41b30ad99a3fa)
* use talloc_tos in a few more placesVolker Lendecke2008-01-107-16/+18
| | | | (This used to be commit 65dd869bea351010c67f02046ae4134bdada1a4c)
* Remove unused string.Günther Deschner2008-01-101-3/+0
| | | | | Guenther (This used to be commit 88d6683872f4bb9c3074280f385f73c7af9de784)
* Fix a c++ warningVolker Lendecke2008-01-101-1/+2
| | | | (This used to be commit ee905a085fff5410d02c3e5fa2664e989de4afd4)
* talloc_free_children can only reset pool if it's emptyVolker Lendecke2008-01-101-1/+2
| | | | (This used to be commit 0272b46515b4c4515d5cad8e86fab61d8e91e29e)
* Mark talloc_pool memory for valgrindVolker Lendecke2008-01-101-3/+16
| | | | (This used to be commit d89e42f1d2faa018c584025296d6be8195cbcf20)
* Fix suspicious Makefile lineVolker Lendecke2008-01-101-2/+2
| | | | | | If @WINBIND_KRB5_LOCATOR@ is not defined, this leads to a line with just one tab in. (This used to be commit af07adaf4293899fcbded666289ffa7479ca0501)
* Form a proper hierarchy in talloc_stackVolker Lendecke2008-01-101-3/+10
| | | | | | This way talloc_stackframe() can benefit from a pool put on the stack further up. No need to remove talloc_stackframe(). (This used to be commit be6fe381168321ae62e079cd977cbef675c532d4)
* Fixup hot paths - add macro for toupper (c < 0x80).Jeremy Allison2008-01-093-11/+36
| | | | | | This now matches 3.0.x on my micro-tests. Jeremy. (This used to be commit 329b924cba8225002ca40db26c45b31d141a0925)
* Make use of talloc_pool in the main codepaths. Remove the sub-contexts.Jeremy Allison2008-01-096-52/+12
| | | | | Jeremy. (This used to be commit bc932b8ad4396f76b71c43efe9a6346f89c3632c)
* Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2008-01-092-0/+3
|\ | | | | | | | | | | v3-2-test (This used to be commit f98c68a8a4882cb0a1b7e8985f3eba5ebb8287e3)
| * Try and fix the AIX build.Michael Adam2008-01-101-0/+1
| | | | | | | | | | | | | | The __ss_family workaround is in lib/replace/system/network.h ... Michael (This used to be commit 778199cf00196f81fd96deae1370d8cbc438c5bf)
| * Enable building the notify_fam module.Michael Adam2008-01-101-0/+2
| | | | | | | | | | | | | | Found by Timur I. Bakeyev <timur@com.bat.ru>. Michael (This used to be commit ece34fd2fe4bcd3f88a31a42faaba89248da3ba9)
* | Add the calls to make use of talloc_pools in a talloc_stackframe.Jeremy Allison2008-01-092-2/+17
| | | | | | | | | | Jeremy. (This used to be commit d27e6c0548d21394f6399d3b737d175ffed8420d)
* | Implement talloc_pool()Volker Lendecke2008-01-093-7/+207
|/ | | | | | | | | | | | | | | | | | | | A talloc pool is a chunk of memory that can be used as a context for further talloc calls. Allocations with the pool as the parent just chew from that memory by incrementing a pointer. If the talloc pool is full, then we fall back to the normal system-level malloc(3) to get memory. The use case for talloc pools is the transient memory that is used for handling a single SMB request. Incrementing a pointer will be way faster than any malloc implementation. There is a downside of this: If you use talloc_steal() to move something out of the pool, the whole pool memory is kept around until the last object inside the pool is freed. So if you talloc_free() the pool, it might happen that the memory is freed later. So don't hang anything off a talloc pool that should live long. Volker (This used to be commit 287e29d988813007eeebc0c2bef3b46ab8bedee9)
* Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2008-01-094-5/+6
|\ | | | | | | | | | | v3-2-test (This used to be commit 92fcf22b79809393c734e4005c34a5e7e4aaa912)
| * Fix the max_dead_record calculationsVolker Lendecke2008-01-091-4/+1
| | | | | | | | (This used to be commit 2a5c53220a5cc2b4a80fc7c6cb38e87789c5e797)
| * Try to fix the build on hosts that HAVE_LDAP but don't HAVE_KRB5.Michael Adam2008-01-091-0/+3
| | | | | | | | | | Michael (This used to be commit 829de79051cd1d1cc67c4c40fdc8e08c44450a09)
| * Fix a memleak found by the IBM checker.Michael Adam2008-01-091-0/+1
| | | | | | | | | | Michael (This used to be commit b4a37a66bbd8f5346de743d4ab427d6671e29075)
| * Fix memleak in ldapsam_rename_sam_account() found by IBM checker.Michael Adam2008-01-091-1/+1
| | | | | | | | | | | | | | The check for out of memory was the wrong way round. Michael (This used to be commit d7a7b793203b986823859ac5171d2d4c30e52415)
* | Try and fix the AIX build.Jeremy Allison2008-01-091-1/+9
| | | | | | | | | | Jeremy. (This used to be commit 231a148badf1f9b868ed1d37532020defa27bbd6)
* | Ensure we don't take address of one past buffer.Jeremy Allison2008-01-091-1/+1
|/ | | | | Jeremy. (This used to be commit 318cbcfae51fc5dae549c60107d12480d8e478c8)
* Another attempt to fix builds w/o ldap and/or krb5.Günther Deschner2008-01-091-9/+9
| | | | | Guenther (This used to be commit e73e3da772bd024f1d74fc41b832f181ba5c43bd)
* Re-run make idl to get even nicer pidl generated server code.Günther Deschner2008-01-0912-10260/+10992
| | | | | Guenther (This used to be commit 6169dea4dc3c4fc5eb1caefde828ed896cf048c5)
* Correct comment. Default debug level of smbclient is 1, not 0.Karolin Seeger2008-01-091-1/+1
| | | | (This used to be commit 9c81125e6d3df49806e1c0b39409ffac8e3a0fd1)
* Attempt to fix the compile of source/utils/net_dns.cVolker Lendecke2008-01-091-5/+7
| | | | | Jeremy, please check! (This used to be commit 66d3012bf422b2ffc47fa6a405269bad2a80bd6f)
* Re-run make idl. The pidl generated code now fully complies to coding standards.Günther Deschner2008-01-0924-1830/+7842
| | | | | Guenther (This used to be commit 3d34c87612138e4457e824e1a6e3981d1c3fe238)
* Fix memory handling in torture/cmd_vfs.c:cmd_open and don't leak fsp_name.Michael Adam2008-01-091-0/+13
| | | | | Michael (This used to be commit f93fc818143a7442a6e8a90f16f60c536a5b8f9e)
* Reduce stat cache size defaultVolker Lendecke2008-01-091-1/+1
| | | | | Now that we have a LRU scheme for the stat cache we can live with a lot less (This used to be commit 9e736aab07b91744d4c14a55f6f7c55f51dd80f6)
* Replace an uninitialized variableVolker Lendecke2008-01-091-0/+2
| | | | | Reported by the IBM checker (This used to be commit 48f61e4b9fce5ea4f4bc3cf55530bb757c0def07)
* Add libnet_join_derive_salting_principal().Günther Deschner2008-01-091-0/+55
| | | | | Guenther (This used to be commit 95129a28cfa57d8e5bd767b92f065abd1d32a569)
* ensure uni_name.buffer is initialisedVolker Lendecke2008-01-091-0/+2
| | | | | merge from http://samba.org/~tridge/3_0-ctdb (This used to be commit 2938e74dea1695c813d6220a839b248dbc3b1d8f)
* Fix CID 461 - resource leak on error.Jeremy Allison2008-01-081-0/+4
| | | | | Jeremy. (This used to be commit eea07b0c83985af60395f8a31de5bac4e5398cff)
* Fix CID 460 - resource leak on error.Jeremy Allison2008-01-081-0/+1
| | | | | Jeremy. (This used to be commit d61831164b482d02e0eef3c28aeed93d3e44433f)
* Fix resource leak found by coverity (CID 521).Jeremy Allison2008-01-081-0/+4
| | | | | Jeremy. (This used to be commit acfb233acc7324b8d431d5cb777a1933d173b3dc)
* Change registry_create_admin_token() to return NTSTATUS.Michael Adam2008-01-093-10/+18
| | | | | Michael (This used to be commit 9cd30fb25c42e79946b5140994d0bf2ef4c62f90)
* Move content of comment.Michael Adam2008-01-091-4/+4
| | | | | Michael (This used to be commit ed4dd00c5ae8e4995ace9326f915ae4bd15d96b3)
* Convert add_sid_to_array() add_sid_to_array_unique() to return NTSTATUS.Michael Adam2008-01-0915-138/+203
| | | | | Michael (This used to be commit 6b2b9a60ef857ec31da5fea631535205fbdede4a)
* Fix prototype: Add a void to an empty function parameter list.Michael Adam2008-01-091-1/+1
| | | | | Michael (This used to be commit 3f89aea8e4df3a2de8c5e4c6f4e417567adb2d67)
* Don't leak data.dptr on error path.Michael Adam2008-01-091-3/+5
| | | | | Michael (This used to be commit d14de0692c623ff07dada45a3d7bec03ceca2b7e)
* Extend a comment.Michael Adam2008-01-091-1/+3
| | | | | Michael (This used to be commit 081435250709af734ec1e49e2539b091f2d92dfb)
* Add a comment.Michael Adam2008-01-091-0/+1
| | | | | Michael (This used to be commit 3a4bf4b7c3081048f0d5491dae6610388c268c2f)