Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-05-06 | More const fixes. Remove CONST_DISCARD. | Jeremy Allison | 2 | -3/+3 | |
2011-05-05 | More simple const fixes. | Jeremy Allison | 2 | -4/+4 | |
2011-05-05 | More const fixes for compiler warnings from the waf build. | Jeremy Allison | 10 | -15/+15 | |
2011-05-05 | More const compiler warning fixes. | Jeremy Allison | 1 | -1/+1 | |
2011-05-05 | Fix many const compiler warnings. | Jeremy Allison | 3 | -8/+8 | |
2011-05-05 | s3-lib: run minimal_includes.pl. | Günther Deschner | 2 | -2/+0 | |
Guenther | |||||
2011-05-04 | Fold null terminator into listlen length, change to strlcpy. | Jeremy Allison | 1 | -6/+4 | |
2011-05-03 | s3-system: move LOCK_ defines to lib/system.c | Günther Deschner | 1 | -0/+9 | |
Guenther | |||||
2011-05-03 | s3-ctdb Fix duplicate function name due to packet -> ctdb_packet rename. | Andrew Bartlett | 2 | -2/+2 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-05-03 | lib/util Use lib/util/util_str.c in common, including strequal() | Andrew Bartlett | 1 | -86/+0 | |
strequal() is now implemented in terms of strcasecmp_m() which is tested in smbtorture and which does not talloc() for ASCII or non-ASCII comparions, and has an ASCII fast-path. Andrew Bartlett | |||||
2011-05-03 | lib/util/charset Use push_string and talloc_strupper/strlower from common code | Andrew Bartlett | 1 | -122/+0 | |
The only caller of push_string() (not to be confused with push_string_check()) in the common code was encode_pw_buffer(), and it didn't use the alignment or STR_UPPER flags. The talloc_strupper() and talloc_strlower() functions are tested in smbtorture, and are next_codepoint() based. Andrew Bartlett | |||||
2011-05-03 | s3-lib make push_ucs2() static | Andrew Bartlett | 1 | -1/+1 | |
2011-05-03 | Remove strlower_m() and strupper_m() from source4 and common code. | Andrew Bartlett | 1 | -0/+61 | |
This function is problematic because a string may expand in size when changed into upper or lower case. This will then push characters off the end of the string in the s3 implementation, or panic in the former s4 implementation. Andrew Bartlett | |||||
2011-05-03 | lib/util Move set_socket_options() into common code. | Andrew Bartlett | 1 | -160/+0 | |
2011-05-03 | lib/util Move more network utility functions from source3 into lib/util | Andrew Bartlett | 2 | -227/+0 | |
This will help with the merge of the interfaces layer. Andrew Bartlett | |||||
2011-05-03 | s3-ctdb Rename packet file and files to ctdb_packet | Andrew Bartlett | 2 | -53/+52 | |
This avoids a conflicts with the Samba4 packet.c, as these is only used in CTDB Andrew Bartlett | |||||
2011-05-02 | s3-util: move valid_share_pathname() to lib/util.c | Günther Deschner | 1 | -0/+34 | |
Guenther | |||||
2011-04-30 | s3-lib: Rely on uint64_t in conv_str_size() | Andrew Bartlett | 1 | -30/+13 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Apr 30 05:58:35 CEST 2011 on sn-devel-104 | |||||
2011-04-29 | s3-proto: remove duplicate prototypes. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2011-04-29 | s3-tevent: only include ../lib/util/tevent wrappers where needed. | Günther Deschner | 5 | -0/+6 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104 | |||||
2011-04-29 | s3-tsocket: only include ../lib/tsocket/tsocket.h where needed. | Günther Deschner | 2 | -0/+2 | |
Guenther | |||||
2011-04-29 | lib/util Re-merge the string_sub() and all_string_sub() from source3 | Andrew Bartlett | 1 | -128/+0 | |
Andrew Bartlett | |||||
2011-04-29 | lib/util/charset Move strstr_m() to the top level | Andrew Bartlett | 1 | -81/+0 | |
2011-04-29 | libcli/smb Move attrib_string in common | Andrew Bartlett | 1 | -20/+0 | |
2011-04-29 | s3-client Add TALLOC_CTX argument to attrib_string(). | Andrew Bartlett | 1 | -2/+2 | |
This ensures the caller knows where the memory was allocated. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCH | Andrew Bartlett | 1 | -1/+1 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIR | Andrew Bartlett | 1 | -1/+1 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_VOLUME intead of aVOLID | Andrew Bartlett | 1 | -1/+1 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEM | Andrew Bartlett | 1 | -1/+1 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDEN | Andrew Bartlett | 1 | -1/+1 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLY | Andrew Bartlett | 1 | -1/+1 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-28 | lib/util/charset Merge talloc-based pull and push charset functions | Andrew Bartlett | 1 | -115/+0 | |
These were copied from source3/lib/charcnv.c Andrew Bartlett | |||||
2011-04-27 | s3: Properly clean up in pthreadpool_init in case of failure | Volker Lendecke | 1 | -0/+6 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Apr 27 23:57:19 CEST 2011 on sn-devel-104 | |||||
2011-04-27 | s3-waf: add pthreadpool support. | Günther Deschner | 1 | -0/+11 | |
Volker, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 27 17:57:32 CEST 2011 on sn-devel-104 | |||||
2011-04-27 | s3-netapi: Fix Coverity CID #2302: FORWARD_NULL | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2011-04-26 | s3: Allow unlimited parallelism in pthreadpool | Volker Lendecke | 2 | -9/+31 | |
2011-04-25 | s3:lib/util_sock: listen on IPv6 addresses with IPV6_ONLY (bug #7383) | Stefan Metzmacher | 1 | -0/+26 | |
This avoids getting IPv4 addresses as mapped IPv6 addresses (e.g. ::ffff:192.168.0.1). Before the bahavior was inconsistent between operating system and distributions. Some system have IPV6_ONLY as default. Now we consistently get AF_INET for IPv4 addresses and AF_INET6 for IPv6 addresses. It also makes it possible to listen only on IPv6 now as "::" doesn't imply "0.0.0.0" anymore. Which also avoids confusing log messages that we were not able to bind to "0.0.0.0". metze | |||||
2011-04-25 | s3:lib/access: normalize IPv4 mapped IPv6 addresses in both directions (bug ↵ | Stefan Metzmacher | 1 | -14/+17 | |
#7383) metze | |||||
2011-04-25 | s3: pthreadpool_sig_fd->pthreadpool_signal_fd | Volker Lendecke | 4 | -7/+7 | |
2011-04-25 | s3: Tiny doc for pthreadpool | Volker Lendecke | 1 | -7/+59 | |
2011-04-25 | s3: Many pthreadpool fixes | Volker Lendecke | 5 | -87/+587 | |
In particular, this makes it fork-safe | |||||
2011-04-24 | s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status() | Stefan Metzmacher | 1 | -1/+1 | |
Most fault codes have a NTSTATUS representation, so use that. This brings the fault handling in common with the source4/librpc/rpc code, which make it possible to share more highlevel code, between source3 and source4 as the error checking can be the same now. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Apr 24 10:44:53 CEST 2011 on sn-devel-104 | |||||
2011-04-23 | s3: Fix Coverity ID 2478, UNINIT | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 23 14:11:22 CEST 2011 on sn-devel-104 | |||||
2011-04-23 | s3:lib/sysquota: remove ugly LARGE_SMB_OFF_T ifdef's | Stefan Metzmacher | 1 | -24/+0 | |
We rely on uint64_t for a long time now... metze | |||||
2011-04-22 | s3: Fix Coverity ID 2307, NULL_RETURNS | Volker Lendecke | 1 | -0/+4 | |
2011-04-22 | s3: Fix Coverity ID 1340, NULL_RETURNS | Volker Lendecke | 1 | -0/+4 | |
2011-04-20 | lib/util/charset create _handle functions for convert_string() et al | Andrew Bartlett | 1 | -12/+0 | |
This is now API compatible with the existing code in lib/util/charset lazy_initialize_conv() is no longer called as init_iconv() is called when the smb.conf is processed, and get_conv_handle() will auto-init with defaults if required. load_case_tables_library() is no longer requried as all binaries and libraries already load these in their entry points, as otherwise all the other string functions would fail. Andrew Bartlett | |||||
2011-04-17 | s3: Use \0 instead of NULL when 0-terminating a string | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 17 12:26:15 CEST 2011 on sn-devel-104 | |||||
2011-04-16 | s3: Remove an unused variable | Volker Lendecke | 1 | -3/+0 | |
2011-04-14 | s3-build: make sure we pick up system tdb and talloc via #include. | Günther Deschner | 1 | -1/+1 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 12:56:28 CEST 2011 on sn-devel-104 |