summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-01-11Remove code accidentially submittet with last commit 83aed537c16f63.Michael Adam1-42/+0
This is ist still in preparation and will follow soon. Soory! Michael (This used to be commit 75acdb54a454ffda9d422fcafb573c8f5581d2e8)
2008-01-11Fix panic in "net conf": Fix logic in error condition.Michael Adam1-1/+43
Michael (This used to be commit 83aed537c16f632599484f60c5ccebc3ab713801)
2008-01-11Fix a build warning.Günther Deschner1-0/+1
Guenther (This used to be commit 88874a501d0c086f796e4838af8c9399d3cccc1f)
2008-01-11As long as DsGetDcName is not part of libnetapi, lowercase the fn name.Günther Deschner4-44/+44
Guenther (This used to be commit 19a980f52044a170618629e5b0484c1f6b586e5f)
2008-01-11Fix libnetapi error string callers.Günther Deschner4-9/+9
Guenther (This used to be commit 1ad7a0a361edfa5ac738f011db1d6a9db256ac2c)
2008-01-11Remove '\n' from error strings in libnet_join context.Günther Deschner1-12/+12
Guenther (This used to be commit 9cc0d874f6c064e8752d36e72fcc85bf4c85e656)
2008-01-11Set error string when ads_leave_realm() has failed in libnetjoin.Günther Deschner1-1/+9
Guenther (This used to be commit 01690f85bc7d052d4c57181d74aef27d1776169c)
2008-01-11Include some basic headers in netapi.h.Günther Deschner1-0/+10
Guenther (This used to be commit 23b92a6fa57858c8a23c737a9cd00c076ef5dadd)
2008-01-11Refactor libnetapi error string functions a bit.Günther Deschner2-6/+20
Guenther (This used to be commit 3b450a8bcc97b6d03c4b7b9373a3a382c0fcea30)
2008-01-11Ignore result of libnet_conf_delete_parameter here, as realm may be not there.Günther Deschner1-1/+1
Guenther (This used to be commit 2e2d058b7e90a158612af4b0a489578431f748e5)
2008-01-11Remove some more references to global_myname() in libnet_join.Günther Deschner1-2/+2
Guenther (This used to be commit ed4960baccf687b77c2b0f4ee64cbce2005f3abb)
2008-01-11Use domain_is_ad bool.Günther Deschner1-6/+5
Guenther (This used to be commit 9707a5eb008788460937104575b7afd733a9f741)
2008-01-11Add domain_is_ad bool to libnetjoin ctx.Günther Deschner1-0/+1
Guenther (This used to be commit 16ca8d2746a5c2fc7a583d1cf2ebb4d3aa003842)
2008-01-10Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison10-51/+44
v3-2-test (This used to be commit 767e0164adf8803df50b0b7bd8e81d25af72bb78)
2008-01-10Don't switch user contexts unless you have to. SavesJeremy Allison2-14/+42
a bunch of syscalls on close. Noticed by Volker. Jeremy. (This used to be commit 3caeeaea162e2083a087c242b850c107a3be1bf9)
2008-01-11Combine fsp and tofd to tofsp in SMB_VFS_RECVFILE().Michael Adam7-18/+15
Michael (This used to be commit 3958abffaf2866c69ad9e13ec345364fde5c78bb)
2008-01-11Remove now redundant parameter fd from prime_cache().Michael Adam1-5/+4
Michael (This used to be commit 63acaf1b9755cd5be5342929e1210afa06e170f3)
2008-01-11Combine fsp and fromfd to fromfsp in SMB_VFS_SENDFILE().Michael Adam9-29/+26
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 Adam9-22/+22
Michael (This used to be commit c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1)
2008-01-10Remove redundant parameter fd from SMB_VFS_READ().Michael Adam9-21/+22
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 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)