summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_use.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-12-02 19:03:23 +0000
committerLuke Leighton <lkcl@samba.org>1999-12-02 19:03:23 +0000
commit98e28ee14ce7ffe93777315891a6626ac7a0828a (patch)
treeaa4849a6d751ae5a978ed31e125d06c8e4e561c0 /source3/rpc_client/cli_use.c
parent5988d0cdae19d014a5a011de83c48326e82860b6 (diff)
downloadsamba-98e28ee14ce7ffe93777315891a6626ac7a0828a.tar.gz
samba-98e28ee14ce7ffe93777315891a6626ac7a0828a.tar.bz2
samba-98e28ee14ce7ffe93777315891a6626ac7a0828a.zip
cleaning up: removing those horrible references to server list
functions (cli_net_use_addlist()). needed originally because there was no get_dc_any_name() function. (This used to be commit 3a2b920ea2e6704b2574f404e1e41c7cfc0f96b2)
Diffstat (limited to 'source3/rpc_client/cli_use.c')
-rw-r--r--source3/rpc_client/cli_use.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/source3/rpc_client/cli_use.c b/source3/rpc_client/cli_use.c
index 69e46c081b..5ae722d6ad 100644
--- a/source3/rpc_client/cli_use.c
+++ b/source3/rpc_client/cli_use.c
@@ -198,46 +198,6 @@ static struct cli_use *cli_use_get(const char* srv_name,
/****************************************************************************
init client state
****************************************************************************/
-struct cli_state *cli_net_use_addlist(char* servers,
- const struct user_credentials *usr_creds)
-{
- struct cli_use *cli = cli_find(servers, usr_creds);
-
- if (cli != NULL)
- {
- cli->num_users++;
- return cli->cli;
- }
-
- /*
- * allocate
- */
-
- cli = cli_use_get(servers, usr_creds);
-
- if (cli == NULL)
- {
- return NULL;
- }
-
- if (!cli_connect_serverlist(cli->cli, servers))
- {
- DEBUG(0,("cli_net_use_addlist: connection failed\n"));
- cli_use_free(cli);
- return NULL;
- }
-
- cli->cli->ntlmssp_cli_flgs = 0x0;
-
- add_cli_to_array(&num_clis, &clis, cli);
- cli->num_users++;
-
- return cli->cli;
-}
-
-/****************************************************************************
-init client state
-****************************************************************************/
struct cli_state *cli_net_use_add(const char* srv_name,
const struct user_credentials *usr_creds)
{