summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-05-06errors: Remove unused unix_to_werror()Andrew Bartlett1-6/+0
2011-05-06libcli/util Move NTSTATUS table to the top levelAndrew Bartlett2-726/+5
2011-05-06nterr: Add mem_ctx for return string from get_nt_error_c_code()Andrew Bartlett3-8/+7
It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett
2011-05-06s3-smbd ntstatus_to_dos() pulls the DOS error codes out internallyAndrew Bartlett1-5/+4
This means we don't need to duplicate that logic here. Andrew Bartlett
2011-05-06libcli/util Merge ntstatus_to_dos() ntstatus_to_werror() to the top levelAndrew Bartlett2-1215/+1
This takes the Samba4 version, with the NT_STATUS_IS_DOS() check. This will be used in smbd/error.c shortly. Andrew Bartlett
2011-05-06errors: Merge ntstatus -> DOS error table between Samba3 and Samba4.Andrew Bartlett1-8/+9
They are now identical Andrew Bartlett
2011-05-06s3-lib Remove unused dos error codes from errmap_unixAndrew Bartlett3-54/+47
This also makes unix_nt_errmap private to errmap_unix.c and errormap.c so the tables themselves cannot be duplicate symbols until merged. Andrew Bartlett
2011-05-06lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett9-168/+7
This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
2011-05-06s3-winbind: another strlcpy()/fstring fixAndrew Tridgell1-2/+2
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri May 6 07:50:33 CEST 2011 on sn-devel-104
2011-05-06s3-auth: fixed bug with usernames longer than sizeof(char *)Andrew Tridgell1-3/+3
using sizeof(user) when user is "fstring user" as a C parameter actually returns sizeof(char *), which means that long usernames aren't allowed. Jeremy, you need a longer username :-) Cheers, Tridge Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-06Fix const in smbtorture.Jeremy Allison2-11/+10
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 02:45:00 CEST 2011 on sn-devel-104
2011-05-06Fix broken interface to set_namearray() - don't modify incoming string.Jeremy Allison3-8/+19
2011-05-06Fixup use of const.Jeremy Allison1-2/+2
2011-05-06More const fixes. Remove CONST_DISCARD.Jeremy Allison32-69/+65
2011-05-06Change the char * pointers in the struct to const char * (which is how ↵Jeremy Allison1-19/+18
they're treated).
2011-05-06More const fixes... getting near the end now.Jeremy Allison5-17/+17
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104
2011-05-05More simple const fixups.Jeremy Allison10-22/+22
2011-05-05More simple const fixes.Jeremy Allison22-58/+58
2011-05-05More const fixes for compiler warnings from the waf build.Jeremy Allison25-99/+107
2011-05-05Fixup build without --with-aio.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 21:38:23 CEST 2011 on sn-devel-104
2011-05-05More const compiler warning fixes.Jeremy Allison6-29/+29
2011-05-05Fix many const compiler warnings.Jeremy Allison23-76/+79
2011-05-05Don't reuse a non-const pointer when manipulating const.Jeremy Allison1-4/+3
2011-05-05s3: Fix a typoVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 5 16:10:35 CEST 2011 on sn-devel-104
2011-05-05s3: Fix dup_smb2_vec3Volker Lendecke1-1/+1
Metze, Jeremy, please check! Thanks, Volker Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 5 13:39:40 CEST 2011 on sn-devel-104
2011-05-05s3-rpc_server: run minimal_includes.pl.Günther Deschner7-8/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu May 5 03:04:38 CEST 2011 on sn-devel-104
2011-05-05s3-rpc_client: run minimal_includes.pl.Günther Deschner3-3/+0
Guenther
2011-05-05s3-rpcclient: run minimal_includes.pl.Günther Deschner1-1/+0
Guenther
2011-05-05s3-printing: run minimal_includes.pl.Günther Deschner4-9/+0
Guenther
2011-05-05s3-param: run minimal_includes.pl.Günther Deschner1-1/+0
Guenther
2011-05-05s3-libsmb: run minimal_includes.pl.Günther Deschner2-2/+0
Guenther
2011-05-05s3-libnet: run minimal_includes.pl.Günther Deschner2-2/+0
Guenther
2011-05-05s3-libads: run minimal_includes.pl.Günther Deschner1-2/+0
Guenther
2011-05-05s3-lib: run minimal_includes.pl.Günther Deschner2-2/+0
Guenther
2011-05-05s3-auth: run minimal_includes.plGünther Deschner5-6/+0
Guenther
2011-05-04I added them, so I get to kill them :-). Finally remove all uses of ↵Jeremy Allison1-6/+0
safe_strcpy and safe_strcat. Change to strlcpy, strlcat. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 4 22:14:14 CEST 2011 on sn-devel-104
2011-05-04Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison19-50/+59
2011-05-04Tidy up some missing checks for NULL in strlcpy.Jeremy Allison1-1/+1
2011-05-04Add in bufflen limit when storing NetBIOS names. Remove safe_strcpy.Jeremy Allison1-16/+32
2011-05-04Convert safe_strXX to strlXXX. Clean up off-by-ones.Jeremy Allison1-31/+17
2011-05-04Remove magic numbers. Standardize on macro. Move from safe_strcat to strlcat.Jeremy Allison1-7/+7
2011-05-04Cope with +1 change on moving from safe_strcat to strlcat.Jeremy Allison1-3/+3
2011-05-04Fold null terminator into listlen length, change to strlcpy.Jeremy Allison1-6/+4
2011-05-04Fix the only place we reply on the NULL handling for the source in safe_strcpy.Jeremy Allison1-10/+18
2011-05-04Fix off-by-one when used with safe_strcpy.Jeremy Allison1-1/+1
2011-05-04Simple +1 changes in hardcoded lengths when changing from safe_strcpy to ↵Jeremy Allison4-9/+9
strlcpy.
2011-05-04BUGFIX when converting from safe_strcpy to strlcpy.Jeremy Allison1-1/+5
We must have a blob legth > 0 in order to safely copy the (possibly) 16 bytes + 1 byte zero character safely.
2011-05-04Remove overmalloc_safe_strcpy - can be simple strlcpy.Jeremy Allison2-2/+2
2011-05-04Remove obvious use of safe_strcpy + safe_strcat -> strlcpy + strlcat.Jeremy Allison1-10/+10
2011-05-04Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here ↵Jeremy Allison3-8/+8
as the original macro auto-added the -1.