summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* tdb: commit the version 1.2.7 signaturesMatthias Dieter Wallnöfer2010-10-231-0/+61
|
* lib/util: Add tevent WERROR wrappersKai Blin2010-10-233-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
* tsocket: let tstream_inet_tcp_connect_recv() optionally return the used ↵Stefan Metzmacher2010-10-232-5/+11
| | | | | | | | | | | | local address tstream_inet_tcp_connect_send() usually only gets no local port number and it may use the wildcard address '0.0.0.0' or '::'. tstream_inet_tcp_connect_recv() provides the used local address and port which are used on the wire. metze
* tsocket: ask the kernel for the specific local address after a tcp connectStefan Metzmacher2010-10-231-3/+54
| | | | metze
* lib/replace: use snprintf() in test code to avoid warnings in the IBM-CheckerStefan Metzmacher2010-10-231-2/+2
| | | | metze
* lib/replace: fix rep_strtoull() prototypeStefan Metzmacher2010-10-232-3/+3
| | | | metze
* asn1_tests: Implement negative unit-tests for ber_write_OID_String()Kamen Mazdrashki2010-10-221-0/+22
|
* asn1: ber_write_OID_String() to be more picky about supplied OIDKamen Mazdrashki2010-10-221-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.
* waf: Mark the replacement zlib private so that it can build on machine ↵Matthieu Patou2010-10-211-0/+1
| | | | | | | without a system zlib Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Oct 21 21:47:46 UTC 2010 on sn-devel-104
* replace: use replace for non 'samba' compliant strptimeMatthieu Patou2010-10-221-0/+19
|
* replace: use a wrapper around strtoll if it didn't behave as expectedMatthieu Patou2010-10-223-2/+77
|
* Lowercase socket_wrapper name.Jelmer Vernooij2010-10-215-2/+5
| | | | | | | Avoid linking against socket_wrapper outside of developer mode. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 21 20:26:11 UTC 2010 on sn-devel-104
* tdb: Set _PUBLIC_ in C file rather than header files (Debian bug 600898)Jelmer Vernooij2010-10-2112-128/+126
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 21 11:47:22 UTC 2010 on sn-devel-104
* lib: make WRAP_XATTR a private libraryAndrew Tridgell2010-10-211-6/+7
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-waf: removed the XATTR and SASL aliasesAndrew Tridgell2010-10-211-1/+1
| | | | | | these were hangovers from the old build system names Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib: add UTIL_TEVENT to samba_sockets grouping libraryAndrew Tridgell2010-10-211-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf-build: create a samba_sockets grouping libraryAndrew Tridgell2010-10-211-0/+7
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: replace the is_bundled option with private_libraryAndrew Tridgell2010-10-213-4/+4
| | | | | 'private_library' better captures what we are trying to get at when we bundle a library
* s4-build: fixed some formattingAndrew Tridgell2010-10-213-5/+6
| | | | indentation was far too deep
* build: subunit and popt need to be marked as private librariesAndrew Tridgell2010-10-212-4/+5
| | | | they have no vnum
* replace: make libreplace a private libraryAndrew Tridgell2010-10-211-0/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* wrapper: make socket_wrapper, uid_wrapper and nss_wrapper private libsAndrew Tridgell2010-10-213-12/+15
| | | | | | this prevents double instantiation Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:lib/util/charset/iconv.c - remove a distinction which can never happenMatthias Dieter Wallnöfer2010-10-211-4/+1
| | | | | "ret->cd_direct" is never set before. It is set in the "if" upperwards but then the function is terminated with "return".
* pytalloc: use talloc_unlink() to free py_talloc objectsKamen Mazdrashki2010-10-201-1/+3
| | | | | | | | | | | Those type of objects are referenced every time we assign them to other py_talloc objects, which leads to runtime warnings that we are trying to free an object with references Wrap talloc_unlink() in SMB_ASSERT() to ensure we catch possible failure Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Oct 20 21:37:06 UTC 2010 on sn-devel-104
* talloc: make header C++ safeSimo Sorce2010-10-201-0/+8
| | | | | Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Wed Oct 20 18:15:09 UTC 2010 on sn-devel-104
* s3: Don't use talloc_autofree_context in map_fileVolker Lendecke2010-10-201-1/+1
|
* uid_wrapper: The gid wrapper does not require a destructorVolker Lendecke2010-10-201-2/+2
| | | | Don't use talloc_autofree_context
* asn1_tests.c: Make test data static constKamen Mazdrashki2010-10-201-6/+6
|
* lib/util/asn1.c: comment spellingKamen Mazdrashki2010-10-201-1/+1
|
* replace: cope with systems that have fdatasync(), but don't have the prototypeAndrew Tridgell2010-10-193-1/+7
| | | | this is needed for MacOSX 10.4.1
* tdb: Bump version to 1.2.7 after addition of pytdb.__version__.Jelmer Vernooij2010-10-171-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 17 18:23:16 UTC 2010 on sn-devel-104
* Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls ↵Matthias Dieter Wallnöfer2010-10-173-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
* s4:remove "util_ldb" submodule and integrate the three gendb_* calls in ↵Matthias Dieter Wallnöfer2010-10-173-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
* s4:lib/util/util_ldb.c - remove unused "gendb_add_ldif" callMatthias Dieter Wallnöfer2010-10-171-17/+0
|
* s4:"wrap_casefold" - move it to "ldb_wrap.c" since it's only used thereMatthias Dieter Wallnöfer2010-10-171-5/+0
|
* s4-torture: fixed uninitialised variable errorAndrew Tridgell2010-10-131-1/+1
| | | | ret is uninitialised if the directory is empty
* lib/debug Add DEBUGC and DEBUGADDC as dummiesAndrew Bartlett2010-10-121-0/+4
| | | | | | | This allows code that needs to also compile against the source3 debug code to compile in source4. Andrew Bartlett
* torture: Add debug on what we are removingMatthieu Patou2010-10-111-0/+1
|
* lib/torture: Add function to clean up the output directoryAndrew Bartlett2010-10-112-1/+66
| | | | | | | | | This helps to avoid leaving 85MB of provision around for every NET-API-BECOME-DC test. Andrew Bartlett Signed-off-by: Matthieu Patou <mat@matws.net>
* util: Fix installation path of tevent_ntstatus.h, tevent_unix.h (bug 7720).Jelmer Vernooij2010-10-111-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Oct 11 09:24:56 UTC 2010 on sn-devel-104
* libcli-auth: Remove unnecessary dependency on libsamba-hostconfig.Jelmer Vernooij2010-10-111-1/+1
|
* util: Link headers to correct subsystem, fix formatting.Jelmer Vernooij2010-10-101-12/+12
|
* socket_wrapper: Make it work on freebsd for udp packetsStefan Metzmacher2010-10-101-1/+11
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Oct 10 12:57:00 UTC 2010 on sn-devel-104
* talloc: Fix #include line in manpage.Jelmer Vernooij2010-10-091-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 9 13:53:25 UTC 2010 on sn-devel-104
* pytalloc: Fix warning that we are subtracting void* pointersKamen Mazdrashki2010-10-081-1/+1
| | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Fri Oct 8 23:36:54 UTC 2010 on sn-devel-104
* tevent: Do not use talloc_autofree_contextVolker Lendecke2010-10-082-4/+3
|
* Move talloc_enable_null_tracking() to the s3 daemonsVolker Lendecke2010-10-081-7/+0
|
* waf: fixed exit status of test suitesAndrew Tridgell2010-10-072-4/+8
| | | | use RUN_COMMAND() to handle signal errors and exit status
* tevent: Only call handlers that ask for eventsVolker Lendecke2010-10-061-1/+1
| | | | | | | | | | The s3 libsmbclient puts two different handlers on a single fd for readability and writability. With select this works fine, however without this patch we unconditionally call the write handler even if the socket is only readable. We should have called the read handler instead. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 6 23:40:24 UTC 2010 on sn-devel-104
* idtree: fix right shift of signed ints, crash on large ids on AIXRusty Russell2010-10-061-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