Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-05-17 | is_my_ipaddr() should recognise loopback addresses as ours. | Jeremy Allison | 1 | -5/+5 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 17 20:05:42 CEST 2011 on sn-devel-104 | |||||
2011-05-13 | s3-netapi Initialise global variables in libnetapi | Andrew Bartlett | 1 | -1/+1 | |
It is important to initalise the global variables when loading this configuration for the potentially first time. Andrew Bartlett | |||||
2011-05-13 | s3-libnetapi Don't create a talloc_stackframe() in a global variable | Andrew Bartlett | 2 | -16/+37 | |
This also ensures that libnetapi_free() invalidates the global stat_ctx variable, and changes the API so that the behaviour of the error string routines is to consistently return a allocated string. Pair-Programmed-With: Günther Deschner <gd@samba.org> Andrew Bartlett | |||||
2011-05-13 | s3-libnetapi/libnetjoin: fix uninitialized variables after the libsmbconf ↵ | Günther Deschner | 1 | -1/+1 | |
changes. Guenther | |||||
2011-05-12 | s3-lib/smbconf: fix uninitialized error code in smbconf_reg_init(). | Günther Deschner | 1 | -1/+1 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu May 12 18:09:16 CEST 2011 on sn-devel-104 | |||||
2011-05-10 | libsmbconf: Convert smbconf_transaction_*() to sbcErr. | Andreas Schneider | 1 | -6/+27 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_delete_includes() to sbcErr. | Andreas Schneider | 2 | -13/+16 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_set_includes() to sbcErr. | Andreas Schneider | 2 | -18/+23 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_get_includes() to sbcErr. | Andreas Schneider | 2 | -19/+18 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_delete_parameter() to sbcErr. | Andreas Schneider | 1 | -6/+8 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_get_parameter() to sbcErr. | Andreas Schneider | 1 | -7/+6 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_set_parameter() to sbcErr. | Andreas Schneider | 2 | -13/+22 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_delete_share() to sbcErr. | Andreas Schneider | 1 | -7/+14 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_get_share() to sbcErr. | Andreas Schneider | 1 | -56/+73 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_create_share() to smbErr. | Andreas Schneider | 1 | -10/+12 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_get_share_names() to sbcErr. | Andreas Schneider | 1 | -29/+37 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_drop() to sbcErr. | Andreas Schneider | 1 | -6/+12 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_open() to sbcErr. | Andreas Schneider | 2 | -12/+16 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | libsmbconf: Convert smbconf_init() to sbcErr. | Andreas Schneider | 6 | -21/+28 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-10 | s3-events: tevent_internal.h is not a public header | Andrew Tridgell | 1 | -1/+1 | |
We need to use the "foo.h" form instead of the <foo.h> form for headers that are not installed publicly. Otherwise when an external version of tevent is used we won't find the header and the build will fail. Note that this creates a structure dependency between the tevent structures in the external library and the headers in our source tree. That is not ideal, but is currently OK as the waf build will only use the external library if it is at least the same version as the internal tree, which means it will actually be the same version, as we release the external version from our tree. We should come up with a better solution, but for now this allows openchange to build again. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue May 10 16:06:40 CEST 2011 on sn-devel-104 | |||||
2011-04-19 | gencache: don't use CLEAR_IF_FIRST as fallback. | Rusty Russell | 1 | -7/+3 | |
CLEAR_IF_FIRST only works if *all* openers use that flag. So just truncate the file: it's racy, but that's what we're doing anyway. We'd really need a TDB_OPENCHECK_OR_CLEAR flag to do this properly (or in TDB2, a open hook at the right point). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2011-05-08 | s3-lib Use common lib/socket code for get_interfaces() et al | Andrew Bartlett | 4 | -302/+3 | |
2011-05-08 | Improve debug messages when creating socket directories | Andrew Bartlett | 1 | -5/+12 | |
This makes clear what the permissions error and directory name actually is Andrew Bartlett | |||||
2011-05-06 | s3-libsmb: move protos to libsmb/proto.h | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-06 | s3: only include tdb headers where needed. | Günther Deschner | 17 | -0/+20 | |
Guenther | |||||
2011-05-06 | lib/util Use lib/util/ms_fnmatch.c in common for gen_fnmatch() | Andrew Bartlett | 1 | -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 | |||||
2011-05-06 | errors: Remove unused unix_to_werror() | Andrew Bartlett | 1 | -6/+0 | |
2011-05-06 | s3-lib Remove unused dos error codes from errmap_unix | Andrew Bartlett | 1 | -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 | |||||
2011-05-06 | lib/util Move source3 tdb_wrap_open() into the common code. | Andrew Bartlett | 5 | -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 | |||||
2011-05-06 | Fix broken interface to set_namearray() - don't modify incoming string. | Jeremy Allison | 1 | -6/+17 | |
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 |