summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* nss_wrapper: fix nss_wrapper build for solaris.Günther Deschner2009-06-021-0/+2
| | | | | | Guenther (cherry picked from commit 136b2a3eb21eda28e7a18547751ee20f097e7492) (cherry picked from commit 0677a068dce0bd1cc76fc3ea13322e57b1d1c3af)
* nss_wrapper: remove re-structuring leftovers (unused variables).Günther Deschner2009-06-021-6/+0
| | | | | | Guenther (cherry picked from commit 37e4c92b383397a2c77db7e5d8adf2fa4a24d398) (cherry picked from commit db2fa7179db37d5cb6475006b88ff648636ac602)
* nss_wrapper: support member add and delete for groups in nss_wrapper.pl.Günther Deschner2009-06-021-21/+141
| | | | | | Guenther (cherry picked from commit ebf8df35c9583619a012e85964f2ad5187a199fe) (cherry picked from commit 0f93abf8222672e5f7c09fd0b55337de82e9569f)
* nss_wrapper: split out passwd and group paths in nss_wrapper.pl.Günther Deschner2009-06-021-15/+26
| | | | | | Guenther (cherry picked from commit 7bb9e08d7e75be88a9788563f053794554f680a8) (cherry picked from commit 8bda8295ffc6fa9a9776f821b11075b6bac7a80d)
* nss_wrapper: restructure nwrap calls.Günther Deschner2009-06-021-71/+169
| | | | | | Guenther (cherry picked from commit ec9a0917055d731aa95e2fea2045445f9945b74d) (cherry picked from commit bf255ec2a81f2f44a9ef0379beaec0a51bbfb000)
* Detect tight loop in tdb_find()Jim McDonough2009-05-261-0/+5
| | | | (cherry picked from commit dbd5dd808f14b1df0ed3dabd0553baddad2d186b)
* nsswrapper: implement group_del() in nss_wrapper.pl.Günther Deschner2009-05-261-1/+22
| | | | | | Guenther (cherry picked from commit 3bd360c73de77559593e11301d247fd53c4ce128) (cherry picked from commit 28ed6d144647c4f0181e9a2650cabba91eb56f3e)
* nsswrapper: implement group_add() in nss_wrapper.pl.Günther Deschner2009-05-261-4/+105
| | | | | | Guenther (cherry picked from commit b3cc01fd68e30ebd616897982e0d8befd2a2a7e0) (cherry picked from commit e8c9731d5ffa1503dd695e2ab89450973c8a7acb)
* Ensure documentation matches the tdb_util function usage.Jeremy Allison2009-05-261-2/+2
| | | | | Jeremy. (cherry picked from commit a63e966ce64d262ae9a032c73915a398a5c174f8)
* pm_process():raise level of debug messageMichael Adam2009-04-281-1/+1
| | | | | | Michael (cherry picked from commit 664da577f931dfd47573d3d77a95afb573fba855) (cherry picked from commit caa1f05420191d934c2ea1c2acaa75702c8e5c2e)
* socket_wrapper: fix the build on systems without ipv6 supportStefan Metzmacher2009-04-151-0/+2
| | | | | | metze (cherry picked from commit 74707e8e8e1be2cbaa71fb0442957be2e663cbde) (cherry picked from commit b5faa34596eed3ada7f45db991ef0beb0391ce82)
* socket_wrapper: fix crash bug in swrap_readv/writevStefan Metzmacher2009-04-151-4/+10
| | | | | | metze (cherry picked from commit f20f5ae8e6b9ca5c90441a3083f6904168388fdf) (cherry picked from commit 44576254f8c0d35327cfe8f9928f0efc987b5822)
* s3/popt.h: Fix typo.Karolin Seeger2009-04-151-1/+1
| | | | | | Karolin (cherry picked from commit 8da2fa36b4f4241d7d4cdbe254a2374dd373fe40) (cherry picked from commit ecaca646f91750bc0a9a6f58ff1589197585ebdc)
* Use recv instead of read in read_packet_handlerVolker Lendecke2009-04-151-1/+2
| | | | | This way the socket wrapper pcap file also sees the replies :-) (cherry picked from commit 96943dd9ce1b1c954bffd498989283a500b4ee9d)
* libreplace: use libreplace_SAVE_CPPFLAGS instead of SAVE_CPPFLAGSMichael Adam2009-04-151-2/+2
| | | | | | | | | | | This fixes Samba3's double listing of -I options in CFLAGS, since samba3's configure wraps the call to AC_LIBREPLACE_NETWORK_CHECKS into a SAVE_CPPFLAGS="${CPPFLAGS}" .. CPPFLAGS="${SAVE_CPPFLAGS}" sequence... :-) Michael (cherry picked from commit 33d9f46674a270a0715213c17581deef192826e1) (cherry picked from commit cf43aadee5cd70597d5dc6750bff4486ed768204)
* talloc_array_length: talloc_get_size deals fine with NULLVolker Lendecke2009-04-151-1/+1
| | | | (cherry picked from commit 89cb10430c30c9e59a5305210b7f09346b360c42)
* tevent: change version to 0.9.5 after the ABI has changedStefan Metzmacher2009-04-151-1/+1
| | | | | | metze (cherry picked from commit 7d07266ca26f7069269601043b713a91f1a4693c) (cherry picked from commit c0a0f504e1477648542aae27b8a58d4db4867d84)
* tevent: store the location where a request was finishedStefan Metzmacher2009-04-153-19/+48
| | | | | | | | | | | This is very useful to find bugs. You can use 'p *req' in gdb to show where tevent_req_done(), tevent_req_error() or tevent_req_nomem() was called. metze (cherry picked from commit 9eaf53d98eced9ea70f411b9936b475c42e4d490) (cherry picked from commit 8053941b377d3fd2e58e67f68eecb2551be49c10)
* tevent: use an immediate event as trigger for tevent_queueStefan Metzmacher2009-04-152-42/+60
| | | | | | metze (cherry picked from commit 3a831e46204979550dc6ee7652cea6b8296f10c1) (cherry picked from commit 7fcb16a79681a24ca3b96ec73bc44b43e57c3c8f)
* tevent: use an immediate event fot tevent_req_post()Stefan Metzmacher2009-04-152-19/+13
| | | | | | | | Now tevent_req_post() never fails metze (cherry picked from commit 4bdf299385220988a4fe16f82aab528283204c7f) (cherry picked from commit d88a254c5d2fbdda642d469924411d4d6d5f8422)
* tevent: use TALLOC_FREE() in tevent_req.cStefan Metzmacher2009-04-151-9/+5
| | | | | | metze (cherry picked from commit a78cd2a24b818bc7d843a8e56ffaafc9f6578662) (cherry picked from commit 54af7b9da45dcef881d9fee7c414d363ca6cdab4)
* tevent: add support for immediate eventsStefan Metzmacher2009-04-158-34/+295
| | | | | | | | | | They're like directly triggered timed events, but you can preallocated them and scheduling them will not fail. metze (cherry picked from commit 66886f8966dff8a980a5b9d2daa3fbb20fe5ca8e) (cherry picked from commit de7125980d237e9a8aa126f155bbc84c96bad37e)
* tevent: add tevent_common_loop_wait() helper function and use itStefan Metzmacher2009-04-155-55/+33
| | | | | | | | | tevent_loop_wait should do the same for all backends. It should loop as long as we have pending events. metze (cherry picked from commit 940e61846e97ba62153d5b977b0823f196607743) (cherry picked from commit c742112da583809f47e40f2e4b48713d2e81edda)
* tevent: check signal events first in event_loop_onceStefan Metzmacher2009-04-153-0/+15
| | | | | | | | | We also check for signal events directly before and after the select/epoll calls. metze (cherry picked from commit 0139befb915006d6ec9fec2734057c5c50b3c383) (cherry picked from commit c0bc27fc57260191e35464b63e114163d291d4da)
* tevent: let tevent_loop_once() just run one fd eventStefan Metzmacher2009-04-153-45/+7
| | | | | | | | | | | | This makes the logic much simpler for the callers, and matches the samba3 behavior. If needed we can add performance tunning for tevent_loop_wait() later. metze (cherry picked from commit 3af7db3dce0e5529114f6969e9905c6d4c65dfe8) (cherry picked from commit 1eb7ad106499865713c28847f491aae10f37beb7)
* tevent: change version to 0.9.4 as the ABI has changedStefan Metzmacher2009-04-151-1/+1
| | | | | | metze (cherry picked from commit 868f3f5f32eccdf68590cdfc5c42e1af970410d7) (cherry picked from commit 868cc328b189144c49901692206534c9b2729fbd)
* build: fix detection of netinet/ip.h on FreeBSDTimur2009-04-151-0/+1
| | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit a3d04991ef409591a7c8b9fbb01e024bd5aaa041) (cherry picked from commit 28f233ddc010893f50b45f91ce41deaa537f11d7)
* build: format the header check for netinet/ip.h more nicelyTimur2009-04-151-6/+8
| | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit e8aa7169a6672bd32af6c5580f6e8ec7e99511bc) (cherry picked from commit 46559e7b84d70f7c9e52673365303d0f7863d839)
* Remove some transitional code in writev_sendVolker Lendecke2009-04-151-17/+1
| | | | (cherry picked from commit fc0dfba28f3c6e22b1d4bb19577e735c3db16f1e)
* Remove some unused code from async_req.[ch]Volker Lendecke2009-04-152-51/+0
| | | | (cherry picked from commit 157f0dc5e1385f019a159e996b3a7b5875361101)
* talloc: change version to 1.3.0Stefan Metzmacher2009-04-151-1/+1
| | | | | | metze (cherry picked from commit 752cf03bf7854a4b32b0e1fedc1cb4ecd4474765) (cherry picked from commit ae4bd4116c9c2e85d02f0475aa3a9a4b6d3afc18)
* talloc: add useful talloc_array_length() macroStefan Metzmacher2009-04-151-0/+1
| | | | | | metze (cherry picked from commit 6d4a13241a096d30d37d69a8f7b888a395716316) (cherry picked from commit 759ee49cd9c82ed00ebb0907c7b97e557f032a9c)
* talloc: add TALLOC_FREE()Stefan Metzmacher2009-04-151-0/+2
| | | | | metze (cherry picked from commit c6206e35701a45c0db801593bce4423a0036c82d)
* lib/replace: use AC_TRY_LINK() to verify that getifaddrs() and freeifaddrs() ↵Stefan Metzmacher2009-04-151-1/+1
| | | | | | | | are available metze (cherry picked from commit 099d6f05cdb0800114d026786920a17ef649699f) (cherry picked from commit 5587e0d17aa5fe56337fbede9e3db11fe2b24c88)
* tevent: Fix might be unitialized warningTim Prouty2009-03-121-1/+1
|
* tevent: add tevent_loop_until()Stefan Metzmacher2009-03-122-0/+68
| | | | | | | This is only a hack for samba4 and should not be used in new code. metze
* tevent: add tevent_loop_set_nesting_hook()Stefan Metzmacher2009-03-123-1/+50
| | | | | | | This is an ugly hack to let the s4 server work arround some bugs related to nested events and uid changing. metze
* tevent: don't allow nested tevent_loop_once() anymoreStefan Metzmacher2009-03-123-1/+53
| | | | | | | Incompatible caller should use tevent_loop_allow_nesting() function. metze
* tevent: pass __location__ to tevent_loop_once/wait()Stefan Metzmacher2009-03-126-17/+22
| | | | metze
* tevent: add tevent_set_abort_fn()Stefan Metzmacher2009-03-122-0/+21
| | | | metze
* tevent: add tevent_signal_support()Stefan Metzmacher2009-03-122-0/+10
| | | | | | Not every tevent backend supports signal events. metze
* talloc: add talloc_set_abort_fn()Stefan Metzmacher2009-03-122-4/+33
| | | | metze
* async_sock: fix truncating of the temporary iovec in writev_send/recv()Stefan Metzmacher2009-03-111-1/+1
| | | | | | Volker: please check! metze
* lib/replace: make sure we include <sys/uio.h> before socket_wrapper.hStefan Metzmacher2009-03-112-0/+5
| | | | | | This should fix the build on some hosts. metze
* tevent: add tevent_req_callback_data_void() macroStefan Metzmacher2009-03-101-0/+2
| | | | | | | Callers can use it instead of tevent_req_callback_data() if they use a non talloc private pointer. metze
* tevent: add tevent_req_received() functionStefan Metzmacher2009-03-103-2/+29
| | | | | | | This function can be called as last action of a _recv() function, it destroys the data attached to the tevent_req. metze
* socket_wrapper: wrap readv() and writev()Stefan Metzmacher2009-03-102-7/+137
| | | | metze
* Fix prototype mismatch.Jelmer Vernooij2009-03-091-1/+1
|
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-03-093-17/+93
|\
| * socket_wrapper: try to make ipv6 support more portableStefan Metzmacher2009-03-091-9/+22
| | | | | | | | | | | | The internal structure of in6_addr isn't always the same. metze