summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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 Deschner2-5/+2
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-09Fix build warning for libsmbclient example.Günther Deschner1-0/+2
Guenther (This used to be commit 8f411753b2130e9c1f260a15d031f57ba07b62a1)
2008-01-09git-ignore generated files under examples/VFS/Michael Adam1-0/+9
Michael (This used to be commit 7b3724fe861408c393e94260f8a8cc504f2a48d0)
2008-01-09Ignore test directory.Michael Adam1-0/+1
Michael (This used to be commit 0aef0e38c26c59b779b5d7b48ef41e4aaa2fa729)
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)
2008-01-09Convert add_sid_to_array() add_sid_to_array_unique() to return NTSTATUS.Michael Adam15-138/+203
Michael (This used to be commit 6b2b9a60ef857ec31da5fea631535205fbdede4a)
2008-01-09Fix prototype: Add a void to an empty function parameter list.Michael Adam1-1/+1
Michael (This used to be commit 3f89aea8e4df3a2de8c5e4c6f4e417567adb2d67)
2008-01-09Don't leak data.dptr on error path.Michael Adam1-3/+5
Michael (This used to be commit d14de0692c623ff07dada45a3d7bec03ceca2b7e)
2008-01-09Extend a comment.Michael Adam1-1/+3
Michael (This used to be commit 081435250709af734ec1e49e2539b091f2d92dfb)