summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Improve debug messages when creating socket directoriesAndrew Bartlett2011-05-081-5/+12
| | | | | | This makes clear what the permissions error and directory name actually is Andrew Bartlett
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* s3: only include tdb headers where needed.Günther Deschner2011-05-0617-0/+20
| | | | Guenther
* lib/util Use lib/util/ms_fnmatch.c in common for gen_fnmatch()Andrew Bartlett2011-05-061-7/+0
| | | | | | | | | gen_fnmatch was a duplicate symbol in the top level build. gen_fnmatch() used for simple non-CIFS pattern matching, so selecting the lib/util implementation should not be a concern. Andrew Bartlett
* errors: Remove unused unix_to_werror()Andrew Bartlett2011-05-061-6/+0
|
* s3-lib Remove unused dos error codes from errmap_unixAndrew Bartlett2011-05-061-44/+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
* lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett2011-05-065-159/+4
| | | | | | | | | 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
* Fix broken interface to set_namearray() - don't modify incoming string.Jeremy Allison2011-05-061-6/+17
|
* More const fixes. Remove CONST_DISCARD.Jeremy Allison2011-05-062-3/+3
|
* More simple const fixes.Jeremy Allison2011-05-052-4/+4
|
* More const fixes for compiler warnings from the waf build.Jeremy Allison2011-05-0510-15/+15
|
* More const compiler warning fixes.Jeremy Allison2011-05-051-1/+1
|
* Fix many const compiler warnings.Jeremy Allison2011-05-053-8/+8
|
* s3-lib: run minimal_includes.pl.Günther Deschner2011-05-052-2/+0
| | | | Guenther
* Fold null terminator into listlen length, change to strlcpy.Jeremy Allison2011-05-041-6/+4
|
* s3-system: move LOCK_ defines to lib/system.cGünther Deschner2011-05-031-0/+9
| | | | Guenther
* s3-ctdb Fix duplicate function name due to packet -> ctdb_packet rename.Andrew Bartlett2011-05-032-2/+2
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* lib/util Use lib/util/util_str.c in common, including strequal()Andrew Bartlett2011-05-031-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
* lib/util/charset Use push_string and talloc_strupper/strlower from common codeAndrew Bartlett2011-05-031-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
* s3-lib make push_ucs2() staticAndrew Bartlett2011-05-031-1/+1
|
* Remove strlower_m() and strupper_m() from source4 and common code.Andrew Bartlett2011-05-031-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
* lib/util Move set_socket_options() into common code.Andrew Bartlett2011-05-031-160/+0
|
* lib/util Move more network utility functions from source3 into lib/utilAndrew Bartlett2011-05-032-227/+0
| | | | | | This will help with the merge of the interfaces layer. Andrew Bartlett
* s3-ctdb Rename packet file and files to ctdb_packetAndrew Bartlett2011-05-032-53/+52
| | | | | | | This avoids a conflicts with the Samba4 packet.c, as these is only used in CTDB Andrew Bartlett
* s3-util: move valid_share_pathname() to lib/util.cGünther Deschner2011-05-021-0/+34
| | | | Guenther
* s3-lib: Rely on uint64_t in conv_str_size()Andrew Bartlett2011-04-301-30/+13
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Apr 30 05:58:35 CEST 2011 on sn-devel-104
* s3-proto: remove duplicate prototypes.Günther Deschner2011-04-291-0/+2
| | | | Guenther
* s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner2011-04-295-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
* s3-tsocket: only include ../lib/tsocket/tsocket.h where needed.Günther Deschner2011-04-292-0/+2
| | | | Guenther
* lib/util Re-merge the string_sub() and all_string_sub() from source3Andrew Bartlett2011-04-291-128/+0
| | | | Andrew Bartlett
* lib/util/charset Move strstr_m() to the top levelAndrew Bartlett2011-04-291-81/+0
|
* libcli/smb Move attrib_string in commonAndrew Bartlett2011-04-291-20/+0
|
* s3-client Add TALLOC_CTX argument to attrib_string().Andrew Bartlett2011-04-291-2/+2
| | | | | | This ensures the caller knows where the memory was allocated. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCHAndrew Bartlett2011-04-291-1/+1
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett2011-04-291-1/+1
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_VOLUME intead of aVOLIDAndrew Bartlett2011-04-291-1/+1
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett2011-04-291-1/+1
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett2011-04-291-1/+1
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLYAndrew Bartlett2011-04-291-1/+1
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* lib/util/charset Merge talloc-based pull and push charset functionsAndrew Bartlett2011-04-281-115/+0
| | | | | | These were copied from source3/lib/charcnv.c Andrew Bartlett
* s3: Properly clean up in pthreadpool_init in case of failureVolker Lendecke2011-04-271-0/+6
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Apr 27 23:57:19 CEST 2011 on sn-devel-104
* s3-waf: add pthreadpool support.Günther Deschner2011-04-271-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
* s3-netapi: Fix Coverity CID #2302: FORWARD_NULLGünther Deschner2011-04-271-1/+1
| | | | Guenther
* s3: Allow unlimited parallelism in pthreadpoolVolker Lendecke2011-04-262-9/+31
|
* s3:lib/util_sock: listen on IPv6 addresses with IPV6_ONLY (bug #7383)Stefan Metzmacher2011-04-251-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
* s3:lib/access: normalize IPv4 mapped IPv6 addresses in both directions (bug ↵Stefan Metzmacher2011-04-251-14/+17
| | | | | | #7383) metze
* s3: pthreadpool_sig_fd->pthreadpool_signal_fdVolker Lendecke2011-04-254-7/+7
|
* s3: Tiny doc for pthreadpoolVolker Lendecke2011-04-251-7/+59
|
* s3: Many pthreadpool fixesVolker Lendecke2011-04-255-87/+587
| | | | In particular, this makes it fork-safe
* s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()Stefan Metzmacher2011-04-241-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