summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a build warning.Günther Deschner2008-01-111-0/+1
| | | | | Guenther (This used to be commit 88874a501d0c086f796e4838af8c9399d3cccc1f)
* As long as DsGetDcName is not part of libnetapi, lowercase the fn name.Günther Deschner2008-01-114-44/+44
| | | | | Guenther (This used to be commit 19a980f52044a170618629e5b0484c1f6b586e5f)
* Fix libnetapi error string callers.Günther Deschner2008-01-114-9/+9
| | | | | Guenther (This used to be commit 1ad7a0a361edfa5ac738f011db1d6a9db256ac2c)
* Remove '\n' from error strings in libnet_join context.Günther Deschner2008-01-111-12/+12
| | | | | Guenther (This used to be commit 9cc0d874f6c064e8752d36e72fcc85bf4c85e656)
* Set error string when ads_leave_realm() has failed in libnetjoin.Günther Deschner2008-01-111-1/+9
| | | | | Guenther (This used to be commit 01690f85bc7d052d4c57181d74aef27d1776169c)
* Include some basic headers in netapi.h.Günther Deschner2008-01-111-0/+10
| | | | | Guenther (This used to be commit 23b92a6fa57858c8a23c737a9cd00c076ef5dadd)
* Refactor libnetapi error string functions a bit.Günther Deschner2008-01-112-6/+20
| | | | | Guenther (This used to be commit 3b450a8bcc97b6d03c4b7b9373a3a382c0fcea30)
* Ignore result of libnet_conf_delete_parameter here, as realm may be not there.Günther Deschner2008-01-111-1/+1
| | | | | Guenther (This used to be commit 2e2d058b7e90a158612af4b0a489578431f748e5)
* Remove some more references to global_myname() in libnet_join.Günther Deschner2008-01-111-2/+2
| | | | | Guenther (This used to be commit ed4960baccf687b77c2b0f4ee64cbce2005f3abb)
* Use domain_is_ad bool.Günther Deschner2008-01-111-6/+5
| | | | | Guenther (This used to be commit 9707a5eb008788460937104575b7afd733a9f741)
* Add domain_is_ad bool to libnetjoin ctx.Günther Deschner2008-01-111-0/+1
| | | | | Guenther (This used to be commit 16ca8d2746a5c2fc7a583d1cf2ebb4d3aa003842)
* Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2008-01-108-43/+36
|\ | | | | | | | | | | v3-2-test (This used to be commit 767e0164adf8803df50b0b7bd8e81d25af72bb78)
| * Combine fsp and tofd to tofsp in SMB_VFS_RECVFILE().Michael Adam2008-01-115-14/+11
| | | | | | | | | | Michael (This used to be commit 3958abffaf2866c69ad9e13ec345364fde5c78bb)
| * Remove now redundant parameter fd from prime_cache().Michael Adam2008-01-111-5/+4
| | | | | | | | | | Michael (This used to be commit 63acaf1b9755cd5be5342929e1210afa06e170f3)
| * Combine fsp and fromfd to fromfsp in SMB_VFS_SENDFILE().Michael Adam2008-01-117-25/+22
| | | | | | | | | | Michael (This used to be commit a52cfb7d777157c93c9dc26c67f457be592dd537)
* | Don't switch user contexts unless you have to. SavesJeremy Allison2008-01-102-14/+42
|/ | | | | | a bunch of syscalls on close. Noticed by Volker. Jeremy. (This used to be commit 3caeeaea162e2083a087c242b850c107a3be1bf9)
* Don't print out debug messages at level 0 if we can'tJeremy Allison2008-01-101-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)
* Fix the build of the cacheprime VFS module after API changes.Michael Adam2008-01-101-4/+3
| | | | | | | Sorry, that had escaped my attention. Michael (This used to be commit 88102b5b7c4eaad5445e9cb96e547dd918abc0c2)
* --enable-libwbclient-sharedVolker Lendecke2008-01-102-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)
* Tiny cosmetic fixVolker Lendecke2008-01-101-2/+1
| | | | (This used to be commit c82c1d462be6ddccd6e395b4a9630df91dacbda2)
* 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)