diff options
author | Luke Leighton <lkcl@samba.org> | 1999-12-02 19:03:23 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-12-02 19:03:23 +0000 |
commit | 3a2b920ea2e6704b2574f404e1e41c7cfc0f96b2 (patch) | |
tree | 1a8ef991940a67df3cbe1f342770a9667ad62507 /source/rpc_client/cli_use.c | |
parent | 455e17dbb7d451b462004f302f5c68770f17b65e (diff) | |
download | samba-3a2b920ea2e6704b2574f404e1e41c7cfc0f96b2.tar.gz samba-3a2b920ea2e6704b2574f404e1e41c7cfc0f96b2.tar.xz samba-3a2b920ea2e6704b2574f404e1e41c7cfc0f96b2.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.
Diffstat (limited to 'source/rpc_client/cli_use.c')
-rw-r--r-- | source/rpc_client/cli_use.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/source/rpc_client/cli_use.c b/source/rpc_client/cli_use.c index 69e46c081bd..5ae722d6adc 100644 --- a/source/rpc_client/cli_use.c +++ b/source/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) { |