Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-05-10 | libsmbconf: Convert smbconf_get_config() to sbcErr. | Andreas Schneider | 2 | -10/+6 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_transaction_*() to sbcErr. | Andreas Schneider | 4 | -15/+15 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_delete_includes() to sbcErr. | Andreas Schneider | 4 | -11/+10 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_set_includes() to sbcErr. | Andreas Schneider | 4 | -12/+11 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_get_includes() to sbcErr. | Andreas Schneider | 4 | -18/+15 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_delete_parameter() to sbcErr. | Andreas Schneider | 4 | -11/+10 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_get_parameter() to sbcErr. | Andreas Schneider | 4 | -17/+17 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_set_parameter() to sbcErr. | Andreas Schneider | 4 | -11/+10 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_delete_share() to sbcErr. | Andreas Schneider | 4 | -6/+6 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_get_share() to sbcErr. | Andreas Schneider | 4 | -16/+14 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_create_share() to smbErr. | Andreas Schneider | 4 | -30/+44 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_get_share_names() to sbcErr. | Andreas Schneider | 5 | -40/+43 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_drop() to sbcErr. | Andreas Schneider | 4 | -5/+5 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_open() to sbcErr. | Andreas Schneider | 2 | -10/+3 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_init() to sbcErr. | Andreas Schneider | 4 | -50/+60 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Added a sbcErrorString() function. | Andreas Schneider | 2 | -0/+44 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Introduce a sbcErrType. | Andreas Schneider | 1 | -0/+23 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | tdb_wrap.h: not a public header. | Rusty Russell | 1 | -1/+0 | |
It is a private library, and OpenChange has their own which they use, so it's not for them either. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue May 10 05:21:19 CEST 2011 on sn-devel-104 | |||||
2011-05-09 | tevent: Fix a typo | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 9 08:17:08 CEST 2011 on sn-devel-104 | |||||
2011-05-08 | lib/socket: Remove outdated comment | Andrew Bartlett | 1 | -11/+0 | |
The autoconf and waf tests for interfaces logic are in libreplace now. | |||||
2011-05-08 | lib/socket move interfaces code to the top level | Andrew Bartlett | 3 | -0/+365 | |
2011-05-08 | Improve debug messages when creating socket directories | Andrew Bartlett | 1 | -1/+2 | |
This makes clear what the permissions error and directory name actually is Andrew Bartlett | |||||
2011-05-07 | Fix Samba3 on OpenIndiana. | Gordon Ross | 1 | -1/+3 | |
I'd like Samba to use the native OpenLDAP and MIT Kerberos libs. Attached are some patches to do that. (relative to git master) It does not build for me without these. (OpenIndiana is an off-shoot of OpenSolaris See http://www.openindiana.org) Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat May 7 02:20:14 CEST 2011 on sn-devel-104 | |||||
2011-05-06 | tdb: fix a build warning. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-06 | lib/util don't use enum protocol_types in ms_fnmatch_protocol | Andrew Bartlett | 2 | -2/+2 | |
This makes it easier to compile this in the top level with s3 and s4 headers. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri May 6 08:50:52 CEST 2011 on sn-devel-104 | |||||
2011-05-06 | lib/util Use lib/util/ms_fnmatch.c in common for gen_fnmatch() | Andrew Bartlett | 1 | -2/+2 | |
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 | |||||
2011-05-06 | lib/util Rename ms_fnmatch() to ms_fnmatch_protocol() to avoid dup symbol | Andrew Bartlett | 2 | -5/+6 | |
This verison of the function takes a protcol as argument to determine matching rules. Andrew Bartlett | |||||
2011-05-06 | lib/util Move source3 tdb_wrap_open() into the common code. | Andrew Bartlett | 4 | -1/+246 | |
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-06 | More const fixes. Remove CONST_DISCARD. | Jeremy Allison | 2 | -3/+3 | |
2011-05-05 | Fix many const compiler warnings. | Jeremy Allison | 2 | -4/+4 | |
2011-05-05 | Clean up some const and other compiler warnings. | Jeremy Allison | 4 | -7/+9 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104 | |||||
2011-05-04 | I added them, so I get to kill them :-). Finally remove all uses of ↵ | Jeremy Allison | 3 | -99/+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-04 | Tidy up some missing checks for NULL in strlcpy. | Jeremy Allison | 1 | -1/+1 | |
2011-05-04 | Remove overmalloc_safe_strcpy - can be simple strlcpy. | Jeremy Allison | 1 | -8/+0 | |
2011-05-04 | Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here ↵ | Jeremy Allison | 1 | -2/+2 | |
as the original macro auto-added the -1. | |||||
2011-05-04 | Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1. | Jeremy Allison | 3 | -10/+10 | |
2011-05-03 | lib/util make string_wrappers.h a public header | Andrew Bartlett | 1 | -1/+1 | |
This isn't a very good public header, but util.h includes it, so we don't have much choice in the short term. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue May 3 08:37:22 CEST 2011 on sn-devel-104 | |||||
2011-05-03 | lib/util Use lib/util/util_str.c in common, including strequal() | Andrew Bartlett | 2 | -3/+3 | |
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 Use compiler-checked safe string macros in top level code. | Andrew Bartlett | 2 | -35/+27 | |
This brings the 'safe' macros to the top level code, and removes duplication of the safe_strcpy() and safe_strcat() functions. Andrew Bartlett | |||||
2011-05-03 | s4: fix arguments to safe_strcpy() | Andrew Bartlett | 1 | -5/+5 | |
Found by the s3-derivied safe_strcpy() macro. Andrew Bartlett | |||||
2011-05-03 | lib/util/charset Use push_string and talloc_strupper/strlower from common code | Andrew Bartlett | 2 | -17/+10 | |
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 | Remove strlower_m() and strupper_m() from source4 and common code. | Andrew Bartlett | 2 | -86/+0 | |
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 | 2 | -0/+163 | |
2011-05-03 | lib/util Move more network utility functions from source3 into lib/util | Andrew Bartlett | 4 | -1/+275 | |
This will help with the merge of the interfaces layer. Andrew Bartlett | |||||
2011-05-02 | talloc: use TC_UNDEFINE_SHRINK_CHUNK() instead of ↵ | Stefan Metzmacher | 1 | -1/+36 | |
TC_INVALIDATE_SHRINK_CHUNK() for realloc path If we optimize on top of raw realloc() we need TC_INVALIDATE_SHRINK_CHUNK together with TC_UNDEFINE_GROW_CHUNK (with was missing and caused false positive valgrind warnings). But that is really slow, as we do a lot of talloc_realloc calls in samba. That's why we only to TC_UNDEFINE_SHRINK_CHUNK() for now. metze | |||||
2011-04-30 | lib/util Rename conv_str_size() -> conv_str_size_error() | Andrew Bartlett | 2 | -4/+2 | |
2011-04-30 | kerberos: Only include gssapi/gssapi_krb5.h when available | Andrew Bartlett | 1 | -0/+2 | |
2011-04-29 | lib/util Re-merge the string_sub() and all_string_sub() from source3 | Andrew Bartlett | 3 | -15/+46 | |
Andrew Bartlett | |||||
2011-04-29 | lib/util/charset Move strstr_m() to the top level | Andrew Bartlett | 2 | -0/+84 | |
2011-04-28 | lib/util/charset Merge talloc-based pull and push charset functions | Andrew Bartlett | 3 | -95/+151 | |
These were copied from source3/lib/charcnv.c Andrew Bartlett |