summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* nss_wrapper: resort calls to move public calls to the end.Günther Deschner2009-06-021-193/+197
| | | | Guenther
* nss_wrapper: add nwrap_ops function pointer table.Günther Deschner2009-06-021-19/+104
| | | | Guenther
* nss_wrapper: make sure to return after calling real_{set,end}{gr,pw}ent.Günther Deschner2009-06-021-0/+4
| | | | Guenther
* nss_wrapper: fix typo while checking for getgrid_r support.Günther Deschner2009-06-021-2/+2
| | | | | | Metze, this has been in here for a long time, please check. Guenther
* overallocate all records by 25%Andrew Tridgell2009-06-011-0/+3
| | | | | | | | This greatly reduces the fragmentation of databases where records tend to grow slowly by a small amount each time. The case where this is most seen is the ldb index records. Adding this overallocation reduced the size of the resulting database by more than 20x when running a test that adds 10k users.
* auto-repack in transactions that expand the tdbAndrew Tridgell2009-06-011-0/+12
| | | | | | The idea behind this is to recover from badly fragmented free lists. Choosing the point where the file expands is fairly arbitrary, but seems to work well.
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2009-06-0113-36/+593
|\
| * Fix a C++ warningVolker Lendecke2009-05-311-1/+1
| |
| * nss_wrapper: try to fix the build of nss_wrapper on solaris.Günther Deschner2009-05-302-0/+6
| | | | | | | | Guenther
| * Handle EINTR in async_sock.cVolker Lendecke2009-05-301-0/+16
| |
| * libwbclient: Add async call framework.Kai Blin2009-05-302-2/+3
| |
| * nss_wrapper: add test_nwrap_membership to testsuite.Günther Deschner2009-05-301-0/+74
| | | | | | | | Guenther
| * nss_wrapper: restructure parts of the testsuite.Günther Deschner2009-05-301-33/+72
| | | | | | | | Guenther
| * nss_wrapper: add support for getgrouplist.Günther Deschner2009-05-302-0/+85
| | | | | | | | Guenther
| * util: Change license on tevent_unix to LGPLv3+Volker Lendecke2009-05-292-16/+24
| |
| * async_sock: Change license to LGPLv3+Volker Lendecke2009-05-292-16/+24
| |
| * s4-smbtorture: add a very basic NSS-WRAPPER testsuite.Günther Deschner2009-05-291-0/+219
| | | | | | | | Guenther
| * util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique.Günther Deschner2009-05-293-1/+102
| | | | | | | | Guenther
* | Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2009-05-282-107/+332
|\|
| * nss_wrapper: fix nss_wrapper build for solaris.Günther Deschner2009-05-281-0/+2
| | | | | | | | Guenther
| * nss_wrapper: remove re-structuring leftovers (unused variables).Günther Deschner2009-05-281-6/+0
| | | | | | | | Guenther
| * nss_wrapper: support member add and delete for groups in nss_wrapper.pl.Günther Deschner2009-05-281-21/+141
| | | | | | | | Guenther
| * nss_wrapper: split out passwd and group paths in nss_wrapper.pl.Günther Deschner2009-05-281-15/+26
| | | | | | | | Guenther
| * nss_wrapper: restructure nwrap calls.Günther Deschner2009-05-281-71/+169
| | | | | | | | Guenther
* | fixed tdbbackup to give tdb error messagesAndrew Tridgell2009-05-281-7/+31
| |
* | Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2009-05-281-6/+6
|\|
| * tdb: Fix some recently introduced warnings in tdbtoolTim Prouty2009-05-271-6/+6
| |
* | make TDB_NOSYNC affect all the fsync/msync calls in transactionsAndrew Tridgell2009-05-281-5/+7
|/ | | | | | During a transaction commit tdb normally uses fsync/msync calls to make it crash safe. This can be disabled using the TDB_NOSYNC flag, but it wasn't disabling all the code paths that caused a fsync/msync.
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2009-05-262-0/+77
|\
| * Add support for sendmsg() in socket_wrapperAndrew Bartlett2009-05-262-0/+77
| | | | | | | | | | | | | | | | This is required because the deferred connect code skips the connect() until sending the packet, but unless we catch this call, the connect() never happens. Andrew Bartlett
* | added some more speed tests to tdbtoolAndrew Tridgell2009-05-261-6/+59
|/ | | | | | | This adds 3 simple speed tests to tdbtool, for transaction store, store and fetch. On my laptop this shows transactions costing about 10ms
* Change async_connect to use connect instead of getsockopt to get the errorVolker Lendecke2009-05-241-14/+24
| | | | | On my Linux box, this is definitely the more reliable strategy with unix domain sockets, and according to my tests it also works correctly with TCP sockets.
* Add "err_on_readability" to writev_sendVolker Lendecke2009-05-242-2/+14
| | | | | | A socket where the other side has closed only becomes readable. To catch errors early when sitting in a pure writev, we need to also test for readability.
* Allow NULL queue to writev_sendVolker Lendecke2009-05-241-6/+16
|
* tsocket: allow empty vectors at the end for tstream_writev()/readv()Stefan Metzmacher2009-05-221-0/+26
| | | | metze
* Detect tight loop in tdb_find()Jim McDonough2009-05-211-0/+5
|
* nsswrapper: implement group_del() in nss_wrapper.pl.Günther Deschner2009-05-201-1/+22
| | | | Guenther
* nsswrapper: implement group_add() in nss_wrapper.pl.Günther Deschner2009-05-201-4/+105
| | | | Guenther
* Set errno=ENOMEM if tevent_add_fd failsVolker Lendecke2009-05-191-0/+4
| | | | | | | tevent_add_fd does not properly set that. At least in epoll and select this is the only error condition. Metze, please check!
* Simplify the logic of tsocket_bsd_pendingVolker Lendecke2009-05-191-24/+26
| | | | | | Remove two indentation levels by returning early on error. Metze, please check!
* tevent/python: Makefile was still trying to build some non AC_SUBST python ↵Jelmer Vernooij2009-05-191-7/+1
| | | | | targets Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
* tevent: Define TALLOC_FREE() if it's not defined yet, to allow buildingJelmer Vernooij2009-05-161-0/+6
| | | | with released versions of talloc.
* tevent: Remove python module.Jelmer Vernooij2009-05-166-219/+0
| | | | | | | | | This module didn't have any functionality that we actually used yet, and it was quite small. Tevent is quite low level and perhaps doesn't make much sense to expose directly as a Python module. It was also causing build problems when used with a system-tevent. We can always back later if necessary.
* tevent: Install tevent_internal.h in the standalone build.Jelmer Vernooij2009-05-162-1/+4
| | | | | This is not ideal, but at least it fixes the build of samba-gtk for now. I've also added a warning about API guarantees at the top of the header.
* Fix linker flags on non-Linux GNU platforms.Samuel Thibault2009-05-161-5/+5
| | | | | | (e.g. Debian GNU/kFreeBSD) Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Update copies of config.guess and config.sub.Jelmer Vernooij2009-05-168-304/+1128
|
* tevent: Don't install headers, since we don't install a shared libJelmer Vernooij2009-05-161-5/+0
| | | | either (from Samba).
* Add extensive tests for str_list function behaviourAndrew Bartlett2009-05-151-15/+343
|
* Remove two unused variablesVolker Lendecke2009-05-141-2/+0
|
* Add new functions and tests: str_list_make_empty(), str_list_make_single()Andrew Bartlett2009-05-143-0/+85
|