summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/cm.c
AgeCommit message (Collapse)AuthorFilesLines
2011-04-12s3-netapi: add libnetapi_get_binding_handle().Günther Deschner1-0/+23
Guenther
2011-03-16s3: Fix Coverity ID 2231, REVERSE_INULLVolker Lendecke1-2/+3
No point in checking for !ctx after dereferencing it Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 16 22:51:52 CET 2011 on sn-devel-104
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider1-0/+1
2010-09-21s3: Remove a global variable in bugfix for bug 7665Volker Lendecke1-7/+10
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20s3-libnetapi: Fix Bug #7665, memory leak in netapi connection manager.Günther Deschner1-30/+65
Guenther
2010-08-05s3-popt: Only include popt-common.h when needed.Andreas Schneider1-0/+1
2010-01-24s3: add libnetapi_set_use_ccache()Volker Lendecke1-0/+4
2009-11-08Revert "s3: Make libnetapi_open_pipe take strings instead of a ↵Volker Lendecke1-8/+3
ndr_interface_table" This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe.
2009-11-08s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_tableVolker Lendecke1-3/+8
2009-11-07s3: get_pipe_name_from_iface -> get_pipe_name_from_syntaxVolker Lendecke1-1/+1
2009-06-16s3-netapi: Fix Bug #6305. Correctly prompt for a password when a username ↵Günther Deschner1-1/+5
was given. When no callback or wrapping has managed to get a password, prompt in the netapi connection manager for a password. Guenther
2009-03-26s3-libnetapi: fix creds in libnetapi_open_ipc_connection().Günther Deschner1-0/+5
Jeremy, this broke with 8dd1faaa2992851f6852ba7ea4498445af5faadd. Not sure if other users broke as well with that change. Guenther
2009-03-17Remove the global "struct cm_cred_struct" and associated calls, makeJeremy Allison1-16/+16
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.
2009-03-12Remove the static "struct client_connection" mess which is part ofJeremy Allison1-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.
2009-02-01cli_get_pipe_name_from_interface does not really need a talloc_ctxVolker Lendecke1-1/+1
2009-01-22Actually complete 3662c2b...Volker Lendecke1-2/+1
2009-01-18libnetapi_open_pipe does not need to return cli_stateVolker Lendecke1-2/+0
The user session key is also available in rpccli->auth->user_session_key Guenther, please check! Thanks, Volker
2009-01-14Remove smbclient globals that bled into clidfs.c. Now we only haveJeremy Allison1-1/+2
the connections list and authentication structures to worry about. Jeremy
2009-01-14Fix build of netapi.Jeremy Allison1-1/+2
Jeremy.
2008-08-14netapi: make libnetapi_open_ipc_connection static.Günther Deschner1-5/+15
Guenther (cherry picked from commit 0259914f8ff04514a8395d8e1af61aadd50c5efb) (This used to be commit 7edc671cc1007ae216e7efdbcdb9cfa1e547dca5)
2008-07-30Fix uninitialized variables.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 1db7e00a5400863fd5dbb81c1a4c6ea6092d0495)
2008-07-21Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idxVolker Lendecke1-39/+37
(This used to be commit 726e56c72fdb685ab5eddefd2fd8b043dc38d6ad)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke1-2/+3
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
2008-04-20Introduce rpc_pipe_np_smb_conn()Volker Lendecke1-1/+1
This abstracts away all references to rpc_pipe_client->cli, the only reference is now in cli_pipe.c. (This used to be commit c56e1c08cef107ff33a34346ceeca3475a102b19)
2008-04-20Remove the pipe_idx variable from rpc_pipe_clientVolker Lendecke1-1/+1
(This used to be commit 4840febcd481563c3d9b2fabc1fe1b2ae5a76cf6)
2008-04-20Add "desthost" to rpc_pipe_clientVolker Lendecke1-1/+1
This reduces the dependency on cli_state (This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
2008-04-13libnetapi: add libnetapi_set_use_kerberosGünther Deschner1-2/+6
Don't unconditionally set the kerberos flag for authentication. Guenther (This used to be commit 15bef5ae413adf278cccc0e547c4b8ccd180eca2)
2008-04-10Add libnetapi_open_pipe, inspired by the cli_cm_ interface.Günther Deschner1-0/+110
Guenther (This used to be commit 87d8fc338f6e6b48691bff3eeebfc00c5d408ff7)
2008-04-10Fix one missing netapi_private header.Günther Deschner1-2/+2
Guenther (This used to be commit d34c3e8ad2b21051162e2a9d65f773c486c43d8b)
2008-04-10Add very basic cli_cm_* based connection handler to libnetapi.Günther Deschner1-0/+75
Guenther (This used to be commit e9e46cfcbe25366121f680a6d81fe08c128bf00a)