summaryrefslogtreecommitdiff
path: root/source4/lib/util
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24333: Add convenience function for checking the contents of a file in tests.Jelmer Vernooij1-0/+3
(This used to be commit 4e304101241ea7bcb9111b757bb51b16665d492d)
2007-10-10r24273: Fix bug #4817 by <mwallnoefer@yahoo.de>. (Unable to add a computerAndrew Bartlett1-5/+10
from MMC Active Directory Users and Computers). Windows sets a 14 UCS2 char buffer as the password in this case. We need to allow random buffers to be accepted as complex passwords, even if they don't have ASCII upper or lower case characters. (If half the bytes are > 127, then it's likely a random buffer). Also make the test match the documented windows behaviour of '3 of the 4 classes: upper, lower, digit, special'. Andrew Bartlett (This used to be commit 5ef26a2ba3561580f0a73ee61eb707573cc98cd3)
2007-10-10r23807: added hex_encode_talloc()Andrew Tridgell1-0/+16
(This used to be commit 1b105097e3f4a8475d3a2623205ecdea2aef91cf)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 5c9b19271e0e3ad897499707003ce4703ffa4870)
2007-10-10r23796: main COPYING file for samba4, plus some formatting varientsAndrew Tridgell1-1/+1
(This used to be commit 76c6bfdeb51b5673bbabe0ca3d8bff3b74a327ee)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell35-105/+70
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with ↵Andrew Bartlett1-10/+12
qsort(). Andrew Bartlett (This used to be commit 96ef5259c63ad6245c94c40d6059d736b1534183)
2007-10-10r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, ↵Jelmer Vernooij2-8/+8
_NORETURN_ and _WARN_UNUSED_RESULT_. (This used to be commit 44248f662f0b609dad6a7b437948f12d661a28f7)
2007-10-10r23021: test some boundary conditions for idtree, after I saw some suspiciousAndrew Tridgell1-1/+18
behaviour (This used to be commit e862cf17b891885f3a733819869a06895c1fb324)
2007-10-10r22379: add missing fileStefan Metzmacher1-0/+94
metze (This used to be commit 893b6f56b6aef14de7b54c57c23b8a2f885ba6ce)
2007-10-10r22373: move in_list() to util_strlist.c to remove the dependencyStefan Metzmacher2-24/+25
from util.o to next_token() and strcasecmp_m() with this the pidl tests link better on some hosts metze (This used to be commit 54bfc1dccc40883d602402865eff3cfae676e9af)
2007-10-10r22372: split out become_daemon() into it's own functionStefan Metzmacher2-67/+2
this remove the dependency of util.o to swrap_close which causes sometrouble with the pidl tests on some hosts metze (This used to be commit 8cd36c47aaf1098876bceb314cb0a1f39369cb46)
2007-10-10r22371: readd discard_const() to lib/util/util.hStefan Metzmacher1-0/+27
metze (This used to be commit 76fbe90596f5f26c09185129d9a4f3e2b42428e1)
2007-10-10r22369: add ZERO_STRUCT() ... macros to lib/util/util.h againStefan Metzmacher1-0/+41
to fix the openchange build... we need to remove them from libreplace, but I'll think about that next week. metze (This used to be commit 2243142b46e20825339b4f6ed0e878c18e50e45f)
2007-10-10r22297: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplaceStefan Metzmacher1-25/+0
metze (This used to be commit b69c950858d837d7bd734d418129ade69106a00d)
2007-10-10r22226: move discard_const macros to librelaceStefan Metzmacher1-23/+0
metze (This used to be commit c2cfee6d25718fac35bd4ed982c7424f1c3ed0b7)
2007-10-10r21740: this fixes the real cause of the large log files we had. The problemAndrew Tridgell1-0/+17
was we were not checking the result of a convert_string() call, and it was giving -1. We then passed -1 to fwrite() on stdout, which on aix and macosx wrote all of available memory to stdout :) To fix this, replace non-printing chars with ? in d_printf if the string cannot be converted (This used to be commit d20102d363f4b9214e29296ad8ec45c8d95614b5)
2007-10-10r21688: Add simple tests for genrandJelmer Vernooij1-0/+66
(This used to be commit 90f23f0de86bb63ad65556ff2dab8b066236f300)
2007-10-10r21656: Move tests a bit closer to the things they test, should make syncing ↵Jelmer Vernooij3-0/+279
with samba3 easier. (This used to be commit 4d755fb5d7adedd1dd8bad917b921324411bfd59)
2007-10-10r21174: many thanks to Paul Wayper for pointing out that C99 requires aAndrew Tridgell3-3/+3
matching va_end() for each va_copy(). This doesn't matter for most architectures, but there could be some obscure ones where it does matter. some of this should be ported to Samba3 (This used to be commit 21eb316473486cb6b73bb3ff9c5f3a44ecd57e4a)
2007-10-10r20734: always terminate the string... so that an empty data_blobStefan Metzmacher1-0/+1
gets '\0' as "" string metze (This used to be commit 4f5daa830a3c02a05ba1bc7f32eedbe1d52640a1)
2007-10-10r20730: this can be constStefan Metzmacher1-1/+1
metze (This used to be commit 181db920476a9ebddeee1ebea17be0baf85ea59e)
2007-10-10r20436: add more comments and add macros signed versions of the 64 bitStefan Metzmacher1-3/+9
macros metze (This used to be commit e77d0d1532e800e0a7b0a4a30cf9b4d97761ee52)
2007-10-10r20325: handle NULL strings in is_ipaddress()Stefan Metzmacher1-1/+3
metze (This used to be commit b8b69ff6bec0c1d412b1f935721b45ef07e9c9f5)
2007-10-10r20091: remove blank lines at the end of text lines loaded from a fileAndrew Tridgell1-1/+7
(This used to be commit afcc797e8a25d99269f67e05fe57e952dd5d65bc)
2007-10-10r19672: Make LIBSAMBA-UTIL a subsystem again for now because it has ↵Jelmer Vernooij1-4/+4
interdependencies with LIBSAMBA-CONFIG. (This used to be commit 4a044fb529075044755a0b5cc21446bf24bec72e)
2007-10-10r19671: Fix remaining unresolved symbols in shared library build.Jelmer Vernooij1-1/+2
Fix starting tests in shared library build. (This used to be commit 3b65a0d6e491a57ed216dc0cd9c31d46e0cb6a35)
2007-10-10r19539: Move pidfile to smbd/Jelmer Vernooij2-130/+1
(This used to be commit eefa64cbe392c4c4dcbf71b8bcf5128cce0339ba)
2007-10-10r19504: - fixed a free error in file_lines_parseAndrew Tridgell1-13/+25
- added a function to test for large file support - enable CAP_LARGE_FILES only if the test passes - don't test at large offsets if the server doesn't set CAP_LARGE_FILES (This used to be commit c5423ea22bdaa055807d4e6f7ac4be934194fe45)
2007-10-10r19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.cAndrew Tridgell2-0/+551
tdbutil.c is Samba specific, so should not be part of the generic tdb library (This used to be commit 979dd24f5e44605fc1603b690913b8c31be7478f)
2007-10-10r18614: a bit of work done while on the plane.Rafal Szczesniak1-0/+22
a new function converting NTTIME to struct timeval rafal (This used to be commit e9ebbb8661ac6efc5bf07798a64cdb9f7c7eea50)
2007-10-10r18593: try to get the same socket_wrapper file building in samba3 and samba4Stefan Metzmacher1-0/+5
this is preparation of adding libreplace to samba3 later. metze (This used to be commit 26228e4b2e8debd84caebe84bb34bfbbf2ad405c)
2007-10-10r18213: don't list LIBREPLACE depdendecies explicit andStefan Metzmacher1-4/+2
always at it as first private dependencies metze (This used to be commit 135d096776b53ae09ffc2b4f767dfbd18139570f)
2007-10-10r18138: LIBREPLACE provides stuff from -ldl so it should depend on itStefan Metzmacher1-1/+1
metze (This used to be commit b4e4c115ab23bcc3b116a3736ddf2e88bab6f4cf)
2007-10-10r18137: more LIBREPLACE depsAndrew Tridgell1-0/+1
(This used to be commit 2d813d1e6deb99b06e43462885be848a5399b9a8)
2007-10-10r18130: the move to system/ in libreplace broke some things ... should beAndrew Tridgell1-1/+2
happier now (This used to be commit 18542f184f75074e56a9793a9e3b6c6d747bb9e6)
2007-10-10r18126: Fix -ldl dependency problemJelmer Vernooij1-1/+1
(This used to be commit ce31b736a9418889538b5778ceb0b18071cdfebd)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij3-2/+110
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17790: replace uses -ldl and should directly depend on itStefan Metzmacher1-1/+1
metze (This used to be commit 560a3058e53479133015d1b0a7cd149393c45438)
2007-10-10r17783: fix compiler warningsStefan Metzmacher1-1/+5
metze (This used to be commit c999dd02100e59bfd34585850c354ac2e9708cbb)
2007-10-10r17782: fix compiler warningStefan Metzmacher1-0/+2
metze (This used to be commit 97f6980372e2d06bdae461c737f9e0279f30b9b9)
2007-10-10r17633: Return NULL at the end of the file, or else we can't tell theAndrew Bartlett1-0/+4
difference between end of file and a blank line. Andrew Bartlett (This used to be commit 6fd6239a0f16154c13713bf1398b2873d1103335)
2007-10-10r17221: Add some integer wrap parinoia to data_blob_append().Andrew Bartlett1-5/+18
Andrew Bartlett (This used to be commit 7c5a25a423da3db982396ac507df985fa934be73)
2007-10-10r17167: indentAndrew Bartlett1-1/+1
(This used to be commit 4dcdc5a3ad6847be6c6199854121ae4ccadaa673)
2007-10-10r16923: remove unused substitude codeStefan Metzmacher2-171/+0
metze (This used to be commit ea88c8c99eff2203d13f9877e590d9d7f2fbb910)
2007-10-10r16922: move some macros out of talloc.h as the don't belong to tallocStefan Metzmacher1-0/+4
metze (This used to be commit 4c68e315e2288eef97527911daf18622a994ac31)
2007-10-10r16517: Get rid of pointless safe_free() (not SAFE_FREE()!) function.Jelmer Vernooij1-13/+0
(This used to be commit 6bc91497827a66af6d9adf26c689e9cc458d8ecf)
2007-10-10r16516: Get rid of file_exists() as there already is a file_exist().Jelmer Vernooij1-9/+0
(This used to be commit c4b3c2b18c6df43c8a4808fab72bc45439ba9421)
2007-10-10r16186: Use full include path to make sure it's being picked up by theJelmer Vernooij1-1/+1
dependency generator. (This used to be commit fbbc3b11683d594d31e6487873946b68c2c46923)
2007-10-10r16185: Remove autogenerated file from SVN.Jelmer Vernooij1-25/+0
(This used to be commit a975f11d452deb2c5e06b8ba02f528b08d2842e1)