summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2007-12-07Add define guards around FSTRING_LEN.Jeremy Allison1-0/+2
Jeremy. (This used to be commit ea8633689d43cc2fe15aedb430b4cac38fa73d14)
2007-12-07A requiem for pstring.Jeremy Allison1-0/+18
-------------- / \ / REST \ / IN \ / PEACE \ / \ | The infamous pstring | | | | | | 7 December | | | | 2007 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______ Jeremy (This used to be commit bca371bff8e1dd5099eda1774e5bb0fdbd6a1a77)
2007-12-07We don't need P_GSTRING or P_UGSTRING anymore.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 78dc75600099b5b3b5a8ecffec747a227ff51d70)
2007-12-07Remove pstrings completely except for smbctool (what does this do ?).Jeremy Allison5-58/+12
Don't build this for now. Jeremy. (This used to be commit 46b67fd82c795d1a34a1efca9e409c0f3fa4f3a2)
2007-12-07Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-0/+1
v3-2-test (This used to be commit 0c21c5fa84e18d78801ab79abd726e5588902476)
2007-12-07Add NT_STATUS_DOWNGRADE_DETECTED (thanks to Magnus Mertens).Günther Deschner1-0/+1
Guenther (This used to be commit 970daaa0a620d8e47475909cd7b5e54869602530)
2007-12-06Make cmdline_auth_info private to lib/popt_common.c. ProvideJeremy Allison1-2/+0
accessor functions. Jeremy. (This used to be commit 420195dd3e8b1b6771ab8be8bc974edaafc0cf8f)
2007-12-06Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison3-17/+51
Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
2007-12-05Remove some globalsVolker Lendecke1-0/+3
(This used to be commit 31d0a846db08d845e6cdfd85def4ac1c34031e02)
2007-12-03Remove more pstrings, from the winbindd protocol def andJeremy Allison1-4/+0
inside winbindd. Remove unused pstring types. Jeremy. (This used to be commit 9ccac8abb0420393569dbca73e7daf2742aa1099)
2007-12-03Remove unused wpstring and macros. Stop using pstrcpy in smbd/*.cJeremy Allison2-54/+0
Jeremy. (This used to be commit e72bce5b62fb0a9d0ff4a3d76490219994f303cf)
2007-11-30Merge join error codes from Samba 4.Günther Deschner1-0/+5
Guenther (This used to be commit 88a01bd810c36631272c5db727334bdc6f12f07d)
2007-11-29Remove the explicit TALLOC_CTX * from cli_struct.Jeremy Allison2-3/+7
Make us very explicit about how long a talloc ctx should last. Jeremy. (This used to be commit ba9e2be2b5a59684e854609f9d82ea1633448c62)
2007-11-27Remove unused prototype for smbldap_get_single_pstring().Jeremy Allison1-2/+0
Don't use pstr_sprintf() on an fstring - change to talloc. Jeremy. (This used to be commit 6cae4b5fa1bcb848cb2a28daaafeefd6bcd08274)
2007-11-27Remove pstring from srv_spoolss_nt.c. All gone from rpc_server/*.cJeremy Allison1-1/+1
Jeremy. (This used to be commit b5a2a1e3f82a0d319fc9a1d76f5166150680f4d4)
2007-11-27Remove pstring from everything in rpc_server exceptJeremy Allison1-5/+5
srv_spoolss_nt.c and srv_srvsvc_nt.c. They're next :-). Jeremy. (This used to be commit 55b4f9d003b036af69085f7b64e0df08c5ba440d)
2007-11-23printing: fix default printing subsystem detectionStefan Metzmacher1-1/+0
"system/printing.h" includes an outdated copy of the stuff in samba3's includes.h, so we should not use it. metze (This used to be commit 0a7338abfabaf31c2cbd81fb4ac8f1ce45735bed)
2007-11-22Cosmetic fixVolker Lendecke1-3/+3
(This used to be commit 8d8cb8f9ccbc013b97c252d27c3af4e2eb10d56a)
2007-11-15More pstring removal. This one was tricky. I had to addJeremy Allison1-1/+0
one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy. (This used to be commit 1ea3ac80146b83c2522b69e7747c823366a2b47d)
2007-11-13Make [f]get_nt_acl return NTSTATUSVolker Lendecke1-2/+10
(This used to be commit dcbe1bf942d017a3cd5084c6ef605a13912f795b)
2007-11-08Remove more fstring/pstring bad useage. Go talloc !Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2a0173743d2cf615d52278f3dd87cc804abe2d16)
2007-11-08Try to fix the build on systems without struct sockaddr_storage typeMichael Adam1-0/+1
(like hape - HPUX 11.00). Michael (This used to be commit f3d762737540476bab7da1bf6db047b66f53d9ae)
2007-11-05Remove the horror that was the global smb_rw_error.Jeremy Allison1-1/+1
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)
2007-11-03Remove the smb_read_error global variable and replaceJeremy Allison2-7/+11
it with accessor functions. "One global or pstring a day...." :-). Jeremy. (This used to be commit d50d14c300abc83b7015718ec48acc8b3227a273)
2007-11-02Change the client library to write directly out ofJeremy Allison2-2/+3
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)
2007-11-01Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-testGerald (Jerry) Carter1-0/+1
(This used to be commit 779353b86d1699324149896f1ffa237c6ebe46ec)
2007-11-01Add missing recvfile_bytes element - noticed by Kukks.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 5cf2811e8e1d9e6a1114bbdff89c333d5b374282)
2007-11-01Patch from Debian Samba package maintainers:Gerald (Jerry) Carter1-0/+4
Patch 1 of 3: - Patch 1 adds the new variables - Patch 2 makes uses of them for files belonging to the "state" path and the "code pages" path This patch seemed more easily acceptable, which explains why we separated it from patch 3 - Patch 3 reassigns files to the "cache" path. Indeed all "debatable" changes have been moved to that one The point is adding: - a path for non discardable state data: basically all TDB files that may need to be backed up - a path for shared data: mostly codepage stuff - a path for cache data to host files such as browse.dat, printers.tbd, <printer>.tdb All these are currently mixed in "libdir" (${prefix}/lib/samba by default). The patch keeps these new paths to point to ${prefix}/lib/samba by default and does therefore not change the software behaviour. Used alone, it just adds unused variables...so it can safely be used in sources without any behaviour change and no impact on Samba developers work. (This used to be commit b7d2fadbef044a89920da613b1aafc74a3d94e24)
2007-10-30Add new parameter, "min receivefile size" (by default setJeremy Allison1-0/+1
to zero). If non-zero, writeX calls greater than this value will be left in the socket buffer for later handling with recvfile (or userspace equivalent). Definition of recvfile for your system is left as an exercise for the reader (I'm working on getting splice working :-). Jeremy. (This used to be commit 11c03b75ddbcb6e36b231bb40a1773d1c550621c)
2007-10-29Add in the recvfile entry to the VFS layer with a defaultJeremy Allison3-0/+11
implementation. Needed for the zero-copy write code. Jeremy. (This used to be commit bfbdb6324c5d13bfde8b742e9c5a0e0c9092bd86)
2007-10-29Fix the setup_kaddr() call to cope with IPv6.Jeremy Allison1-1/+1
This is the last obvious change I can see. At this point we can start claiming IPv6 support (Hurrah !:-). Jeremy. (This used to be commit bda8c0bf571c994b524a9d67eebc422033d17094)
2007-10-29Change our DNS code to cope with AAAA records. A6 recordsJeremy Allison1-3/+3
look like a nightmare to use, so ignore them for now. Jeremy. (This used to be commit 814daded90781dc5a5bdd522ea8cfe5d47e6d7a7)
2007-10-27Two patchesVolker Lendecke1-0/+36
Hi! Can you check and push them? Thanks, Volker From b488af5905e2dee12a1a72a3b40801ae5c26f24f Mon Sep 17 00:00:00 2001 From: Volker Lendecke <vl@sernet.de> Date: Sat, 27 Oct 2007 14:20:09 +0200 Subject: [PATCH] Fix some warnings and errors (This used to be commit e17d3e10e860c96b6d5208e5fe51e43b8e58c174)
2007-10-24This is a large patch (sorry). Migrate from struct in_addrJeremy Allison5-8/+7
to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison38-227/+207
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-18remove reference to removed codeStefan Metzmacher1-4/+0
see commit 9e5ad21e6793981a01f63f2de1c4d496ade0bb54 metze (This used to be commit ea3173a9457f9095a70d401abfd1af8c913211a0)
2007-10-15Add WERR_SERVICE_ALREADY_RUNNING.Günther Deschner1-0/+1
Guenther (This used to be commit 357f00384994946485a5190b6a9c493aeee53cd2)
2007-10-10Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison2-17/+10
IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy. (This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter16-131/+928
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25534: Apply some constVolker Lendecke1-4/+4
Why? It moves these structs from the data into the text segment, so they will never been copy-on-write copied. Not much, but as in German you say "Kleinvieh macht auch Mist...." (This used to be commit 0141e64ad4972232de867137064d0dae62da22ee)
2007-10-10r25492: Start adding IPv6 compatible code to lib/util_sock.c and deal withJeremy Allison1-1/+1
the ripple effects this causes. utmp has to change etc. Remove some global varables and store address/port in the unexpected db. Jeremy. (This used to be commit 18c6a2211d9e25233d01715b3f78977edcd6d869)
2007-10-10r25474: Try and fix the build on Mac OS X 10.4.9.Jeremy Allison1-4/+0
Shuffle sa_family_t around. Jeremy. (This used to be commit f1b8c5de0ae96e04e340029f5cd544de9ac57b32)
2007-10-10r25472: Fix the interfaces code to detect IPv6 interfaces, using theJeremy Allison2-2/+17
new standard getifaddrs() and freeifaddrs() interfaces. Currently we only return IPv4 af_families. Needs fixing for binds to IPv6 but this has to be careful work. Jeremy. (This used to be commit 327875182c9219aeba687e10aaea93546d9a70ea)
2007-10-10r25434: Add the option to print the debug class (DBGC_CLASS) in the debug ↵Michael Adam1-5/+5
header. Control this by a new boolean smb.conf option "debug class" which is by default set to "no" to keep the default debug header unchanged. Michael Note: You need to make clean for this patch. (This used to be commit 066a46ba91ca734d9e20cb9d6db36fec209a27d7)
2007-10-10r25416: Add registry debug class.Günther Deschner1-0/+1
Guenther (This used to be commit b28dd747cb5a3d0eee865076eb4733dc123a6968)
2007-10-10r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.Gerald Carter1-2/+0
The translate_name() used by cli_session_setup_spnego() cann rely Winbindd since it is needed by the join process (and hence before Winbind can be run). (This used to be commit 00a93ed336c5f36643e6e33bd277608eaf05677c)
2007-10-10r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,Gerald Carter1-0/+2
and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>. (This used to be commit 8304ccba7346597425307e260e88647e49081f68)
2007-10-10r25399: Excise uint - > uint32 (where appropriate) or unsigned int.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b4ee924000f4a21b16a70e08e58331d209c4d114)
2007-10-10r25325: Rename some defines.Günther Deschner1-3/+3
Guenther (This used to be commit cc38e4fc1f2d3f9e2e2ff90a7a004ce8fdfa9238)
2007-10-10r25128: _XOPEN_SOURCE_EXTENDED and socklen_t are always provided by libreplaceStefan Metzmacher1-6/+0
metze (This used to be commit b3ee9adf28ee8136528d0236a3a2c894c2223053)