summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-01-11Combine fsp and fromfd to fromfsp in SMB_VFS_SENDFILE().Michael Adam7-25/+22
Michael (This used to be commit a52cfb7d777157c93c9dc26c67f457be592dd537)
2008-01-10Don't print out debug messages at level 0 if we can'tJeremy Allison1-4/+10
bind to a socket if we've already bound to one (this prevents : bind failed on port 445 socket_addr = 0.0.0.0. Error = Address already in use bind failed on port 139 socket_addr = 0.0.0.0. Error = Address already in use messages when trying to bind to an IPv4 address when we've already bound to the IPv6 equivalent. Jeremy. (This used to be commit 3936de735a7bb548df8ce7f06f2cc8f7ffdf56cd)
2008-01-10Fix the build of the cacheprime VFS module after API changes.Michael Adam1-4/+3
Sorry, that had escaped my attention. Michael (This used to be commit 88102b5b7c4eaad5445e9cb96e547dd918abc0c2)
2008-01-10--enable-libwbclient-sharedVolker Lendecke2-25/+35
This patch adds the configure option --enable-libwbclient-shared that defaults to yes. If you set --enable-developer=yes, then you can say --enable-libwbclient-shared=no to avoid problems you might have with the wrong shared libaries. Jerry, is this acceptable to you? If yes, please push. Thanks! Volker (This used to be commit 7a88cd61e09f6db9db38916704ae65e03b33139c)
2008-01-10Tiny cosmetic fixVolker Lendecke1-2/+1
(This used to be commit c82c1d462be6ddccd6e395b4a9630df91dacbda2)
2008-01-10Remove redundant parameter fd from SMB_VFS_WRITE().Michael Adam7-18/+18
Michael (This used to be commit c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1)
2008-01-10Remove redundant parameter fd from SMB_VFS_READ().Michael Adam7-17/+18
Michael (This used to be commit a8fc2ddad8d5f7c6c00cb36c74a32a02d69d1d04)
2008-01-10Move transfer_file and transfer_file_internal to a module of their own.Michael Adam5-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)
2008-01-10Reformat some code I just touched.Michael Adam1-12/+20
Michael (This used to be commit 4ed238b1e46f7680a29ebdbfe9500d16718f9057)
2008-01-10Make casts to (void *) explicit to remove compiler warnings.Michael Adam1-1/+2
Michael (This used to be commit cbbfbd7a63fe0fc479a1b63b4552c713633dd6be)
2008-01-10Fix a really silly typo.Michael Adam1-1/+1
Michael (This used to be commit 7b0af7cdc97d4bbcbd73a9474871217511b92c3a)
2008-01-10Correctly abstract the transfer_file mechanism with callbacks and void ptrs.Michael Adam2-16/+32
This removes the in_fsp and out_fsp global variables hack from smbd/vfs.c. Michael (This used to be commit b2e7cdc6e899ca3c16edbb6c8786ff9aa999fa6e)
2008-01-10use talloc_tos() in share_access_check()Volker Lendecke1-8/+3
(This used to be commit ac2bb838d537ca563ad2fe770b3e1c2fe8b1d9e7)
2008-01-10Some more talloc_tos()Volker Lendecke3-13/+13
(This used to be commit 444e35e7df1f13fc285183da8fb41b30ad99a3fa)
2008-01-10use talloc_tos in a few more placesVolker Lendecke7-16/+18
(This used to be commit 65dd869bea351010c67f02046ae4134bdada1a4c)
2008-01-10Remove unused string.Günther Deschner1-3/+0
Guenther (This used to be commit 88d6683872f4bb9c3074280f385f73c7af9de784)
2008-01-10Fix a c++ warningVolker Lendecke1-1/+2
(This used to be commit ee905a085fff5410d02c3e5fa2664e989de4afd4)
2008-01-10talloc_free_children can only reset pool if it's emptyVolker Lendecke1-1/+2
(This used to be commit 0272b46515b4c4515d5cad8e86fab61d8e91e29e)
2008-01-10Mark talloc_pool memory for valgrindVolker Lendecke1-3/+16
(This used to be commit d89e42f1d2faa018c584025296d6be8195cbcf20)
2008-01-10Fix suspicious Makefile lineVolker Lendecke1-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)
2008-01-10Form a proper hierarchy in talloc_stackVolker Lendecke1-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)
2008-01-09Fixup hot paths - add macro for toupper (c < 0x80).Jeremy Allison3-11/+36
This now matches 3.0.x on my micro-tests. Jeremy. (This used to be commit 329b924cba8225002ca40db26c45b31d141a0925)
2008-01-09Make use of talloc_pool in the main codepaths. Remove the sub-contexts.Jeremy Allison6-52/+12
Jeremy. (This used to be commit bc932b8ad4396f76b71c43efe9a6346f89c3632c)
2008-01-09Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2-0/+3
v3-2-test (This used to be commit f98c68a8a4882cb0a1b7e8985f3eba5ebb8287e3)
2008-01-09Add the calls to make use of talloc_pools in a talloc_stackframe.Jeremy Allison2-2/+17
Jeremy. (This used to be commit d27e6c0548d21394f6399d3b737d175ffed8420d)
2008-01-09Implement talloc_pool()Volker Lendecke3-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)
2008-01-10Try and fix the AIX build.Michael Adam1-0/+1
The __ss_family workaround is in lib/replace/system/network.h ... Michael (This used to be commit 778199cf00196f81fd96deae1370d8cbc438c5bf)
2008-01-10Enable building the notify_fam module.Michael Adam1-0/+2
Found by Timur I. Bakeyev <timur@com.bat.ru>. Michael (This used to be commit ece34fd2fe4bcd3f88a31a42faaba89248da3ba9)
2008-01-09Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison4-5/+6
v3-2-test (This used to be commit 92fcf22b79809393c734e4005c34a5e7e4aaa912)
2008-01-09Try and fix the AIX build.Jeremy Allison1-1/+9
Jeremy. (This used to be commit 231a148badf1f9b868ed1d37532020defa27bbd6)
2008-01-09Ensure we don't take address of one past buffer.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 318cbcfae51fc5dae549c60107d12480d8e478c8)
2008-01-09Fix the max_dead_record calculationsVolker Lendecke1-4/+1
(This used to be commit 2a5c53220a5cc2b4a80fc7c6cb38e87789c5e797)
2008-01-09Try to fix the build on hosts that HAVE_LDAP but don't HAVE_KRB5.Michael Adam1-0/+3
Michael (This used to be commit 829de79051cd1d1cc67c4c40fdc8e08c44450a09)
2008-01-09Fix a memleak found by the IBM checker.Michael Adam1-0/+1
Michael (This used to be commit b4a37a66bbd8f5346de743d4ab427d6671e29075)
2008-01-09Fix memleak in ldapsam_rename_sam_account() found by IBM checker.Michael Adam1-1/+1
The check for out of memory was the wrong way round. Michael (This used to be commit d7a7b793203b986823859ac5171d2d4c30e52415)
2008-01-09Another attempt to fix builds w/o ldap and/or krb5.Günther Deschner1-9/+9
Guenther (This used to be commit e73e3da772bd024f1d74fc41b832f181ba5c43bd)
2008-01-09Re-run make idl to get even nicer pidl generated server code.Günther Deschner12-10260/+10992
Guenther (This used to be commit 6169dea4dc3c4fc5eb1caefde828ed896cf048c5)
2008-01-09Correct comment. Default debug level of smbclient is 1, not 0.Karolin Seeger1-1/+1
(This used to be commit 9c81125e6d3df49806e1c0b39409ffac8e3a0fd1)
2008-01-09Attempt to fix the compile of source/utils/net_dns.cVolker Lendecke1-5/+7
Jeremy, please check! (This used to be commit 66d3012bf422b2ffc47fa6a405269bad2a80bd6f)
2008-01-09Re-run make idl. The pidl generated code now fully complies to coding standards.Günther Deschner24-1830/+7842
Guenther (This used to be commit 3d34c87612138e4457e824e1a6e3981d1c3fe238)
2008-01-09Fix memory handling in torture/cmd_vfs.c:cmd_open and don't leak fsp_name.Michael Adam1-0/+13
Michael (This used to be commit f93fc818143a7442a6e8a90f16f60c536a5b8f9e)
2008-01-09Reduce stat cache size defaultVolker Lendecke1-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)
2008-01-09Replace an uninitialized variableVolker Lendecke1-0/+2
Reported by the IBM checker (This used to be commit 48f61e4b9fce5ea4f4bc3cf55530bb757c0def07)
2008-01-09Add libnet_join_derive_salting_principal().Günther Deschner1-0/+55
Guenther (This used to be commit 95129a28cfa57d8e5bd767b92f065abd1d32a569)
2008-01-09ensure uni_name.buffer is initialisedVolker Lendecke1-0/+2
merge from http://samba.org/~tridge/3_0-ctdb (This used to be commit 2938e74dea1695c813d6220a839b248dbc3b1d8f)
2008-01-08Fix CID 461 - resource leak on error.Jeremy Allison1-0/+4
Jeremy. (This used to be commit eea07b0c83985af60395f8a31de5bac4e5398cff)
2008-01-08Fix CID 460 - resource leak on error.Jeremy Allison1-0/+1
Jeremy. (This used to be commit d61831164b482d02e0eef3c28aeed93d3e44433f)
2008-01-08Fix resource leak found by coverity (CID 521).Jeremy Allison1-0/+4
Jeremy. (This used to be commit acfb233acc7324b8d431d5cb777a1933d173b3dc)
2008-01-09Change registry_create_admin_token() to return NTSTATUS.Michael Adam3-10/+18
Michael (This used to be commit 9cd30fb25c42e79946b5140994d0bf2ef4c62f90)
2008-01-09Move content of comment.Michael Adam1-4/+4
Michael (This used to be commit ed4dd00c5ae8e4995ace9326f915ae4bd15d96b3)