Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-10-26 | lib/util: remove useless ../lib/util/mutex.* | Stefan Metzmacher | 4 | -143/+2 | |
Only the disabled process_thread.c registers uses the register fn, all other functions are not used anywhere. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 26 23:29:46 UTC 2010 on sn-devel-104 | |||||
2010-10-26 | waf: Remove lib prefix from libraries manually. | Jelmer Vernooij | 1 | -1/+1 | |
2010-10-25 | ldb:gendb_* calls: support a "NULL" resultset parameter | Matthias Dieter Wallnöfer | 1 | -4/+5 | |
This is useful for "samdb_search_count" where only the amount of entries matters. | |||||
2010-10-24 | Add dump_data_cb() | Volker Lendecke | 2 | -21/+48 | |
2010-10-24 | Add print_asc_cb() | Volker Lendecke | 2 | -3/+24 | |
2010-10-24 | s4: Rename LIBSAMBA-* to libsamba-* | Jelmer Vernooij | 1 | -1/+1 | |
2010-10-23 | s4: Rename UID_WRAPPER to uid_wrapper. | Jelmer Vernooij | 1 | -2/+1 | |
Only link to uid_wrapper when it is enabled. | |||||
2010-10-23 | s4: Rename WRAP_XATTR to wrap_xattr. | Jelmer Vernooij | 1 | -7/+7 | |
2010-10-23 | lib/util: Add tevent WERROR wrappers | Kai Blin | 3 | -2/+126 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 23 07:35:28 UTC 2010 on sn-devel-104 | |||||
2010-10-22 | asn1_tests: Implement negative unit-tests for ber_write_OID_String() | Kamen Mazdrashki | 1 | -0/+22 | |
2010-10-22 | asn1: ber_write_OID_String() to be more picky about supplied OID | Kamen Mazdrashki | 1 | -0/+5 | |
Now function will check for invalid OID handling cases where: - sub-identifier has invalid characters (non-digit) - 'dot' separator found on unexpected place. For instance '.' at start or end of the OID. Two '.' in a row. | |||||
2010-10-21 | lib: make WRAP_XATTR a private library | Andrew Tridgell | 1 | -6/+7 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-10-21 | s4-waf: removed the XATTR and SASL aliases | Andrew Tridgell | 1 | -1/+1 | |
these were hangovers from the old build system names Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-10-21 | s4:lib/util/charset/iconv.c - remove a distinction which can never happen | Matthias Dieter Wallnöfer | 1 | -4/+1 | |
"ret->cd_direct" is never set before. It is set in the "if" upperwards but then the function is terminated with "return". | |||||
2010-10-20 | s3: Don't use talloc_autofree_context in map_file | Volker Lendecke | 1 | -1/+1 | |
2010-10-20 | asn1_tests.c: Make test data static const | Kamen Mazdrashki | 1 | -6/+6 | |
2010-10-20 | lib/util/asn1.c: comment spelling | Kamen Mazdrashki | 1 | -1/+1 | |
2010-10-17 | Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls ↵ | Matthias Dieter Wallnöfer | 3 | -0/+148 | |
in "dsdb/common/util.c"" This reverts commit 8a2ce5c47cee499f90b125ebde83de5f9f1a9aa0. Jelmer pointed out that these are also in use by other LDB databases - not only SAMDB ones. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 13:37:16 UTC 2010 on sn-devel-104 | |||||
2010-10-17 | s4:remove "util_ldb" submodule and integrate the three gendb_* calls in ↵ | Matthias Dieter Wallnöfer | 3 | -150/+0 | |
"dsdb/common/util.c" They're only in use by SAMDB code. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 09:40:13 UTC 2010 on sn-devel-104 | |||||
2010-10-17 | s4:lib/util/util_ldb.c - remove unused "gendb_add_ldif" call | Matthias Dieter Wallnöfer | 1 | -17/+0 | |
2010-10-17 | s4:"wrap_casefold" - move it to "ldb_wrap.c" since it's only used there | Matthias Dieter Wallnöfer | 1 | -5/+0 | |
2010-10-12 | lib/debug Add DEBUGC and DEBUGADDC as dummies | Andrew Bartlett | 1 | -0/+4 | |
This allows code that needs to also compile against the source3 debug code to compile in source4. Andrew Bartlett | |||||
2010-10-11 | util: Fix installation path of tevent_ntstatus.h, tevent_unix.h (bug 7720). | Jelmer Vernooij | 1 | -0/+1 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Oct 11 09:24:56 UTC 2010 on sn-devel-104 | |||||
2010-10-10 | util: Link headers to correct subsystem, fix formatting. | Jelmer Vernooij | 1 | -12/+12 | |
2010-10-06 | idtree: fix right shift of signed ints, crash on large ids on AIX | Rusty Russell | 1 | -1/+1 | |
Right-shifting signed integers in undefined; indeed it seems that on AIX with their compiler, doing a 30-bit shift on (INT_MAX-200) gives 0, not 1 as we might expect. The obvious fix is to make id and oid unsigned: l (level count) is also logically unsigned. (Note: Samba doesn't generally get to ids > 1 billion, but ctdb does) Reported-by: Chris Cowan <cc@us.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@samba.org> Autobuild-Date: Wed Oct 6 08:31:09 UTC 2010 on sn-devel-104 | |||||
2010-10-04 | lib/util/asn1: let asn1_peek_full_tag() return an error if we fail to parse ↵ | Stefan Metzmacher | 1 | -1/+13 | |
tag hdr/len metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 4 14:46:40 UTC 2010 on sn-devel-104 | |||||
2010-10-02 | s3: Fix a 64-bit BUG | Volker Lendecke | 1 | -1/+1 | |
Quick explanation why this is a problem: It is not safe to pass a pointer to a uint32_t into a routine that expects a size_t *. The routine that this pointer is passed to has no chance to find out that in reality it was passed a pointer to a uint32_t. On platforms where sizeof(size_t)==8, we get a nice overwrite of a stack area that should not be overwritten. As this happens over an over again: Does someone know a means to make gcc stop with an error in this case? Volker | |||||
2010-10-01 | samba: share select wrappers. | Günther Deschner | 4 | -2/+242 | |
Guenther | |||||
2010-09-29 | util: added BINARY_ARRAY_SEARCH_V() | Andrew Tridgell | 1 | -0/+16 | |
this is used to search an array of values | |||||
2010-09-27 | Remove talloc_autofree_context() from pm_process | Volker Lendecke | 1 | -1/+1 | |
This would be a classic for talloc_tos(), InFile is freed a few lines down. But unfortunately S4 does not support talloc_tos(). | |||||
2010-09-27 | Lift talloc_autofree_context() from OpenConfFile() | Volker Lendecke | 1 | -3/+3 | |
2010-09-27 | lib/util: change tevent_req_nterror() to a macro | Stefan Metzmacher | 2 | -3/+10 | |
This way we can record where a tevent_req was finished by tevent_req_nterror(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 27 03:18:14 UTC 2010 on sn-devel-104 | |||||
2010-09-26 | lib/util/asn1: add asn1_peek_tag_needed_size() and asn1_peek_full_tag() | Stefan Metzmacher | 2 | -0/+85 | |
We need a way to ask for the length of a tag without having the full buffer yet. metze | |||||
2010-09-21 | strlist: Make test names unique. | Jelmer Vernooij | 1 | -2/+8 | |
2010-09-21 | tevent: include libreplace heade before tevent header | Björn Jacke | 1 | -1/+1 | |
this is supposed to fix bug #7463. Thanks to Joachim Schmitz. | |||||
2010-09-19 | s3: Fix the charset_pull routine (bug 7531) | Volker Lendecke | 1 | -1/+1 | |
In the push routine we do the SVAL, so we should do the SSVAL here. | |||||
2010-09-17 | lib/util: usec_time_diff takes arguments the other way round than TvalDiff did | Björn Jacke | 1 | -1/+1 | |
2010-09-16 | s3/s4: merge msleep and smb_msleep | Björn Jacke | 2 | -8/+43 | |
the merged variant is renamed to smb_msleep as some platforms already have a msleep function. | |||||
2010-09-15 | Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2010-09-14 | Ensure incoming timespec values correctly wrap at nsecs. | Jeremy Allison | 1 | -0/+7 | |
Jeremy. | |||||
2010-09-09 | lib/util: remove some unused_result warnings. | Günther Deschner | 1 | -2/+7 | |
Guenther | |||||
2010-09-07 | lib/util: add time_mono() for monotonic time a la time() | Björn Jacke | 2 | -0/+26 | |
2010-09-04 | util: added samba_start_debugger() | Andrew Tridgell | 2 | -0/+18 | |
This developer function is useful for debugging unusual error conditions | |||||
2010-08-31 | lib/util: add nsec_time_diff to calulate diffs from timespecs | Björn Jacke | 2 | -0/+14 | |
2010-08-31 | lib/util: add function to query the monotonic clock with the required ↵ | Björn Jacke | 2 | -0/+15 | |
fallback to the realtime clock | |||||
2010-08-31 | libreplace: move gettimeofday TZ arg check here | Björn Jacke | 1 | -9/+0 | |
2010-08-28 | lib/util: remove implicit discard_const_p() from SAFE_FREE() | Stefan Metzmacher | 1 | -1/+1 | |
This should fix a lot of warnings on IRIX. If callers know what they're doing they can use discard_const_p() on their own. metze | |||||
2010-08-17 | s3: Fix a ton of type-punned warnings | Volker Lendecke | 1 | -4/+4 | |
2010-07-26 | lib: added samba-util.pc creation | Andrew Tridgell | 2 | -1/+13 | |
Thanks to Brad Hards for this patch | |||||
2010-07-16 | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 2 | -7/+7 | |
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org> |