Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-31 | s3-torture: a very simple test for convert_string_error() | Andrew Tridgell | 2 | -1/+99 | |
this is a very simple test based on the example volker gave in 1e50f9a5. A more sophisticated test will also be worthwhile, but this at least gives us a basic test while changes are being made | |||||
2011-03-31 | s3: Fix a typo | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 31 12:50:53 CEST 2011 on sn-devel-104 | |||||
2011-03-31 | charconv: Use talloc_tos() in the S3 build | Volker Lendecke | 1 | -1/+9 | |
In S3 we put a talloc_pool on top of the stack so that an allocation from talloc_tos() normally is just a pointer increment. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 31 09:14:01 CEST 2011 on sn-devel-104 | |||||
2011-03-31 | Arg. I hate the "if (xxx) return foo" all on one line style of code. | Jeremy Allison | 1 | -2/+8 | |
Fix the talloc leaks I introduced by not spotting these returns. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 31 05:19:34 CEST 2011 on sn-devel-104 | |||||
2011-03-31 | Don't burn 2k of stack on every iconv, use the heap when it's a slow call. | Jeremy Allison | 1 | -16/+25 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 31 04:09:09 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | Fix bug #7996 - sgid bit lost on folder rename. | Jeremy Allison | 3 | -1/+23 | |
Refuse to set dos attributes into unix mode bits on such a folder. | |||||
2011-03-30 | SMBTA: make vfs_smb_traffic_analyzer aware of the sendfile and recvfile ↵ | Holger Hetterich | 1 | -1/+41 | |
functionality and store the results as common read/write results. | |||||
2011-03-31 | lib/util/charset smb_panic() on incorrect use of strlen_m_ext | Andrew Bartlett | 1 | -0/+18 | |
This may save a developer some time in the future. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Mar 31 02:40:31 CEST 2011 on sn-devel-104 | |||||
2011-03-31 | lib/util/charset Add tests for strlen_m_ext() and convert_string_talloc() | Andrew Bartlett | 1 | -2/+87 | |
This convers a few more cases for convert_string_talloc() and introduces tests for strlen_m_ext() across complex multibyte strings. Andrew Bartlett | |||||
2011-03-31 | lib/util/charset Add wrapper to allow testing of strlen_m_ext() | Andrew Bartlett | 2 | -2/+22 | |
This allows test routines to force in particular character sets, and not rely on the smb.conf. Andrew Bartlett | |||||
2011-03-31 | lib/util/charset correct calculation of UTF8 character sizes | Andrew Bartlett | 1 | -1/+1 | |
Characters between 0x800 0x0FFFF are 3 bytes long. Andrew Bartlett | |||||
2011-03-31 | s3-samr: make getgrgid() failure a little more visible in ↵ | Günther Deschner | 1 | -1/+1 | |
_samr_CreateDomAlias(). Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 31 01:00:42 CEST 2011 on sn-devel-104 | |||||
2011-03-31 | s3-idmap: fix the build of idmap_hash on FreeBSD. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-31 | s3-libndr: add ../librpc/ndr/libndr.h include in some places. | Günther Deschner | 7 | -0/+7 | |
Guenther | |||||
2011-03-31 | s3-rpcclient: include rpc_client/cli_pipe.h globally in rpcclient.h | Günther Deschner | 8 | -7/+2 | |
Guenther | |||||
2011-03-31 | rep_parse_prs: remove some dead, unused code. | Günther Deschner | 2 | -421/+0 | |
Guenther | |||||
2011-03-30 | Fix convert_string() to take a *converted_size arg. and return a bool. | Jeremy Allison | 14 | -108/+153 | |
Makes these interfaces much harder to misuse and easier to ensure error checking. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 30 23:59:37 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | s3-build: make it a little easier to build smbtorture4. | Günther Deschner | 1 | -1/+1 | |
Only configure with --enable-socket-wrapper --enable-nss-wrapper --enable-uid-wrapper, not --enable-developer which turns on at least one -Werror switch. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 30 23:12:42 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | s3-vfs: try to fix build of aio_fork module. | Günther Deschner | 1 | -1/+2 | |
Guenther | |||||
2011-03-30 | Change convert_string_internal() and convert_string_error() to bool return. | Jeremy Allison | 3 | -58/+55 | |
Move closer to makeing all convert_string_XXX functions return bool. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 30 20:58:10 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | Fix the nstring calls to use the correct sizes. | Jeremy Allison | 1 | -6/+6 | |
2011-03-30 | This doesn't look like it has anything to do with character set conversion, ↵ | Jeremy Allison | 1 | -7/+10 | |
but it does :-). Turns out one of the *really* significant differences between convert_string() in source4 and source3, is that the one in source3 will return 0 for byte length converted when called with dest_len = 0 whereas the one in source4 returns (size_t)-1 and sets errno to E2BIG. Allow the ndr_string code to cope with the (arguably correct) way that the source4 implementation works. This code only gets excercised in the print spooler tests, which aren't run in source4, which is why this bug has lasted for so long. You don't want to know how long it took me to find this :-). Jeremy. | |||||
2011-03-30 | s3: Fix g_lock_lock after the select/poll conversion | Volker Lendecke | 1 | -1/+1 | |
Without clustering we don't have an fd to listen on, and sys_poll needs one element of space Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 30 18:36:50 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | s3-smbd: try to fix the irix build. | Günther Deschner | 1 | -0/+1 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 30 17:17:58 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | s3-vfs acl modules: more non-linux build fixes. | Günther Deschner | 7 | -1/+7 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 30 16:00:02 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | s3-passdb: move LOOKUP_NAME_ flags to passdb where they belong to. | Günther Deschner | 4 | -21/+50 | |
Guenther | |||||
2011-03-30 | s3-passdb: move some passdb defines to passdb.h | Günther Deschner | 2 | -29/+29 | |
Guenther | |||||
2011-03-30 | s3-proto: pure cosmetics, remove some generated comments. | Günther Deschner | 1 | -55/+0 | |
Guenther | |||||
2011-03-30 | s3-winbind: try to fix the build on hosts w/o winbind support. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2011-03-30 | s3-vfs_solarisacl: try to fix the solaris build. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3: Use cli_ntcreate to when listing snapshots | Volker Lendecke | 1 | -1/+5 | |
This works for directories as well Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 30 14:37:02 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | s3: Fix Coverity ID 2041, "UNUSED_VALUE" | Günther Deschner | 1 | -4/+10 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 30 13:49:35 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | lib/util/charset Add tests for convert_string_talloc_handle() | Andrew Bartlett | 5 | -0/+433 | |
Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 30 13:02:47 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | lib/util Move base64 functions into lib/util/base64.c | Andrew Bartlett | 8 | -151/+158 | |
Andrew Bartlett | |||||
2011-03-30 | s3:lib make lazy_initialize_conv() static | Andrew Bartlett | 2 | -2/+1 | |
2011-03-30 | lib/util/charset Remove pointless static bool initialised | Andrew Bartlett | 1 | -5/+0 | |
2011-03-30 | s3: try to fix the build on some non-linux buildfarm machines. | Günther Deschner | 4 | -1/+4 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 30 11:39:31 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | s3: Fix Coverity ID 2217: RESOURCE_LEAK | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 30 10:45:44 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | s3: Fix Coverity ID 2220: RESOURCE_LEAK | Volker Lendecke | 1 | -0/+2 | |
2011-03-30 | s3: Fix Coverity ID 2221: RESOURCE_LEAK | Volker Lendecke | 1 | -0/+2 | |
2011-03-30 | s3: Fix Coverity ID 2222: RESOURCE_LEAK | Volker Lendecke | 1 | -0/+2 | |
2011-03-30 | s3: Fix Coverity ID 2223: RESOURCE_LEAK | Volker Lendecke | 1 | -0/+2 | |
2011-03-30 | s3: Fix Coverity ID 2236: REVERSE_INULL | Volker Lendecke | 1 | -3/+1 | |
We have already dereferenced "b", and the other calls in this loop can only have worked with a valid handle | |||||
2011-03-30 | s3: Fix Coverity ID 2332: MISSING_BREAK | Volker Lendecke | 1 | -0/+1 | |
2011-03-30 | s3: Fix Coverity ID 2237: REVERSE_INULL | Volker Lendecke | 1 | -3/+1 | |
2011-03-30 | tdb: Fix Coverity ID 2238: SECURE_CODING | Volker Lendecke | 1 | -24/+24 | |
2011-03-30 | s3: Fix Coverity ID 2304: FORWARD_NULL | Volker Lendecke | 1 | -3/+1 | |
2011-03-30 | s4:lib/policy/gp_ldap.c - make more use of LDB result constants | Matthias Dieter Wallnöfer | 1 | -13/+13 | |
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Mar 30 09:33:38 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | s4:lib/registry/registry.h - align a copyright line in header comment | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2011-03-30 | talloc - improve doxygen comment of "talloc_move" | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
Express better that this should be a pointer of a pointer. Reviewed-by: Tridge |