s3:winbindd_cm: make use of cli_tree_connect()
authorStefan Metzmacher <metze@samba.org>
Mon, 31 Oct 2011 16:48:20 +0000 (17:48 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 24 Nov 2011 18:02:32 +0000 (19:02 +0100)
metze

source3/winbindd/winbindd_cm.c

index cfb11039fb0a52ad23e71a9a97ab52aea8567f21..85630502734a0ca872f51ca1c20c1eb70b59a418 100644 (file)
@@ -968,7 +968,7 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain,
 
        winbindd_set_locator_kdc_envs(domain);
 
-       result = cli_tcon_andx(*cli, "IPC$", "IPC", "", 0);
+       result = cli_tree_connect(*cli, "IPC$", "IPC", "", 0);
 
        if (!NT_STATUS_IS_OK(result)) {
                DEBUG(1,("failed tcon_X with %s\n", nt_errstr(result)));