summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-01-04async libwbclient infrastructureVolker Lendecke1-0/+774
2009-01-04Remove wb_trans_send/recvVolker Lendecke1-143/+0
2009-01-04Move winbindd/winbindd_reqtrans.c to lib/wb_reqtrans.cVolker Lendecke1-0/+685
2009-01-04Convert async_connect to "normal" styleVolker Lendecke1-101/+113
2009-01-04Actually do a non-blocking connect.... :-)Volker Lendecke1-1/+1
2009-01-04Add an async queueing mechanismVolker Lendecke1-0/+78
2009-01-04Add async timeout helpersVolker Lendecke1-0/+42
2009-01-03open_socket_out is always used with SOCK_STREAM, remove argument "type"Volker Lendecke1-9/+3
2009-01-03Fix retval of async_syscall_result_intVolker Lendecke1-1/+1
2009-01-03struct async_req doesn't really need to carry an event_contextVolker Lendecke2-9/+10
2009-01-02Replace some SMB_ASSERTs with NT_STATUS_INTERNAL_ERRORVolker Lendecke1-7/+28
2009-01-02Optimize for the common case that packet.c received exactly one full packetVolker Lendecke1-8/+14
2009-01-02packet.h API: The callback is now responsible to talloc_free() "buf"Volker Lendecke2-35/+46
2009-01-01Fix bug 5913.Volker Lendecke1-1/+1
Never seen this to be a problem, but it doesn't hurt either :-)
2009-01-01Remove two pointless globalsVolker Lendecke2-13/+12
2008-12-31Fix all warnings in source3 with gcc4.3.Jeremy Allison1-4/+30
Jeremy.
2008-12-31Disable the use of splice(2)Volker Lendecke1-1/+1
On a debian lenny installation with a kernel that calls itself 2.6.28, I could repeatably block smbd using splice. According to the output of netstat, the recvq of the TCP connection was full and at the same time according to strace smbd was stuck in a splice syscall trying to read from that TCP connection. We can not protect ourselves from this condition, as nobody will ever notify us that something is broken. So sadly we can't use splice yet at all. Maybe in 2.6.29...
2008-12-31Try to fix recvfile using splice on LinuxVolker Lendecke1-21/+36
According to the splice(2) manpage, one of the file descriptors *must* be a pipe. With this patch I could successfully run splice(2) on a debian lenny installation. Jeremy, please check!
2008-12-31Rename parent_dirname_talloc() to parent_dirname()Volker Lendecke1-2/+2
2008-12-31Remove unused function parent_dirnameVolker Lendecke1-13/+0
2008-12-31Make use of TALLOC_MEMDUP in parent_dirname_talloc()Volker Lendecke1-2/+1
2008-12-31Remove unused function get_numlist()Volker Lendecke1-51/+0
2008-12-30s3:cluster: register the client connection via CTDB_CONTROL_TCP_ADDStefan Metzmacher1-7/+19
This means we correctly pass IPv6 addresses too. (CTDB_CONTROL_TCP_CLIENT was IPv4 only) metze
2008-12-29Add code to test write_data_iov a bitVolker Lendecke1-0/+11
2008-12-29Make write_data use write_data_iovVolker Lendecke1-24/+24
2008-12-29Add write_data_iovVolker Lendecke1-0/+69
2008-12-29Add sys_writevVolker Lendecke1-0/+14
2008-12-29s3:dbwrap: fix dbwrap_store_uint32() to match dbwrap_store_int32()Stefan Metzmacher1-2/+2
All callers expect 0 an success and -1 on error. metze
2008-12-28Make sure share_info.tdb is open before attempting to delete an entrySteven Danneman1-2/+6
2008-12-23Fix use of "time offset" parameter, and add test to make sure I don't break ↵Jelmer Vernooij1-2/+0
it again :-)
2008-12-19Move some bytes from data to text, make use of the ARRAY_SIZE macroVolker Lendecke1-2/+2
Probably pointless, but it doesn't add complexity and it is fun to see bss and data shrink :-)
2008-12-15s3: Use DEBUGADD instead of DEBUG to avoid printing the headerDan Sledz1-2/+3
2008-12-14Remove the global "cmdline_auth_info" from source3/lib/util.cVolker Lendecke2-83/+119
This involves changing all our clients, that's why it's so large.
2008-12-14Move 128 bytes from the data to the text segmentVolker Lendecke1-1/+1
2008-12-14Remove a pointless static variableVolker Lendecke1-1/+1
2008-12-09s3: Refactor getting sec_info from a security_descriptor into separate functionTim Prouty1-0/+27
2008-12-08Simplify async programming a bit with helper routinesVolker Lendecke2-10/+25
Introduce async_req_is_error() and async_req_simple_recv()
2008-12-08Streamline the async_sock API a bitVolker Lendecke1-33/+36
2008-12-05Fix logging to syslogDan Sledz1-1/+1
2008-12-05Fix bug #5928 - Option --version in testparm does not work.Tomasz Krasuski1-1/+1
2008-12-05s3-samr: fix SAMR_FIELD_PASSWORD callers.Günther Deschner1-1/+1
Guenther
2008-12-03s3: Change sockaddr util function names for consistencyTim Prouty2-11/+11
Also eliminates name conflicts with OneFS system libraries
2008-11-28Move cli_trans_oob to lib/util.cVolker Lendecke1-0/+19
Rename it to trans_oob, it will be used in the server routines.
2008-11-15Attempt to fix the buildVolker Lendecke1-1/+1
I have no idea how this could have happened. Probably done a make and make test in a different tree than the one I have done the push from. Sorry. Volker
2008-11-14Make memcache_add_talloc NULL out the source pointerVolker Lendecke2-3/+13
This is an orthogonality measure to make clear this pointer now belongs to the cache. (cherry picked from commit e6080c6e87d6fe3995b121a772bf3f6343fa666f)
2008-11-14Actually finish memcache_add_tallocVolker Lendecke1-1/+36
This fixes a memleak found by Martin Zielinski <mz@seh.de>. Thanks for looking closely! Volker (cherry picked from commit a31a84a078100819809e6d40dbc3df207a50a0b2)
2008-11-14Rename some variables in getpwnam_alloc() for clarityVolker Lendecke1-11/+12
2008-11-14sys_pwnam doesn't return talloced memory, so don't mix up the returned struct.Volker Lendecke1-4/+1
(cherry picked from commit eb99923991960e53bd150ac8f1d818cb746101b4)
2008-11-08Fix a subtle logic bug in the adaption of se_create_child_secdesc(), pass ↵Jeremy Allison1-0/+3
RAW-ACL inheritance tests. Only access masks for SD get/set left to fix. Jeremy.
2008-11-06If we didn't inherit any ACE's the ACE pointer should be NULL.Jeremy Allison1-4/+6
Jeremy.