summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-04-06build: renamed autoconf.py to wafsamba.py and added SAMBA_*() functionsAndrew Tridgell4-81/+131
2010-04-06build: updates to waf scripts for replace and tallocAndrew Tridgell3-11/+17
2010-04-06build: a first attempt at waf build for talloc and libreplaceAndrew Tridgell3-0/+205
very rough so far
2010-04-04lib/replace: Don't use StrnCpy inside crypt.cKai Blin1-1/+1
With this and the int32_t/int64_t change, talloc crossbuilds to android
2010-04-04lib/replace: use correct inttypes in crypt.cKai Blin1-2/+2
This makes the android crossbuild slightly less broken.
2010-04-03socket-wrapper: not all systems have FIONREAD definedAndrew Tridgell1-0/+2
tru64 for example
2010-04-02debug: enable talloc loggingAndrew Tridgell2-0/+15
we want to ensure talloc warnings are printed in the log
2010-04-02talloc: a useful bit of debug codeAndrew Tridgell1-0/+8
this is useful when tracking down talloc loops. It is probably too expensive to have on by default.
2010-04-02talloc: add a define for TALLOC_MAX_DEPTHAndrew Tridgell2-1/+5
Thanks to the suggestion from simo
2010-04-02talloc: change talloc minor version to 2.0.2Andrew Tridgell1-1/+1
this has the talloc_is_parent() bugfix
2010-04-02talloc: limit the depth that talloc will go for talloc_is_parent()Andrew Tridgell1-2/+11
We have a bug in the dcerpc registry code that can cause a talloc loop that chews unlimited CPU because of talloc_is_parent() during a talloc_free()
2010-03-31subunit: Include remainder of bindings and metadata.Jelmer Vernooij23-10/+1959
2010-03-31testtools: Fix included testtools, for systems that don't have it.Jelmer Vernooij30-1/+679
2010-03-31Put testtools directly under lib/ to make it easier to install from Samba 4.Jelmer Vernooij23-17/+19
2010-03-31smbtorture: Report number of available tests in a testsuite using subunit.Jelmer Vernooij3-1/+53
2010-03-31subunit: Also import copies of filters and perl module.Jelmer Vernooij13-1/+1002
2010-03-30replace: allow memmem() with an empty string to return NULLAndrew Tridgell1-1/+3
This is how FreeBSD behaves. We don't rely on it returning the string in Samba.
2010-03-30charset: look for the codepages in the right placeAndrew Tridgell1-2/+2
selftest runs from source3/source4. The codepages when not installed are in ../codepages
2010-03-29subunit: Update to newer upstream version.Jelmer Vernooij5-3/+50
2010-03-29s4-python: Move dnspython to lib/, like the other Python modulesJelmer Vernooij113-0/+16825
This also avoids it from being installed if it's already present on the system.
2010-03-29s4-waf: use the libreplace strerror_r if neededAndrew Tridgell2-6/+11
2010-03-29pytalloc: allow for using a system libtalloc-dev with pytallocAndrew Tridgell1-1/+1
When we have a system talloc library, we still need to grab pytalloc.h from lib/talloc. We don't want to just use -Ilib/talloc, as otherwise we'll get the in-tree talloc.h which may not be compatible with the system talloc.h So we need to give the path to pytalloc.h
2010-03-29talloc: testsuite should use <talloc.h> not "talloc.h"Andrew Tridgell1-1/+1
if we are using the system talloc, the testsuite needs to use the system talloc.h
2010-03-26tdb: update exports and signatures filesSimo Sorce2-0/+2
2010-03-26tdb: Add a non-blocking version of tdb_transaction_startVolker Lendecke6-8/+24
2010-03-26s3-smbd: Don't close stdout if we want to log to stdout.Andreas Schneider2-5/+7
2010-03-26tevent: added tevent_re_initialise()Andrew Tridgell2-0/+17
This allows us to re-initialise a tevent context without destroying the pointer. That means that if someone keeps a long term ptr to the event context across a fork it will still work. This also brings the memory handling in single and standard process models much closer together, which means less bugs that we don't find with make test.
2010-03-26util: on FreeBSD true is in /usr/bin. Use execvp to find itAndrew Tridgell1-1/+1
2010-03-26libutil: moved the networking defines to util_net.hAndrew Tridgell3-27/+29
These were causing thousands of warnings on solaris8
2010-03-26libreplace: strerror_r() is needed by heimdal on solaris8Andrew Tridgell3-1/+14
2010-03-26tsocket: not all systems have IPV6_V6ONLYAndrew Tridgell1-2/+2
2010-03-25tdb: Fix indentation in tdb_new_database()Volker Lendecke1-1/+1
2010-03-25Fix some nonempty blank linesVolker Lendecke10-45/+44
2010-03-25python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell3-3/+3
this should be much more portable
2010-03-24libreplace: fixed declaration of dprintf() on FreeBSDAndrew Tridgell2-2/+12
2010-03-24build: fixed nss_wrapper on solarisAndrew Tridgell1-0/+4
solaris has different getpwnam_r syntax
2010-03-22convert_string_talloc_convenience - print out the input buffer in a better ↵Matthias Dieter Wallnöfer1-1/+2
way (using dump_data since it isn't always directly readable)
2010-03-22tdb: Fix bug 7248, avoid the nanosleep dependencyVolker Lendecke1-4/+4
2010-03-22lib/util: add allocate_anonymous_shared()Stefan Metzmacher2-0/+33
metze
2010-03-21Fix an uninitialized variableVolker Lendecke1-0/+4
2010-03-21Use TALLOC_FREE in talloc_pop()Volker Lendecke1-2/+1
2010-03-21Use calloc instead of ZERO_STRUCTP in talloc_stackframe_create()Volker Lendecke1-7/+5
2010-03-21Trim an overlong lineVolker Lendecke1-2/+2
2010-03-19nss_wrapper.pl: allow to specify gid for new users.Günther Deschner1-21/+24
Guenther
2010-03-18charset: fixed a problem with the global use of the iconv_convenience structureAndrew Tridgell3-13/+39
We had a crash bug where a cached copy of a iconv convenience pointer was used after being freed when loadparm asked for iconv to reload. This could happen if a python module used a iconv based function before loadparm was completed. The fix is to ensure that any use of this pointer remains valid, by reusing the pointer itself when it has already been initialised, but filling in the child elements with the updated values.
2010-03-15talloc_stack: reset stackframe pointers to NULLStefan Metzmacher1-0/+2
This makes it easier to debug the code in future. metze
2010-03-15talloc_stack: make sure we never let talloc_tos() return ts->talloc_stack[-1]Stefan Metzmacher1-1/+1
In smbd there's a small gab between TALLOC_FREE(frame); before be call smbd_parent_loop() where we don't have a valid talloc stackframe. smbd_parent_loop() calls talloc_stackframe() only within the while(1) loop. As DEBUG(2,("waiting for connections")) uses talloc_tos() to construct the time header for the debug message we crash on some systems. metze
2010-03-11s4: create ../lib/iniparser_build/config.m4Matthieu Patou1-0/+45
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-11Explain why we don't use certain characters in the generated pwAndrew Bartlett1-0/+6
2010-03-11lib/util - Removed curly braces from generate_random_password().Endi S. Dewata1-1/+1