Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-10-01 | s4/asn1: Added test for ber_write_OID_String() | Kamen Mazdrashki | 1 | -0/+74 | |
2009-10-01 | s4/asn1: Added torture suite for ASN1 | Kamen Mazdrashki | 1 | -0/+35 | |
2009-10-01 | util: strhex_to_str() fixed to handle '0x' correctly | Kamen Mazdrashki | 1 | -6/+6 | |
2009-10-01 | util: fixed compile time "discards qualifiers" warning | Kamen Mazdrashki | 1 | -3/+3 | |
2009-10-01 | s4/drsuapi: ber_read_partial_OID_String() implementation | Kamen Mazdrashki | 2 | -0/+37 | |
2009-10-01 | s4/drsuapi: Internal implementation for ber_read_OID_String | Kamen Mazdrashki | 1 | -0/+40 | |
Modified implementation _ber_read_OID_String_impl() returns how much bytes are converted. The intentation is to use this implementation both for reading OIDs and partial-OIDs in the future | |||||
2009-10-01 | s4/drsuapi: ber_write_partial_OID_String() implementation | Kamen Mazdrashki | 2 | -0/+36 | |
2009-09-30 | s4:torture: data_blob_hex_string() output is now lowercase. | Andrew Kroeger | 1 | -1/+1 | |
Based on the change in commit fb84edabbe9f358031117de2cf78613c704ac600, these tests needs to expect lowercase output. | |||||
2009-09-27 | parmlist: Add more tests. | Jelmer Vernooij | 3 | -3/+92 | |
2009-09-27 | parmlist: Add basic tests for test_get_int(). | Jelmer Vernooij | 1 | -0/+46 | |
2009-09-27 | util/parmlist: Add some more comments. | Jelmer Vernooij | 2 | -4/+36 | |
2009-09-26 | libutil: Add separate utility code for dealing with settings as a | Jelmer Vernooij | 3 | -0/+102 | |
collection of key/value pairs. | |||||
2009-09-25 | lib/util: fix build warning. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-09-24 | Remove the const from the str_list_XXX functions that | Jeremy Allison | 2 | -24/+24 | |
allocate both list and containing strings. This fixes problems that people have tried to cast away and are not needed. Jeremy. | |||||
2009-09-22 | s4-ldb: added a bunch more debug for DC join | Andrew Tridgell | 1 | -2/+3 | |
These additional debug messages were added to help us track down w2k8->s4 domain join | |||||
2009-09-22 | s4-util: windows only accepts lowercase hex encodings for extended DNs | Andrew Tridgell | 1 | -1/+4 | |
2009-09-17 | spnego: Support ASN.1 BIT STRING and use it in SPNEGO. | Kouhei Sutou | 2 | -0/+44 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2009-09-15 | libcli:nbt put util_net.c protos in new header file | Andrew Bartlett | 2 | -21/+46 | |
This fixed a very odd build problem due to util.h importing system/network.h being imported before the uid_wapper code. Andrew Bartlett | |||||
2009-09-15 | libcli:nbt make the lmhosts parsing code and dependicies common | Andrew Bartlett | 2 | -2/+138 | |
This starts the process to have Samba4 use lmhosts. Andrew Bartlett | |||||
2009-09-10 | util_strlist: Add some more "const"s - small correction | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-09-10 | util_strlist: Add some more "const"s | Matthias Dieter Wallnöfer | 2 | -22/+27 | |
2009-09-08 | lib/util: add unique string generator helper function | Steven Danneman | 2 | -0/+69 | |
2009-09-07 | s4:tests/iconv - Fix a warning | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
2009-09-07 | s4: Fix "Small memory leak after calling several times lp_update" | Inra | 2 | -37/+20 | |
Should fix bug #6660. | |||||
2009-09-05 | util:tests: Correct time tests for negative UTC offsets. | Andrew Kroeger | 1 | -2/+23 | |
All: Please find attached a patch to fix the timestring and http_timestring tests on hosts that have a negative UTC offset (west of the Prime Meridian). Sincerely, Andrew Kroeger >From 8a8ca35edccf64aa98f2f3ae1469c4c27db8215e Mon Sep 17 00:00:00 2001 From: Andrew Kroeger <andrew@id10ts.net> Date: Fri, 4 Sep 2009 01:31:50 -0500 Subject: [PATCH] util:tests: Correct time tests for negative UTC offsets. The timestring and http_timestring tests were failing on hosts with negative offsets from UTC. Due to the timezone offset, the returned values were back in the year 1969 (before the epoch) and did not match the test patterns. The correction computes the offset from UTC, and if it is negative that offset is added onto the value given to the timestring() and http_timestring() calls so that the returned values fall on 01-Jan-1970 and match the test pattern. | |||||
2009-08-27 | util: fix comment and clarify argument name in DLIST_DEMOTE() | Michael Adam | 1 | -3/+3 | |
Michael | |||||
2009-08-24 | Fix make test. | Jeremy Allison | 1 | -0/+1 | |
Jeremy. | |||||
2009-08-11 | Rename ASN1_BITFIELD to ASN1_BIT_STRING. | Kouhei Sutou | 1 | -1/+1 | |
X.690 uses "BIT STRING" not "BIT FIELD". | |||||
2009-08-05 | make the UID_WRAPPER skip checks at runtime | Andrew Tridgell | 2 | -5/+8 | |
This fixes two issues pointed out by Andrew. It adds a runtime uwrap_enabled() call that wraps the skips needed for uid emulation. It also makes the skip in the directory_create_or_exist() function only change the uid checking code, not the permissions code | |||||
2009-08-05 | added a uid_wrapper library | Andrew Tridgell | 2 | -0/+3 | |
This library intercepts seteuid and related calls, and simulates them in a manner similar to the nss_wrapper and socket_wrapper libraries. This allows us to enable the vfs_unixuid NTVFS module in the build farm, which means we are more likely to catch errors in the token manipulation. The simulation is not complete, but it is enough for Samba4 for now. The major areas of incompleteness are: - no emulation of setreuid, setresuid or saved uids. These would be needed for use in Samba3 - no emulation of ruid changing. That would also be needed for Samba3 - no attempt to emulate file ownership changing, so code that (for example) tests whether st.st_uid matches geteuid() needs special handling | |||||
2009-07-31 | util/asn1: fix potential memory leak in asn1_write_OID() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2009-07-25 | No explicit initialization necessary for a zero blob | Volker Lendecke | 1 | -3/+1 | |
2009-07-20 | lib util: Fix const warning | Tim Prouty | 1 | -1/+1 | |
2009-07-19 | lib/util/util_file.c(file_save): fixed file descriptor leak when read(2) fails. | Slava Semushin | 1 | -0/+1 | |
Found by cppcheck: [./lib/util/util_file.c:383]: (error) Resource leak: fd | |||||
2009-07-19 | Fix broken password quality check | Matthieu Patou | 2 | -1/+4 | |
This fixes broken password tests when the passwords contain non ASCII characters (e.g. accentuated chars like ('e, `e, ...) | |||||
2009-07-01 | lib/util: fix order of includes in tevent_ntstatus.c | Michael Adam | 1 | -1/+1 | |
replace.h needs to be included first. Michael | |||||
2009-06-29 | lib/util: fix building tevent_ntstatus without config.h | Michael Adam | 1 | -1/+0 | |
(when called from places with "#define NO_CONFIG_H" set, such as configure) Michael | |||||
2009-06-29 | Fix ndrdump to use a common setup_logging() API | Andrew Bartlett | 2 | -1/+18 | |
By adding a new common setup_logging_stdout() API, we no longer need to abuse the ABI compatability between the different setup_logging() calls in Samba3 and Samba4's DEBUG() subsystems. The revert of 49a6d757b4d944cd22c91b2838beb83f04fbe1e9 works with this to fix bug 6211. Andrew Bartlett | |||||
2009-06-29 | Revert "s4:debug: make setup_logging() a bit more compatible with samba3" | Andrew Bartlett | 1 | -1/+1 | |
The problem is that the enum was previously a 'rachet', that is, it would only reset to a level higher than it was previouly set to. Changing the order broke file-based logging for our production sites. This reverts commit 49a6d757b4d944cd22c91b2838beb83f04fbe1e9. | |||||
2009-06-29 | Two patches which fix issues on cross compiling/building | Nathaniel McCallum | 1 | -1/+1 | |
2009-06-20 | Move asn1_load_nocopy() to lib/util/asn1.c | Volker Lendecke | 2 | -0/+11 | |
2009-06-20 | Move asn1_blob() to lib/util/asn1.c | Volker Lendecke | 2 | -0/+17 | |
2009-06-11 | Fix build of recurusion fix in reopen_logs() | Andrew Bartlett | 1 | -1/+1 | |
2009-06-11 | Don't recurse in reopen_logs(). | Andrew Bartlett | 1 | -0/+6 | |
Use the state to avoid recursion in reopen_logs(), as DEBUG() can call this function. Andrew Bartlett | |||||
2009-06-10 | lib-util: move set_blocking() call into own file. | Günther Deschner | 3 | -31/+63 | |
Guenther | |||||
2009-06-10 | added asn1 functions for handling booleans in a simple context | Andrew Tridgell | 2 | -0/+25 | |
2009-06-08 | libsamba-util: Fix soversion. | Jelmer Vernooij | 1 | -1/+1 | |
2009-06-06 | Use data_blob_null instead of data_blob(NULL, 0) | Volker Lendecke | 1 | -1/+1 | |
2009-06-04 | add gendb_search_single_extended_dn() | Andrew Tridgell | 2 | -0/+103 | |
This function searches for a single record using a given filter, adding the extended-dn control so that any returned DNs will have the GUID and SID fields returned. This will be used in the sam auth code to prevent us doing a member= search for the groups, which invokes an unindexed search. | |||||
2009-06-02 | Build libsamba-util as a shared library. | Jelmer Vernooij | 1 | -1/+4 | |