Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3-winbind: another strlcpy()/fstring fix | Andrew Tridgell | 2011-05-06 | 1 | -2/+2 |
| | | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri May 6 07:50:33 CEST 2011 on sn-devel-104 | ||||
* | s3-auth: fixed bug with usernames longer than sizeof(char *) | Andrew Tridgell | 2011-05-06 | 1 | -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> | ||||
* | Fix const in smbtorture. | Jeremy Allison | 2011-05-06 | 2 | -11/+10 |
| | | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 02:45:00 CEST 2011 on sn-devel-104 | ||||
* | Fix broken interface to set_namearray() - don't modify incoming string. | Jeremy Allison | 2011-05-06 | 3 | -8/+19 |
| | |||||
* | Fixup use of const. | Jeremy Allison | 2011-05-06 | 1 | -2/+2 |
| | |||||
* | More const fixes. Remove CONST_DISCARD. | Jeremy Allison | 2011-05-06 | 37 | -77/+71 |
| | |||||
* | Change the char * pointers in the struct to const char * (which is how ↵ | Jeremy Allison | 2011-05-06 | 1 | -19/+18 |
| | | | | they're treated). | ||||
* | More const fixes... getting near the end now. | Jeremy Allison | 2011-05-06 | 5 | -17/+17 |
| | | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104 | ||||
* | More simple const fixups. | Jeremy Allison | 2011-05-05 | 10 | -22/+22 |
| | |||||
* | More simple const fixes. | Jeremy Allison | 2011-05-05 | 22 | -58/+58 |
| | |||||
* | More const fixes for compiler warnings from the waf build. | Jeremy Allison | 2011-05-05 | 27 | -114/+122 |
| | |||||
* | Fixup build without --with-aio. | Jeremy Allison | 2011-05-05 | 1 | -1/+1 |
| | | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 21:38:23 CEST 2011 on sn-devel-104 | ||||
* | More const compiler warning fixes. | Jeremy Allison | 2011-05-05 | 6 | -29/+29 |
| | |||||
* | Fix many const compiler warnings. | Jeremy Allison | 2011-05-05 | 26 | -81/+84 |
| | |||||
* | Don't reuse a non-const pointer when manipulating const. | Jeremy Allison | 2011-05-05 | 1 | -4/+3 |
| | |||||
* | s3: Fix a typo | Volker Lendecke | 2011-05-05 | 1 | -1/+1 |
| | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 5 16:10:35 CEST 2011 on sn-devel-104 | ||||
* | s3: Fix dup_smb2_vec3 | Volker Lendecke | 2011-05-05 | 1 | -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 | ||||
* | s4-auth: removed the password combinations code in auth_unix | Andrew Tridgell | 2011-05-05 | 1 | -39/+4 |
| | | | | | | | | | | this code never did anything due to a typo, and was untested. We should not be inluding a password cracker in Samba anyway. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu May 5 07:00:14 CEST 2011 on sn-devel-104 | ||||
* | s3-rpc_server: run minimal_includes.pl. | Günther Deschner | 2011-05-05 | 7 | -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 | ||||
* | s3-rpc_client: run minimal_includes.pl. | Günther Deschner | 2011-05-05 | 3 | -3/+0 |
| | | | | Guenther | ||||
* | s3-rpcclient: run minimal_includes.pl. | Günther Deschner | 2011-05-05 | 1 | -1/+0 |
| | | | | Guenther | ||||
* | s3-printing: run minimal_includes.pl. | Günther Deschner | 2011-05-05 | 4 | -9/+0 |
| | | | | Guenther | ||||
* | s3-param: run minimal_includes.pl. | Günther Deschner | 2011-05-05 | 1 | -1/+0 |
| | | | | Guenther | ||||
* | s3-libsmb: run minimal_includes.pl. | Günther Deschner | 2011-05-05 | 2 | -2/+0 |
| | | | | Guenther | ||||
* | s3-libnet: run minimal_includes.pl. | Günther Deschner | 2011-05-05 | 2 | -2/+0 |
| | | | | Guenther | ||||
* | s3-libads: run minimal_includes.pl. | Günther Deschner | 2011-05-05 | 1 | -2/+0 |
| | | | | Guenther | ||||
* | s3-lib: run minimal_includes.pl. | Günther Deschner | 2011-05-05 | 2 | -2/+0 |
| | | | | Guenther | ||||
* | s3-auth: run minimal_includes.pl | Günther Deschner | 2011-05-05 | 5 | -6/+0 |
| | | | | Guenther | ||||
* | s4-samba-tool: allow specification of targetdir when joining as (RO)DC | Matthieu Patou | 2011-05-05 | 1 | -4/+5 |
| | | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu May 5 02:04:13 CEST 2011 on sn-devel-104 | ||||
* | Clean up some const and other compiler warnings. | Jeremy Allison | 2011-05-05 | 11 | -25/+42 |
| | | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104 | ||||
* | I added them, so I get to kill them :-). Finally remove all uses of ↵ | Jeremy Allison | 2011-05-04 | 4 | -105/+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 | ||||
* | Fix warning messages caused by addition of null check in fstrcpy macro. | Jeremy Allison | 2011-05-04 | 19 | -50/+59 |
| | |||||
* | Tidy up some missing checks for NULL in strlcpy. | Jeremy Allison | 2011-05-04 | 3 | -3/+3 |
| | |||||
* | Add in bufflen limit when storing NetBIOS names. Remove safe_strcpy. | Jeremy Allison | 2011-05-04 | 1 | -16/+32 |
| | |||||
* | Convert safe_strXX to strlXXX. Clean up off-by-ones. | Jeremy Allison | 2011-05-04 | 1 | -31/+17 |
| | |||||
* | Remove magic numbers. Standardize on macro. Move from safe_strcat to strlcat. | Jeremy Allison | 2011-05-04 | 1 | -7/+7 |
| | |||||
* | Cope with +1 change on moving from safe_strcat to strlcat. | Jeremy Allison | 2011-05-04 | 1 | -3/+3 |
| | |||||
* | Fold null terminator into listlen length, change to strlcpy. | Jeremy Allison | 2011-05-04 | 1 | -6/+4 |
| | |||||
* | Fix the only place we reply on the NULL handling for the source in safe_strcpy. | Jeremy Allison | 2011-05-04 | 1 | -10/+18 |
| | |||||
* | Fix off-by-one when used with safe_strcpy. | Jeremy Allison | 2011-05-04 | 1 | -1/+1 |
| | |||||
* | sasl_secret_t ends in a char [1] size. This means the extra character is ↵ | Jeremy Allison | 2011-05-04 | 1 | -2/+2 |
| | | | | implicit in the safe_strcpy. When changing to strlcpy ensure we allocate an extra char for it. This fixes a bug where secret->len+1 used with safe_strcpy could actually write into secret->len+2. | ||||
* | Simple +1 changes in hardcoded lengths when changing from safe_strcpy to ↵ | Jeremy Allison | 2011-05-04 | 4 | -9/+9 |
| | | | | strlcpy. | ||||
* | BUGFIX when converting from safe_strcpy to strlcpy. | Jeremy Allison | 2011-05-04 | 1 | -1/+5 |
| | | | | | We must have a blob legth > 0 in order to safely copy the (possibly) 16 bytes + 1 byte zero character safely. | ||||
* | Remove overmalloc_safe_strcpy - can be simple strlcpy. | Jeremy Allison | 2011-05-04 | 3 | -10/+2 |
| | |||||
* | Remove obvious use of safe_strcpy + safe_strcat -> strlcpy + strlcat. | Jeremy Allison | 2011-05-04 | 1 | -10/+10 |
| | |||||
* | Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here ↵ | Jeremy Allison | 2011-05-04 | 4 | -10/+10 |
| | | | | as the original macro auto-added the -1. | ||||
* | Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1. | Jeremy Allison | 2011-05-04 | 14 | -26/+26 |
| | |||||
* | s3-torture: Add a test for notify upon read&x | Volker Lendecke | 2011-05-04 | 5 | -1/+304 |
| | | | | | | | | This makes sure that when a file is brought online by a read call we notify the client for FILE_NOTIFY_CHANGE_ATTRIBUTES. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed May 4 21:09:22 CEST 2011 on sn-devel-104 | ||||
* | Always build before commit ... :-) | Volker Lendecke | 2011-05-04 | 1 | -1/+1 |
| | |||||
* | Remove unused function parse_add_domuser(). | Jeremy Allison | 2011-05-04 | 2 | -26/+0 |
| | | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 4 20:05:42 CEST 2011 on sn-devel-104 |