summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Ensure we don't use massive writes in pipe mode.Jeremy Allison2007-11-061-2/+3
| | | | | Jeremy. (This used to be commit 47640fb20e42f226e7ea104076fd52547bfe1abb)
* Move some access check functions that are not posix-acl specificMichael Adam2007-11-063-212/+240
| | | | | | | to a new source file of their own. Michael (This used to be commit 9dd18bb534bca6b5de6cad9580b48681b36c0832)
* Don't repeat fast-pathing...Michael Adam2007-11-061-1/+1
| | | | | Michael (This used to be commit c61b4222d30288add216fac4da3cfaa537f5cd01)
* This is a proposed patch for Bug #5023.Michael Adam2007-11-061-300/+70
| | | | | | | | | | | | | | | | | The three can_* access check functions in smbd/posix_acls.c that are used in smbd/open.c and smbd/nttrans.c explicitly called check_posix_acl_group_access() This lead to errors with nfsv4 acls (ZFS and GPFS). This changes the can_* functions to get the nt_acl via VFS layer and call se_access_check on that. It also removes check_posix_acl_group_access() which has no more callers. NOTE: The can_* functions should really not be in smbd/posix_acls.c but in a separate file (I propose smbd/access.c). Michael (This used to be commit 6f961a23de745aba5dcd4585b731e651b8cbeef4)
* Add a const.Michael Adam2007-11-061-1/+1
| | | | | Michael (This used to be commit 7b582af2107bed3b864bb408b5c9bcce4b8e4c72)
* libreplace: we should only have one location where we check for required ↵metze2007-11-061-4/+1
| | | | | | | | | functions metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25864 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 760f24f10cbea7ce22acd0772fb5b125f718d129)
* libreplace: we need include <unistd.h> before nss_wrapper.hmetze2007-11-061-0/+3
| | | | | | | metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25863 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 20ec1f472566bbc570fa138cce5dbd0407aef530)
* Fix export dynamic for HPUX.jelmer2007-11-061-4/+12
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25861 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 4d02b1344b76c6147944188161f73ad3917b8abc)
* Remove flag that causes problems on some hosts.jelmer2007-11-061-1/+1
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25860 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 57bea8cd02cb7964bbb64ba26b83c372f0e12b94)
* Wrap native HPUX functions in dl implementation.jelmer2007-11-061-0/+16
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25859 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 0ec16729299887b4a80a7e24fbd1750632276691)
* Check for HPUX dl functions.jelmer2007-11-061-0/+5
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25855 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 9f862e9faf0fa9cddfcc2f87d9f247082718b3e0)
* Move SHLIBEXT determination into a test as well.jelmer2007-11-061-0/+18
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25852 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 322cf8002bab1e449616d9fcea0bd4c9535cfe6a)
* Move system-specific ldflags checks to libreplace so they can be used by ldb.jelmer2007-11-061-0/+38
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25851 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 63b7690335360a073dc1ae111f740a7934f1a92f)
* Add macro for picflag.jelmer2007-11-061-0/+55
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25850 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 48c70f604071fcf7c0887fe0136bdc2dda4c8ff4)
* Add configure test for -Wl,--export-dynamic.jelmer2007-11-062-0/+11
| | | | | git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25846 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 4904af51cdccd4e52d2805bd62f39276447c4646)
* libreplace: include nss_wrapper.h if NSS_WRAPPER is definedmetze2007-11-061-0/+7
| | | | | | | metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25838 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 809fee4bef66eb8b8687f88257c0d6f77d3b4063)
* Ensure we null out the address correctly.Jeremy Allison2007-11-051-1/+2
| | | | | Jeremy. (This used to be commit e1fcd851ab38165eb0e959cdc02ff067614f8b28)
* Fix another segfault and make smbfilter run again.Michael Adam2007-11-061-1/+3
| | | | | | | | This fix is not complete yet (loop after "client closed connection") but at least it starts again... Micheal (This used to be commit e2ffc6053dc9453fc49545db47374ed42e8efecd)
* Fix a segfault.Michael Adam2007-11-061-0/+2
| | | | | Michael (This used to be commit 98225a075226e78f7ce64787dd29122fda3d6924)
* Try to fix the build. There was one forgotten callerMichael Adam2007-11-061-2/+2
| | | | | | | of receive_smb. Jeremy: please check! Michael (This used to be commit 1f0fcc3e4ef7526cbf0a5a5fc96708238d0efdeb)
* When deleting a key from the registry make sure the non-defaultGünther Deschner2007-11-064-14/+32
| | | | | | | security descriptor gets deleted as well. Guenther (This used to be commit d140d68537225b6a6a99be3d9b09354e3f6ad8c9)
* Add two const's.Michael Adam2007-11-051-2/+2
| | | | | Michael (This used to be commit bf23c4ddff617dd3cd1e2d5cedb1b5c023356dc3)
* Remove the horror that was the global smb_rw_error.Jeremy Allison2007-11-059-84/+104
| | | | | | | | | | | Each cli struct has it's own local copy of this variable, so use that in client code. In the smbd server, add one static to smbd/proccess.c and use that inside smbd. Fix a bunch of places where smb_rw_error could be set by calling read_data() in places where we weren't reading from the SMB client socket (ie. winbindd). Jeremy. (This used to be commit 255c2adf7b6ef30932b5bb9f142ccef4a5d3d0db)
* Fix a typo.Michael Adam2007-11-051-1/+1
| | | | | Michael (This used to be commit 5721a511d8dd327717bcd9c2053c4bd08f01185c)
* Don't alloc struct iface_struct nics[MAX_INTERFACES]; (128 entries)Jeremy Allison2007-11-041-1/+8
| | | | | | on the stack - use talloc. Jeremy (This used to be commit b5e37af251a26648b0e4f59ca548c5374399175e)
* This should really be a cond_set_smb_read_error().Jeremy Allison2007-11-041-3/+1
| | | | | Jeremy. (This used to be commit 5ab76b58c00dde89b56060482f5cdc5d0c6c56cb)
* Don't use 0 when we mean SMB_READ_OK.Jeremy Allison2007-11-041-1/+1
| | | | | Jeremy. (This used to be commit 08ee4314a9e25700288f4ea1af22ee1732dfea61)
* Merge commit 'origin/v3-2-test' into branches/upstreamGünther Deschner2007-11-052-7/+2
|\ | | | | | | (This used to be commit d0bf0ad2ae9a2bff4cec8c7e801a22c624b874ae)
| * Remove unnecessary codeVolker Lendecke2007-11-051-6/+1
| | | | | | | | | | SAFE_FREE checks for NULL anyway, and SMB_STRDUP panics on failure (This used to be commit 4cdebda39b9b1790fc5c7df3dc81bfb46b047ad7)
| * Fix a debug messageVolker Lendecke2007-11-051-1/+1
| | | | | | | | (This used to be commit a86849e4f9512b680f26010c297cec14251dafdd)
* | Display sec ace flags.Günther Deschner2007-11-051-3/+31
| | | | | | | | | | Guenther (This used to be commit 52bf835c5e9b2fa759c61bf4a7a364eeaeae6043)
* | Make sure we can read SACLs from the registry.Günther Deschner2007-11-051-1/+5
|/ | | | | Guenther (This used to be commit 62d4cce4562b77403f9353d333b9553352bdf1d8)
* Fix the smbmount buildVolker Lendecke2007-11-051-1/+1
| | | | (This used to be commit 5b8ca7ebdef5d385420c89af246c2dae737c5717)
* static pstring removalVolker Lendecke2007-11-054-11/+22
| | | | (This used to be commit 5490e2d77233f594a42cb32eda8215014db544e3)
* pstring removalVolker Lendecke2007-11-052-18/+12
| | | | (This used to be commit f5468d2c9abad41cb1e9d9b9ec6a1b56564961a4)
* Make load_registry_service return the share numberVolker Lendecke2007-11-051-1/+0
| | | | (This used to be commit 934964c90f39d588d2399f10e3738ab1b4e01290)
* Forgot arg type.Jeremy Allison2007-11-041-1/+1
| | | | | Jeremy. (This used to be commit 46f3b04ddea4c63c6b37c7038d4bbd2ee1c9ca0c)
* Don't believe len returned from read_smb_length_return_keepalive(),Jeremy Allison2007-11-041-1/+1
| | | | | | | it may be a UNIX large writeX (which wraps len in that case). Stevef this should fix your 128k write bug. Jeremy. (This used to be commit de2ebffa3c99ed28a3868fd956ef45629ca855b6)
* Remove most of the remaining globals out of lib/util_sock.c.Jeremy Allison2007-11-0315-62/+71
| | | | | | | I have a plan for dealing with the remaining..... Watch this space. Jeremy. (This used to be commit 963fc7685212689f02b3adcc05b4273ee5c382d4)
* Remove more static data from lib/util_sock.c andJeremy Allison2007-11-0311-57/+58
| | | | | | callers. Jeremy. (This used to be commit 35aaa36f82c70964cee5d0778eb04547b226dd3f)
* Missed one case where I need to pass down addrlen.Jeremy Allison2007-11-031-1/+1
| | | | | Jeremy (This used to be commit 62b5ca3334598aec3304d21118f67702afc3854a)
* I can't get away without a 'length' arg. :-).Jeremy Allison2007-11-0315-29/+38
| | | | | Jeremy. (This used to be commit 95d01279a5def709d0a5d5ae7224d6286006d120)
* Stop get_peer_addr() and client_addr() from using globalJeremy Allison2007-11-0315-32/+56
| | | | | | statics. Part of my library cleanups. Jeremy. (This used to be commit e848506c858bd16706c1d7f6b4b032005512b8ac)
* Remove the smb_read_error global variable and replaceJeremy Allison2007-11-0311-88/+91
| | | | | | it with accessor functions. "One global or pstring a day...." :-). Jeremy. (This used to be commit d50d14c300abc83b7015718ec48acc8b3227a273)
* Remove unused var noticed by metze.Jeremy Allison2007-11-031-1/+0
| | | | | Jeremy. (This used to be commit ac4f897f0dec0e33e79c316340b47c2803104635)
* Fix the snprintf checks, and fix a typo in pointer indirection.Jeremy Allison2007-11-021-5/+5
| | | | | | | These fixes are needed for a working getaddrinfo etc. replacement. Fixes from Wayne Davison <wayned@samba.org> from rsync. Jeremy. (This used to be commit 494bf6293bedbda4b10aa2eae452377b8130cd01)
* Ensure we use the correct socklen_t values for bind() forJeremy Allison2007-11-021-1/+3
| | | | | | Solaris. Jeremy. (This used to be commit 638579d75a2aa00836dc4c0c772381b775944b16)
* Fix typos in calc_sa_size, noticed by jim.brown@miami.eduJeremy Allison2007-11-021-1/+2
| | | | | Jeremy. (This used to be commit 6b7ccd3efb05291f3b8779845a3842a09bb9aa07)
* Change the client library to write directly out ofJeremy Allison2007-11-026-42/+179
| | | | | | | | the incoming buffer in the non-signed case. Speeds up writes by over 10% or so. Complete the server recvfile implementation. Jeremy. (This used to be commit 81ca5853b2475f123faab3b550f0a7b24ae3c208)
* Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2007-11-021-0/+3
|\ | | | | | | | | | | v3-2-test (This used to be commit 319dfbaf1b8d08171731d4575127f4bb5255a229)