summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-06-10lib-util: move set_blocking() call into own file.Günther Deschner3-31/+63
Guenther
2009-06-10added asn1 functions for handling booleans in a simple contextAndrew Tridgell2-0/+25
2009-06-09It seems that IRIX doesn't have IOV_MAXAndrew Tridgell1-0/+4
2009-06-09try to get PICFLAG right for HP-UX with gccAndrew Tridgell1-6/+5
2009-06-09fixed socket wrapper to determine family from the right structureAndrew Tridgell1-1/+1
In convert_in_un_remote() the socket family can be accessed either as si->family or inaddr->sa_family. We were using the si->family to determine how to cast the inaddr structure, but if si->family != inaddr->sa_family then we will incorrectly be casting a in6 structure as in4 or vice-versa.
2009-06-08nss_wrapper: fix typo in testsuite.Günther Deschner1-1/+1
Guenther
2009-06-08libsamba-util: Fix soversion.Jelmer Vernooij1-1/+1
2009-06-08Add langinfo.h to the system/locale.hTimur I. Bakeyev2-1/+5
This patch for Samba4. It's not really inspired by any real need, just for the consistency. We define replace/system/locale.h as a generic header, that includes all locale related headers and we are using nl_langinfo at least in Samba3. So, it would be consistent to add yet another locale-related header to the set of locale.h headers. Here is the patch. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08nss_wrapper: add my copyright.Günther Deschner1-0/+1
Guenther
2009-06-08replace: add fallback define for IOV_MAXStefan Metzmacher1-0/+16
This hopefully fixes the build on IRIX. metze
2009-06-08talloc: try to fix the source4 build on AIXStefan Metzmacher1-1/+1
metze
2009-06-08async_sock: try fix the source4 build on FreeBSD, Solaris, SLES8Stefan Metzmacher3-6/+11
metze
2009-06-06lib/tdb/tools/tdbtorture.c: fixed memory leak.Slava Semushin1-0/+2
Found by cppcheck: [lib/tdb/tools/tdbtorture.c:326]: (error) Memory leak: pids
2009-06-06Use data_blob_null instead of data_blob(NULL, 0)Volker Lendecke1-1/+1
2009-06-06Fix an uninitialized variable read in async_connect_sendVolker Lendecke1-5/+5
2009-06-06nss_wrapper: rename nwrap_cache_{re,un}load as per metzes request.Günther Deschner1-10/+10
Guenther
2009-06-06nss_wrapper: add support for loading nss_winbind.so via WINBIND_SO_PATH env.Günther Deschner1-0/+12
Guenther
2009-06-06nss_wrapper: fill in module nwrap_backend.Günther Deschner1-13/+332
Guenther
2009-06-05nss_wrapper: add missing return in nwrap_module_init().Günther Deschner1-0/+1
Guenther
2009-06-05nss_wrapper: add skeleton for module nwrap_backend.Günther Deschner1-0/+159
Guenther
2009-06-05nss_wrapper: add capability to load nss modules.Günther Deschner1-1/+115
Guenther
2009-06-05nss_wrapper: add struct nwrap_backend.Günther Deschner1-85/+320
Guenther
2009-06-05nss_wrapper: add cross checking test to testsuite.Günther Deschner1-0/+90
Guenther
2009-06-05nss_wrapper: add tests for getgrent_r to testsuite.Günther Deschner1-0/+131
Guenther
2009-06-05nss_wrapper: add tests for getpwent_r to testsuite.Günther Deschner1-0/+141
Guenther
2009-06-05nss_wrapper: fix segfault in nwrap_gr_copy_r()Stefan Metzmacher1-3/+8
metze
2009-06-05nss_wrapper: rename test_nwrap_env to test_nwrap_enumeration in testsuite.Günther Deschner1-2/+2
Guenther
2009-06-05nss_wrapper: add more coherency checks for user and group enumeration.Günther Deschner1-0/+8
Guenther
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