summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix "cast from pointer to integer of different size" warnings on a 64-bit ↵Jeremy Allison2011-02-281-7/+7
| | | | machine.
* tevent: Add lib/tevent as include directory.Jelmer Vernooij2011-02-281-0/+1
|
* tdb: Use <tdb.h> to include tdb so system headers are found when building ↵Jelmer Vernooij2011-02-284-4/+4
| | | | against system tdb.
* tdr: Inline proto header to allow tdr.h to be used as it's a public header. Jelmer Vernooij2011-02-282-5/+39
|
* Use <tevent.h> so the system tevent gets included, if enabled.Jelmer Vernooij2011-02-282-3/+3
|
* Finish the range checking on all FD_SET calls for select().Jeremy Allison2011-02-282-0/+14
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Feb 28 21:10:08 CET 2011 on sn-devel-104
* Remove sys_select[_intr]Volker Lendecke2011-02-282-158/+0
|
* tevent: Add a poll backendVolker Lendecke2011-02-285-0/+310
|
* s3: Eliminate select from libaddnsVolker Lendecke2011-02-281-13/+11
|
* s3: Add sys_poll_intrVolker Lendecke2011-02-282-0/+27
|
* s3: Add sys_pollVolker Lendecke2011-02-282-0/+81
|
* libreplace: poll based on selectVolker Lendecke2011-02-285-0/+182
|
* s3: Make is_zero_addr take a sockaddr_storageVolker Lendecke2011-02-271-3/+3
| | | | | | | All callers had to cast this anyway Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
* nss_wrapper: Fix a segfault when libnss_winbind.so is not loadableVolker Lendecke2011-02-261-2/+11
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 26 13:19:01 CET 2011 on sn-devel-104
* nss_wrapper: Make nwrap_module_init a bit more readableVolker Lendecke2011-02-261-5/+9
|
* lib/util/charset: ICONV_WRAPPER needs talloc.Günther Deschner2011-02-231-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 23 12:46:33 CET 2011 on sn-devel-104
* build: move idtree.c into samba-util-commonAndrew Tridgell2011-02-231-3/+2
|
* build: moved more files into samba-util-commonAndrew Tridgell2011-02-231-11/+11
| | | | | this removes UTIL_SRC from the s3 waf build, as it is now all in common with samba-util-common
* build: created samba-util-common libraryAndrew Tridgell2011-02-231-30/+21
| | | | | | | | | | | this library will contain files that can be built in common between s3 and s4. Both samba-util and samba-util3 depend on it. Currently this library needs to be marked as allow_undefined_symbols, in order to allow s4 to build it. We can remove that flag once we have all the needed symbols in common Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3:auth: change num_groups to from size_t to uint32_tStefan Metzmacher2011-02-222-4/+4
| | | | | | This will help with the change from UNIX_USER_TOKEN to security_unix_token metze
* python: use os.environ[] instead of os.putenv()Andrew Tridgell2011-02-221-1/+1
| | | | | | | using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:smbtorture do not leave output directory aroundChristian Ambach2011-02-211-0/+1
| | | | | | | | | | | | | | | | | | | calling smbtorture with no or invalid arguments left the temporary output directory around this patches removes the dead-end exit from usage and makes the logic go on until the final cleanup state is reached output directory will still be left around when test times out or testcases itself force an exit also make sure that the directory itself is deleted, not just the objects in it Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Feb 21 11:35:30 CET 2011 on sn-devel-104
* Fix missing dependency on libreplace.Jelmer Vernooij2011-02-211-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 21 01:17:33 CET 2011 on sn-devel-104
* lib/util/charset Add back setlocale(), but only when called from binariesAndrew Bartlett2011-02-182-3/+24
| | | | | | | | | | When called from a library, we don't want to call this, as we may overwrite some of our calling program's context. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 18 09:29:35 CET 2011 on sn-devel-104
* lib/util/charcnv Move iconv handle setup in commonAndrew Bartlett2011-02-185-320/+366
| | | | | | | | We now use the struct smb_iconv_convenience at the core of all our iconv code, and use global_iconv_convenience for the callers that don't specify one. Andrew Bartlett
* lib/util Remove #if _SAMBA_BUILD_ == 4 that isn't required any moreAndrew Bartlett2011-02-181-2/+0
|
* lib/util/charset Use top level iconv.c in source3Andrew Bartlett2011-02-183-12/+90
| | | | | | | | | | | | The two files were very similar already, the only change required was to adopt the s3 module registration fucntion name. (NTSTATUS wasn't used as the charset code does not otherwise use that type). Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* charset Remove use of {isupper,islower,toupper,tolower}_w functionsAndrew Bartlett2011-02-181-0/+2
| | | | | | | | | | | | | These now call the common _m functions that consider UTF16 code points. This removes the code which will make up a 'lame' table in memory, as this can just as correctly be handled by running the algorithm at runtime (which is to call toupper() and tolower() on characters < 128). When used, a top level waf build will always locate the correct table - in the build tree or outside - due to relinking the installed binary. Andrew Bartlett
* lib/util Make UTIL_LDB conditional on an s4 buildAndrew Bartlett2011-02-181-1/+2
| | | | This allows this file to be used in common.
* s4-util: removed the valgrind_strlen() routineAndrew Tridgell2011-02-182-18/+0
| | | | | | this was for a bug in valgrind from 7 years ago. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libutil: make waf rules usable by s3 waf buildAndrew Tridgell2011-02-181-38/+39
| | | | | | | we need samba-util to be s4 only for now, because of the debug system differences Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* charset: allow s3 waf build to use lib/util/charsetAndrew Tridgell2011-02-181-5/+6
| | | | | | | the only conflict is with 'CHARSET' itself, which now builds conditionally on _SAMBA_BUILD_==4 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib/util/charset use get_dyn_CODEPAGEDIR(), which is in commonAndrew Bartlett2011-02-181-2/+2
| | | | | | This is provided by the s3 and s4 dynconfig implementations. Andrew Bartlett
* lib/util/charset split codepoints.c into it's own subsystemAndrew Bartlett2011-02-181-3/+6
|
* lib/util/charset use a path to dynconfig.h that works in s3 and s4Andrew Bartlett2011-02-181-1/+1
|
* lib/util/charset add functions isupper_m and islower_mAndrew Bartlett2011-02-182-0/+19
|
* uid-wrapper: handle uwrap_enabled() as a macroAndrew Tridgell2011-02-181-0/+2
| | | | | | | some s3 code defines uwrap_enabled() as a macro. Detect this, and don't redeclare the functions Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* tevent: Fix a commentVolker Lendecke2011-02-171-2/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 17 18:16:18 CET 2011 on sn-devel-104
* s3-waf: move the KRB5_DEPRECATED configure check out of lib/replaceAndrew Tridgell2011-02-171-8/+0
| | | | | | | this needs to be in souce3/, as otherwise it can't handle an in-tree kerberos library Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Return NULL if tevent_add_fd() is passed a negative fdStephen Gallagher2011-02-141-0/+6
| | | | | Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Mon Feb 14 17:47:03 CET 2011 on sn-devel-104
* s3-waf: add UTIL_TEVENT subsystem (as in ../lib/util/wscript)Günther Deschner2011-02-141-1/+2
| | | | Guenther
* Fix some nonempty blank linesVolker Lendecke2011-02-131-18/+18
|
* tdb: Fix a C++ warningVolker Lendecke2011-02-121-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 12 19:50:55 CET 2011 on sn-devel-104
* waf: pure cosmetic reformatting of the two samba-util object lists (to ease ↵Günther Deschner2011-02-111-1/+30
| | | | | | comparing). Guenther
* s3: Fix some nonempty blank linesVolker Lendecke2011-02-101-2/+2
|
* replace: Add missing eval to m4 scriptSumit Bose2011-02-101-2/+2
| | | | | Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 10 16:14:21 CET 2011 on sn-devel-104
* socket_wrapper: avoid c++ style comments.Günther Deschner2011-02-101-2/+2
| | | | | | Seen on the aix s3-waf build where it causes the build to fail. Guenther
* s4-torture: not having an output dir is not a fatal errorAndrew Tridgell2011-02-101-1/+3
| | | | | | | just return NT_STATUS_OK, as nothing to cleanup Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ldb: use #include <ldb.h> for ldbAndrew Tridgell2011-02-101-1/+1
| | | | | | | | thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* tevent: Fix typosVolker Lendecke2011-02-091-2/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 9 18:13:18 CET 2011 on sn-devel-104