summaryrefslogtreecommitdiff
path: root/source4/lib/util
AgeCommit message (Collapse)AuthorFilesLines
2008-09-24Move source4/lib/crypto to lib/crypto.Jelmer Vernooij1-1/+1
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce1-1/+2
The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful.
2008-09-16Use single copy of tdb in both samba3 and samba4.Jelmer Vernooij1-1/+1
2008-08-22fixed a problem with length limited ldap valuesAndrew Tridgell2-3/+3
The core ldb code for string matching assumed NULL terminated strings, whereas the anr module used data_blob_const() to effectively truncate a ldb_val by changing its length. The ldb code is supposed to be based around length limited blobs, not NULL terminated strings, so the correct fix was to change the string comparison functions to be length limited (This used to be commit 26c6aa5a80ffaf06fc33f30a6533f8f16ef538bc)
2008-08-21Don't walk past the end of ldb values.Andrew Bartlett1-1/+1
This is a partial fix towards bugs due to us walking past the end of what we think are strings in ldb. There is much more work to do in this area. Andrew Bartlett (This used to be commit 5805a9a8f35fd90fa4f718f73534817fa3bbdfd2)
2008-07-25Define HAVE_ASM_BYTEORDER at all timesBrad Hards1-2/+4
(This used to be commit 396ea14732d667960091f4a2570341059914ecb6)
2008-06-27tdb_unpack: Eliminate "cast to pointer from integer of different size" ↵Michael Adam1-1/+7
warning on 64bit. The 'p' type is just a flag to mark the presence of a pointer, not a real pointer itself. The code is now the same as in Samba3's tdb_unpack. Michael (This used to be commit a516bc9a2d4ce86244d0e2fbfacf6fda5e12e987)
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce1-0/+1
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-05-27Use new dynconfig.h location.Jelmer Vernooij1-1/+1
(This used to be commit c3f556915f09d078253e4c5539910a1cf420eeca)
2008-05-20smbtorture: Add RAW-BENCH-TCON benchmark.James Peach2-2/+2
Add a simple test to benchmark the rate at which a server can accept new tree connections. You can tune the length of time to run the benchmark for and the number of parallel connections to make. (This used to be commit ea3f4b93057e85c4ea516cc77dd0f293016d520c)
2008-05-18Fix a bunch of dependencies.Jelmer Vernooij1-1/+1
(This used to be commit a63f458462d207d215a6e4ef8e480b0c8daedf6a)
2008-05-18Fix a couple (well, little more than that..) of typos.Jelmer Vernooij1-3/+3
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij1-3/+6
middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18Use variables for source directory in remaining subsystems.Jelmer Vernooij1-7/+7
(This used to be commit 6b6b2196a8a8d9e741f5c399185ded7a16938da0)
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij1-1/+1
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-17use uintptr_t instead of intptr_t where appropriateAndrew Tridgell1-1/+1
(This used to be commit d62f2bcc85c13605c133db250e0a86d2d6ccc481)
2008-04-15Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables ↵Jelmer Vernooij1-2/+0
directly instead. (This used to be commit 9d0ae012b0b463278cd054d06788aa998acc2da2)
2008-04-14Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij1-15/+17
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2008-04-13Use torture_assert_mem_equal() in a couple more places.Jelmer Vernooij1-2/+2
(This used to be commit e2c3fab9d1bf0482c15a115e7d373562ffe50b29)
2008-04-02util: Add talloc_get_type_abort() call.Kai Blin2-0/+22
(This used to be commit 38413ed4b6957e5f72e78a04f479c6a5d8b69ef5)
2008-04-02Re-add params file to git.Jelmer Vernooij1-0/+587
(This used to be commit fc50e78e2631e8253571bc236302e2859e4d1559)
2008-04-02Reintroduce header previously autogenerated but ignored by git.Jelmer Vernooij1-3/+4
Also fixed extra include in regpatch. (This used to be commit 0e371cf169e9a607fcbb3e65437ab9413935dd52)
2008-04-02Reduce the number of installed headers.Jelmer Vernooij1-1/+1
(This used to be commit 2243e24024f09ff9c9c7d0eb735c3b39c9d84424)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij6-9/+46
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-04-01Add warning to public headers.Jelmer Vernooij1-0/+4
(This used to be commit 7bfe359c73aac96f8e983e8d5e9621235cf79a3a)
2008-04-01Add userdata argument to reseed callback function.Jelmer Vernooij3-6/+8
(This used to be commit d4272bc6bcfcd71fa93edb25bb33d6458e8b33cd)
2008-04-01Move ini-like file parser to the utility library.Jelmer Vernooij2-1/+10
(This used to be commit 2dc2bb800dab3f7dbdba01f5ca5076edd1a2b0f3)
2008-03-18lib/util: use LIBREPLACE_NETWORK as EXT_NSL doesn't exist anymoreStefan Metzmacher1-1/+1
metze (This used to be commit b7dad8674a3aaa27bc1103a83be75434d413239b)
2008-02-29Change remaining prototype headers to be private.Jelmer Vernooij1-3/+3
(This used to be commit 2f7ff409e89c9682e681ddcf54439db9e3b6ccb4)
2008-02-29Move public header accumulation out of the perl code.Jelmer Vernooij1-11/+13
Never install generated prototype files. It's easier to break the API when using them and they're not easily readable for 3rd party users. Conflicts: source/auth/config.mk source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/config_mk.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/lib/charset/config.mk source/lib/tdr/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/torture/config.mk (This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij1-7/+8
(This used to be commit 58a5b1de2b093fe642eb11d76d12db0edf60c25c)
2008-02-20Fix use of some modules (needed _PUBLIC_).Jelmer Vernooij2-3/+2
(This used to be commit ce332130ea77159832da23bab760fa26921719e2)
2008-02-14util_ldb: Add a missing \n to debug string, fix trailing whitespaces.Kai Blin1-8/+9
(This used to be commit b0991cc09b36171c18d2407c9f3153b6f7e8299b)
2008-02-11Fix typo.Jelmer Vernooij1-1/+1
(This used to be commit 54e7d10fe0eb4837b00b9b049fbd59a56ee85bea)
2008-02-09Move nt_time_equal() to libutil.Jelmer Vernooij2-1/+12
(This used to be commit 9705263a6c58d4ade556d17db2009dbb85291b22)
2008-02-01Samba4 poor mans debug_ctx()Amin Azez1-0/+4
DEBUG(), DEBUGADD() and friends can now use debug_ctx() in the formatting expressions again, e.g. DEBUG(5,("Guid failed to match: %s\n", GUID_string(debug_ctx(), r->guid))); Sadly it's done with macros (again) but when we need to save the 8 or 16 bytes of object code per DEBUG() expression we can do it the Samba 3 way with added thread-safety for Samba 4. That could save up to 200K, allowing 12 bytes for each occurrance of DEBUG... Signed-off-by: Amin Azez <azez@ufomechanic.net> (This used to be commit 9781967542b00c279563d435aec72dac1e8c7e9a)
2008-01-22build: Remove support for DESCRIPTION setting that is now unused.Jelmer Vernooij1-1/+0
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
2008-01-15util: Move asn1 to lib/util to trim down the number of subsystems.Jelmer Vernooij3-0/+829
(This used to be commit 44e1cfd2d0ef62e4ee541cec00581a7151d951b3)
2007-12-26r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.Kai Blin1-3/+2
Also rename the corresponding wrap_ functions. (This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)
2007-12-21r26511: Janitorial: Fix a warning for the 'printf' attribute on gendb_search_vKai Blin1-3/+3
While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf. (This used to be commit 5b3a8c8ae195e6a98357a407a0699493f54a8b79)
2007-12-21r26457: Janitorial: Don't use pstring in tdb_unpackKai Blin1-9/+8
(This used to be commit 447bc42180cf0be71a35e40f6d93d91879397a48)
2007-12-21r26434: Remove display charset from iconv convenience context.Jelmer Vernooij2-21/+18
(This used to be commit a76625994abf9906d54ae11f9c171f89063cf508)
2007-12-21r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij2-8/+10
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21r26417: Make str_list_copy(mem_ctx, NULL) return NULL rather than an empty list.Jelmer Vernooij2-2/+33
(This used to be commit cf8636c8b77c745812376d0ea6f0fb6246a2e4fb)
2007-12-21r26386: We need to test in more than just 'interactive' mode...Andrew Bartlett1-1/+1
Fix segfault found when running smbd without options. Andrew Bartlett (This used to be commit 880dfeadae41be5f0140ac07afb8680fc11f6ebf)
2007-12-21r26316: Use contexts for conversion functions.Jelmer Vernooij2-8/+8
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
2007-12-21r26266: Remove more global_loadparm uses.Jelmer Vernooij1-55/+0
(This used to be commit 99113075c4a96679bcec4f4d6bba4acb3dee4245)
2007-12-21r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij3-4/+192
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-12-21r25830: fix compiler warningStefan Metzmacher2-2/+2
metze (This used to be commit 26bfdff48779447a2f4b552c5af32abf2b8c4c45)
2007-12-21r25802: fix the build on solaris, void functions doesn't return valuesStefan Metzmacher1-2/+2
metze (This used to be commit 7d6c3e31de448c59dbb6933917c4f434c90cedf6)