summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-06-04nss_wrapper: remove getgrouplist from nwrap_ops table.Günther Deschner1-72/+64
Guenther
2009-06-04Increase tevent version for tevent_req_notify_callback()Volker Lendecke1-1/+1
2009-06-04Add tevent_req_notify_callbackVolker Lendecke2-4/+13
This is necessary for requests that have multiple results. Examples would be SMBEcho and ldap_search.
2009-06-04nss_wrapper: call the nwrap_files_*() from nwrap_files_*_r()Stefan Metzmacher1-9/+7
We should not call the public functions, as this could lead to a recursive loop when we have multiple nwrap backends in future. This also fixes the build if --enable-nss-wrapper was not given to ./configure. metze
2009-06-04Only err on readability if writev_send was explicitly asked to do soVolker Lendecke1-1/+1
A socket might be readable for other reasons
2009-06-04nss_wrapper: more coherence tests for group membership.Günther Deschner1-4/+58
Guenther
2009-06-04nss_wrapper: add coherency tests for get{gr,pw}{nam,id}.Günther Deschner1-11/+75
Guenther
2009-06-04nss_wrapper: refactor test_nwrap_membership_user() in testsuite.Günther Deschner1-14/+24
Guenther
2009-06-04nss_wrapper: make full talloced copies of struct passwd and group in testsuite.Günther Deschner1-5/+37
Guenther
2009-06-04socket_wrapper Cope with SOCK_CLOEXEC and SOCK_NONBLOCK flagsAndrew Bartlett1-4/+16
Heimdal will, on supporting systems, set these flags in the type argument of socket(), causing breakage when combined with socket_wrapper. For background on these flags, see http://lwn.net/Articles/281965/ Andrew Bartlett
2009-06-04add gendb_search_single_extended_dn()Andrew Tridgell2-0/+103
This function searches for a single record using a given filter, adding the extended-dn control so that any returned DNs will have the GUID and SID fields returned. This will be used in the sam auth code to prevent us doing a member= search for the groups, which invokes an unindexed search.
2009-06-03Rename harness2subunit.pl -> tap2subunit to be consistent with theJelmer Vernooij1-0/+0
subunit tools.
2009-06-02Build libsamba-util as a shared library.Jelmer Vernooij1-1/+4
2009-06-02nss_wrapper: prefix function pointer names in struct nwrap_ops.Günther Deschner1-54/+54
Guenther
2009-06-02torture: minor fixes to torture macro text output.Günther Deschner1-2/+2
Guenther
2009-06-02nss_wrapper: resort calls to move public calls to the end.Günther Deschner1-193/+197
Guenther
2009-06-02nss_wrapper: add nwrap_ops function pointer table.Günther Deschner1-19/+104
Guenther
2009-06-02nss_wrapper: make sure to return after calling real_{set,end}{gr,pw}ent.Günther Deschner1-0/+4
Guenther
2009-06-02nss_wrapper: fix typo while checking for getgrid_r support.Günther Deschner1-2/+2
Metze, this has been in here for a long time, please check. Guenther
2009-06-01overallocate all records by 25%Andrew Tridgell1-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.
2009-06-01auto-repack in transactions that expand the tdbAndrew Tridgell1-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.
2009-06-01Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell13-36/+593
2009-05-31Fix a C++ warningVolker Lendecke1-1/+1
2009-05-30nss_wrapper: try to fix the build of nss_wrapper on solaris.Günther Deschner2-0/+6
Guenther
2009-05-30Handle EINTR in async_sock.cVolker Lendecke1-0/+16
2009-05-30libwbclient: Add async call framework.Kai Blin2-2/+3
2009-05-30nss_wrapper: add test_nwrap_membership to testsuite.Günther Deschner1-0/+74
Guenther
2009-05-30nss_wrapper: restructure parts of the testsuite.Günther Deschner1-33/+72
Guenther
2009-05-30nss_wrapper: add support for getgrouplist.Günther Deschner2-0/+85
Guenther
2009-05-29util: Change license on tevent_unix to LGPLv3+Volker Lendecke2-16/+24
2009-05-29async_sock: Change license to LGPLv3+Volker Lendecke2-16/+24
2009-05-29s4-smbtorture: add a very basic NSS-WRAPPER testsuite.Günther Deschner1-0/+219
Guenther
2009-05-29util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique.Günther Deschner3-1/+102
Guenther
2009-05-28Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2-107/+332
2009-05-28nss_wrapper: fix nss_wrapper build for solaris.Günther Deschner1-0/+2
Guenther
2009-05-28nss_wrapper: remove re-structuring leftovers (unused variables).Günther Deschner1-6/+0
Guenther
2009-05-28nss_wrapper: support member add and delete for groups in nss_wrapper.pl.Günther Deschner1-21/+141
Guenther
2009-05-28nss_wrapper: split out passwd and group paths in nss_wrapper.pl.Günther Deschner1-15/+26
Guenther
2009-05-28nss_wrapper: restructure nwrap calls.Günther Deschner1-71/+169
Guenther
2009-05-28fixed tdbbackup to give tdb error messagesAndrew Tridgell1-7/+31
2009-05-28Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell1-6/+6
2009-05-28make TDB_NOSYNC affect all the fsync/msync calls in transactionsAndrew Tridgell1-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.
2009-05-27tdb: Fix some recently introduced warnings in tdbtoolTim Prouty1-6/+6
2009-05-26Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2-0/+77
2009-05-26Add support for sendmsg() in socket_wrapperAndrew Bartlett2-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
2009-05-26added some more speed tests to tdbtoolAndrew Tridgell1-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
2009-05-24Change async_connect to use connect instead of getsockopt to get the errorVolker Lendecke1-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.
2009-05-24Add "err_on_readability" to writev_sendVolker Lendecke2-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.
2009-05-24Allow NULL queue to writev_sendVolker Lendecke1-6/+16
2009-05-22tsocket: allow empty vectors at the end for tstream_writev()/readv()Stefan Metzmacher1-0/+26
metze