summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
* s3-libnetapi: fix creds in libnetapi_open_ipc_connection().Günther Deschner2009-03-261-0/+5
| | | | | | | Jeremy, this broke with 8dd1faaa2992851f6852ba7ea4498445af5faadd. Not sure if other users broke as well with that change. Guenther
* s3-net: Fix Bug #6102. NetQueryDisplayInformation could return wrong ↵Günther Deschner2009-03-261-6/+12
| | | | | | information. Guenther
* Avahi disables a timer by tv=NULL in avahi_timeout_update(), do not crashVolker Lendecke2009-03-261-0/+7
|
* wbclient: Fix use of wb_int_trans_send, queue parameter must not be NULLKai Blin2009-03-241-6/+6
|
* Add tevent avahi bindingVolker Lendecke2009-03-231-0/+268
|
* s3-netapi: Fix Coverity #774 (REVERSE_INULL).Günther Deschner2009-03-201-6/+3
| | | | Guenther
* s3-netapi: Fix Coverity #775 (REVERSE_INULL).Günther Deschner2009-03-201-6/+3
| | | | Guenther
* s3-netapi: Fix Coverity #776 (REVERSE_INULL).Günther Deschner2009-03-201-7/+3
| | | | Guenther
* add a versiontest program to print samba_version_string().Michael Adam2009-03-191-0/+26
| | | | | | | This is to allow for testing samba_version_string() without the need to compile any of the larger binaries like smbd or net... Michael
* s3: Fix a free of an uninitialized variable in winbind_get_sid_aliasesDan Sledz2009-03-191-1/+0
|
* s3:lib/util_sock: use sys_recv() instead of sys_read() on socketsStefan Metzmacher2009-03-191-2/+2
| | | | | | This ways the pcap support in socket wrapper sees the received data. metze
* s3: remove POLICY_HND.Günther Deschner2009-03-183-10/+10
| | | | Guenther
* s3-rpc_parse: remove unused BUFFER5 and UNISTR3.Günther Deschner2009-03-181-16/+0
| | | | Guenther
* Remove the global "struct cm_cred_struct" and associated calls, makeJeremy Allison2009-03-172-16/+56
| | | | | | | | | callers pass in a struct user_auth_info * instead. This commit causes smbc_set_credentials() to print out a message telling callers to use smbc_set_credentials_with_fallback() instead, as smbc_set_credentials() has a broken API (no SMBCCTX * pointer). No more global variables used in the connection manager API for client dfs calls. Jeremy.
* s3:events: add support for immediate eventsStefan Metzmacher2009-03-171-9/+15
| | | | metze
* s3:events: make use of tevent_common_loop_wait()Stefan Metzmacher2009-03-171-12/+1
| | | | metze
* Add some appropriate const.Jeremy Allison2009-03-161-8/+8
| | | | Jeremy.
* Remove unused async_req references from wb_reqtrans.cVolker Lendecke2009-03-161-37/+0
|
* Convert wb_trans to tevent_reqVolker Lendecke2009-03-161-63/+49
|
* Remove an unnecessary variableVolker Lendecke2009-03-161-5/+4
|
* Make struct wb_context private to wbclient.cVolker Lendecke2009-03-161-0/+6
|
* Use tevent_wakeup_send in wb_transVolker Lendecke2009-03-161-15/+13
|
* Convert open_socket_out_defer to tevent_reqVolker Lendecke2009-03-161-29/+29
|
* Use tevent_wakeup_send in open_socket_out_deferVolker Lendecke2009-03-161-22/+15
|
* Add queue argument to wb_resp_writeVolker Lendecke2009-03-151-2/+3
|
* Remove the static "struct client_connection" mess which is part ofJeremy Allison2009-03-121-12/+16
| | | | | | | | the problem that stops libsmbclient being thread safe. Subsidiary DFS connections are now hung off a list inside the cli_state struct. Much more to do in order to get libsmbclient to thread safety, but this is a good start. Jeremy.
* s3:events: pass __location__ to event_loop_*()Stefan Metzmacher2009-03-121-3/+3
| | | | metze
* fixed a bug in message handling for code the change notify codeAndrew Tridgell2009-03-101-2/+16
| | | | | | | | | | | | | | | | | The change notify code registered a separate message handler for each tree connect. This registration uses the global messaging context. The messaging code would consider a 2nd registration for the same messaging type as being an 'update' of the handler, rather than a new handler. It also would only call the first handler in the linked list for a given message type when dispatching messages. This patch changes the messaging code to allow for multiple registrations of the same message type, and allow for multiple calls to different messaging handler for one incoming message. This fixes the problem with the test_notify_tcon() test that I recently committed to the S4 smbtorture
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-03-095-308/+227
|\
| * s3:lib: interfaces.c isn't used in the configure tests anymoreStefan Metzmacher2009-03-091-73/+1
| | | | | | | | | | | | | | | | libreplace always provides the getifaddr() function. This fixes the build on sles8. metze
| * fix "dubious escape" warning of Studio compilerBjörn Jacke2009-03-091-1/+1
| |
| * Don't copy the winbindd_request in wb_transVolker Lendecke2009-03-081-30/+2
| |
| * Convert wb_open_pipe to tevent_reqVolker Lendecke2009-03-081-51/+47
| |
| * Convert wb_connect to tevent_reqVolker Lendecke2009-03-081-38/+30
| |
| * Convert wb_int_trans to tevent_reqVolker Lendecke2009-03-081-69/+63
| |
| * Add parameter "queue" to wb_int_trans_sendVolker Lendecke2009-03-081-6/+7
| |
| * Move "struct req_read_state" where it belongsVolker Lendecke2009-03-081-5/+5
| |
| * Convert wb_resp_write to tevent_reqVolker Lendecke2009-03-081-13/+12
| |
| * Convert wb_resp_read to tevent_reqVolker Lendecke2009-03-082-25/+22
| |
| * Convert wb_req_read to tevent_reqVolker Lendecke2009-03-081-17/+16
| |
| * Convert wb_req_write to tevent_reqVolker Lendecke2009-03-082-27/+28
| |
| * Add tevent_req wbc helpersVolker Lendecke2009-03-081-0/+37
| |
| * Add "queue" to writev_sendVolker Lendecke2009-03-081-2/+2
| | | | | | | | | | Unless higher levels queue themselves somehow, writev will *always* be queued. So the queueing should be done at the right level.
| * s3:errormap: add ECANCELED, ERRDOS/ERRbadfid, NT_STATUS_CANCELLED mappingStefan Metzmacher2009-03-061-0/+3
| | | | | | | | | | | | If someone knows a better dos error, please tell me... metze
* | Revert accidental reintroduction of void ** bug.Jelmer Vernooij2009-03-081-1/+1
|/
* s3:dbwrap_ctdb_marshall_add: don't leak the ctdb_rec_data to the outsideMichael Adam2009-03-041-6/+6
| | | | Michael
* s3:smbconf: move smbconf_share_exists checks into backendMichael Adam2009-03-041-4/+9
| | | | Michael
* s3: Remove madvise supportSteven Danneman2009-03-041-7/+0
| | | | | | | | This reverts 193be432. The MADVISE_PROTECT is inherited by all child processes and cannot be unset. The intention of the original patch was to protect the parent process, but allow children to be killed in low memory. Since this isn't possible with the current API, reverting the whole feature.
* s3: Fix a memleak in dbwrap_rbt.Michael Adam2009-03-041-4/+4
| | | | | | | | | | | | | The SMB_MALLOC'ed rbt node data was not free'd on talloc free of the db context. This is a quick fix using talloc instead of malloc for allocation of the node data. Since malloc was originally used for performance reasons, one might want to reverse to malloc and create a talloc destructor that walks the tree and frees all the node data if this talloc approach proves to be too slow.. Michael
* Fix "ignore return" warning.Jeremy Allison2009-03-031-2/+3
| | | | Jeremy.